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

Function gen_s_end

src/gpre/languages/pas.cpp:2643–2665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2641//
2642
2643static void gen_s_end( const act* action, int column)
2644{
2645 if (action->act_error)
2646 begin(column);
2647
2648 const gpre_req* request = action->act_request;
2649
2650 if (action->act_type == ACT_close)
2651 column = gen_cursor_close(action, request, column);
2652
2653 printa(column, "GDS__UNWIND_REQUEST (%s, %s, %s);",
2654 status_vector(action), request->req_handle, request->req_request_level);
2655
2656 if (action->act_type == ACT_close)
2657 {
2658 endp(column);
2659 column -= INDENT;
2660 ends(column);
2661 column -= INDENT;
2662 }
2663
2664 set_sqlcode(action, column);
2665}
2666
2667
2668//____________________________________________________________

Callers 1

PAS_actionFunction · 0.70

Calls 7

endsFunction · 0.85
beginFunction · 0.70
gen_cursor_closeFunction · 0.70
printaFunction · 0.70
status_vectorFunction · 0.70
endpFunction · 0.70
set_sqlcodeFunction · 0.70

Tested by

no test coverage detected