____________________________________________________________ Close a dynamic SQL cursor.
| 143 | // Close a dynamic SQL cursor. |
| 144 | // |
| 145 | ISC_STATUS API_ROUTINE isc_embed_dsql_close(ISC_STATUS* user_status, const SCHAR* name) |
| 146 | { |
| 147 | ISC_STATUS_ARRAY local_status; |
| 148 | |
| 149 | INIT_DSQL(user_status, local_status); |
| 150 | try |
| 151 | { |
| 152 | // get the symbol table entry |
| 153 | |
| 154 | dsql_stmt* statement = lookup_stmt(name, cursor_names, NAME_cursor); |
| 155 | |
| 156 | return isc_dsql_free_statement(user_status, &statement->stmt_handle, DSQL_close); |
| 157 | } |
| 158 | catch (const Firebird::Exception& ex) |
| 159 | { |
| 160 | return error(ex); |
| 161 | } |
| 162 | |
| 163 | } |
| 164 | |
| 165 | |
| 166 | //____________________________________________________________ |
nothing calls this directly
no test coverage detected