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

Function gen_dyn_declare

src/gpre/languages/cob.cpp:1852–1864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1850//
1851
1852static void gen_dyn_declare( const act* action)
1853{
1854 TEXT s1[MAX_CURSOR_SIZE], s2[MAX_CURSOR_SIZE];
1855
1856 const dyn* statement = (dyn*) action->act_object;
1857
1858 make_name_formatted(s1, "ISC-CONST-%s", statement->dyn_statement_name);
1859 make_name_formatted(s2, "ISC-CONST-%s", statement->dyn_cursor_name);
1860
1861 printa(names[COLUMN], true, "CALL \"%s\" USING %s, %s%s, %s%s",
1862 ISC_DECLARE, status_vector(action), BY_REF, s1, BY_REF, s2);
1863 set_sqlcode(action);
1864}
1865
1866
1867//____________________________________________________________

Callers 1

COB_actionFunction · 0.70

Calls 4

make_name_formattedFunction · 0.70
printaFunction · 0.70
status_vectorFunction · 0.70
set_sqlcodeFunction · 0.70

Tested by

no test coverage detected