| 1830 | // |
| 1831 | |
| 1832 | static 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 | //____________________________________________________________ |
no test coverage detected