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

Function gen_cursor_close

src/gpre/languages/rmc.cpp:1600–1610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1598//
1599
1600static void gen_cursor_close( const act* action, const gpre_req* request)
1601{
1602
1603 printa(names[COLUMN], false, "IF %s%dS NOT = 0 THEN",
1604 names[isc_a_pos], request->req_ident);
1605 printa(names[COLUMN], true, "CALL \"%s\" USING %s, %s%dS, %d",
1606 ISC_DSQL_FREE,
1607 status_vector(action),
1608 names[isc_a_pos], request->req_ident, 2);
1609 printa(names[COLUMN], false, "IF %s(2) = 0 THEN", names[isc_status_pos]);
1610}
1611
1612
1613//____________________________________________________________

Callers 2

gen_blob_closeFunction · 0.70
gen_s_endFunction · 0.70

Calls 2

printaFunction · 0.70
status_vectorFunction · 0.70

Tested by

no test coverage detected