| 406 | |
| 407 | |
| 408 | ISC_STATUS API_ROUTINE isc_embed_dsql_insert(ISC_STATUS* user_status, |
| 409 | const SCHAR* cursor_name, |
| 410 | USHORT dialect, XSQLDA* sqlda) |
| 411 | { |
| 412 | /************************************** |
| 413 | * |
| 414 | * i s c _ e m b e d _ d s q l _ i n s e r t |
| 415 | * |
| 416 | ************************************** |
| 417 | * |
| 418 | * Functional description |
| 419 | * Insert next record into a dynamic SQL cursor |
| 420 | * |
| 421 | **************************************/ |
| 422 | ISC_STATUS_ARRAY local_status; |
| 423 | |
| 424 | INIT_DSQL(user_status, local_status); |
| 425 | try |
| 426 | { |
| 427 | // get the symbol table entry |
| 428 | |
| 429 | dsql_stmt* statement = lookup_stmt(cursor_name, cursor_names, NAME_cursor); |
| 430 | |
| 431 | return isc_dsql_insert(user_status, &statement->stmt_handle, dialect, sqlda); |
| 432 | } |
| 433 | catch (const Firebird::Exception& ex) |
| 434 | { |
| 435 | return error(ex); |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | |
| 440 | void API_ROUTINE isc_embed_dsql_length(const UCHAR* string, USHORT* length) |
nothing calls this directly
no test coverage detected