| 1850 | // |
| 1851 | |
| 1852 | static 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 | //____________________________________________________________ |
no test coverage detected