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

Function gen_blob_for

src/gpre/obj_cxx.cpp:987–1002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

985//
986
987static void gen_blob_for( const act* action, USHORT column)
988{
989 PAT args;
990 const TEXT* pattern1 = "%IFif (!(%S1->getState() & Firebird::IStatus::STATE_ERRORS)) {\n\
991%ENwhile (1)\n\
992 {";
993
994 gen_blob_open(action, column);
995 args.pat_condition = (action->act_error != NULL);
996 args.pat_string1 = global_status_name;
997 PATTERN_expand(column, pattern1, &args);
998 column += INDENT;
999 gen_get_segment(action, column);
1000 printa(column, "if (fbIStatus == Firebird::IStatus::RESULT_ERROR || "
1001 "fbIStatus == Firebird::IStatus::RESULT_NO_DATA) break;");
1002}
1003
1004
1005//____________________________________________________________

Callers 1

OBJ_CXX_actionFunction · 0.70

Calls 4

PATTERN_expandFunction · 0.85
gen_blob_openFunction · 0.70
gen_get_segmentFunction · 0.70
printaFunction · 0.70

Tested by

no test coverage detected