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

Function gen_loop

src/gpre/obj_cxx.cpp:2542–2558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2540//
2541
2542static void gen_loop( const act* action, int column)
2543{
2544 TEXT name[MAX_REF_SIZE];
2545
2546 gen_s_start(action, column);
2547 const gpre_req* request = action->act_request;
2548 const gpre_port* port = request->req_primary;
2549 printa(column, "if (!SQLCODE) ");
2550 column += INDENT;
2551 begin(column);
2552 gen_receive(action, column, port);
2553 gen_name(name, port->por_references, true);
2554 printa(column, "if (!SQLCODE && !%s)", name);
2555 printa(column + INDENT, "SQLCODE = 100;");
2556 endp(column);
2557 column -= INDENT;
2558}
2559
2560
2561//____________________________________________________________

Callers 1

OBJ_CXX_actionFunction · 0.70

Calls 6

gen_s_startFunction · 0.70
printaFunction · 0.70
beginFunction · 0.70
gen_receiveFunction · 0.70
gen_nameFunction · 0.70
endpFunction · 0.70

Tested by

no test coverage detected