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

Function gen_dyn_describe

src/gpre/languages/ftn.cpp:1651–1663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1649//
1650
1651static void gen_dyn_describe(const act* action, bool bind_flag)
1652{
1653 TEXT s[MAX_CURSOR_SIZE];
1654
1655 const dyn* statement = (const dyn*) action->act_object;
1656 printa(COLUMN, "CALL %s (isc_status, %s, %s%d%s, %s)",
1657 bind_flag ? ISC_EMBED_DSQL_DESCRIBE_BIND : ISC_EMBED_DSQL_DESCRIBE,
1658 make_name(s, statement->dyn_statement_name),
1659 DSQL_I2CONST_1, gpreGlob.sw_sql_dialect, DSQL_I2CONST_2,
1660 statement->dyn_sqlda);
1661
1662 status_and_stop(action);
1663}
1664
1665
1666//____________________________________________________________

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