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

Function make_cursor_open_test

src/gpre/languages/ada.cpp:3291–3305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3289//
3290
3291static void make_cursor_open_test( act_t type, gpre_req* request, int column)
3292{
3293 if (type == ACT_open)
3294 {
3295 printa(column, "if (isc_%do = 1) then", request->req_ident);
3296 printa(column + INDENT, "SQLCODE := -502;");
3297 }
3298 else if (type == ACT_close)
3299 {
3300 printa(column, "if (isc_%do = 0) then", request->req_ident);
3301 printa(column + INDENT, "SQLCODE := -501;");
3302 }
3303
3304 printa(column, "else");
3305}
3306
3307
3308//____________________________________________________________

Callers 2

gen_s_endFunction · 0.85
gen_s_startFunction · 0.85

Calls 1

printaFunction · 0.70

Tested by

no test coverage detected