MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / cmp_fetch

Function cmp_fetch

src/gpre/cmp.cpp:719–738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

717//
718
719static void cmp_fetch( act* action)
720{
721 gpre_nod* list = (gpre_nod*) action->act_object;
722 if (!list)
723 return;
724
725 if (list->nod_type != nod_list)
726 CPR_error("invalid fetch action");
727
728 gpre_nod** ptr = list->nod_arg;
729 for (const gpre_nod* const* const end = ptr + list->nod_count; ptr < end; ptr++)
730 {
731 ref* var = (ref*) *ptr;
732 if (var->ref_null_value && !var->ref_null)
733 {
734 if (var->ref_friend)
735 var->ref_null = var->ref_friend->ref_null;
736 }
737 }
738}
739
740
741//____________________________________________________________

Callers 1

CMP_compile_requestFunction · 0.85

Calls 1

CPR_errorFunction · 0.85

Tested by

no test coverage detected