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

Function gen_dyn_insert

src/gpre/languages/ftn.cpp:1832–1854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1830//
1831
1832static void gen_dyn_insert(const act* action)
1833{
1834 const dyn* statement = (const dyn*) action->act_object;
1835
1836 const TEXT* sqlda = statement->dyn_sqlda;
1837#ifdef HPUX
1838 TEXT s2[64];
1839 if (sqlda)
1840 {
1841 sprintf(s2, "isc_baddress (%s)", sqlda);
1842 sqlda = s2;
1843 }
1844#endif
1845
1846 TEXT s1[MAX_CURSOR_SIZE];
1847 printa(COLUMN, "%s (isc_status, %s, %s%d%s, %s)",
1848 ISC_EMBED_DSQL_INSERT,
1849 make_name(s1, statement->dyn_cursor_name),
1850 DSQL_I2CONST_1, gpreGlob.sw_sql_dialect, DSQL_I2CONST_2,
1851 sqlda ? sqlda : NULL_SQLDA);
1852
1853 status_and_stop(action);
1854}
1855
1856
1857//____________________________________________________________

Callers 1

FTN_actionFunction · 0.70

Calls 3

status_and_stopFunction · 0.85
printaFunction · 0.70
make_nameFunction · 0.70

Tested by

no test coverage detected