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

Function gen_dyn_insert

src/gpre/languages/rmc.cpp:2156–2172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2154//
2155
2156static void gen_dyn_insert( const act* action)
2157{
2158 TEXT s[MAX_CURSOR_SIZE];
2159
2160 const dyn* statement = (dyn*) action->act_object;
2161
2162 make_name_formatted(s, "ISC-CONST-%s", statement->dyn_cursor_name);
2163
2164 printa(names[COLUMN], true, "CALL \"%s\" USING %s, %s, %d, %s",
2165 ISC_INSERT,
2166 status_vector(action),
2167 s,
2168 gpreGlob.sw_sql_dialect,
2169 statement->dyn_sqlda ? statement->dyn_sqlda : OMITTED);
2170
2171 set_sqlcode(action);
2172}
2173
2174
2175//____________________________________________________________

Callers 1

RMC_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