____________________________________________________________ Fetch next record from a dynamic SQL cursor
| 365 | // Fetch next record from a dynamic SQL cursor |
| 366 | // |
| 367 | ISC_STATUS API_ROUTINE isc_embed_dsql_fetch(ISC_STATUS* user_status, |
| 368 | const SCHAR* cursor_name, |
| 369 | USHORT dialect, XSQLDA* sqlda) |
| 370 | { |
| 371 | ISC_STATUS_ARRAY local_status; |
| 372 | |
| 373 | INIT_DSQL(user_status, local_status); |
| 374 | try |
| 375 | { |
| 376 | dsql_stmt* statement = lookup_stmt(cursor_name, cursor_names, NAME_cursor); |
| 377 | |
| 378 | return isc_dsql_fetch(user_status, &statement->stmt_handle, dialect, sqlda); |
| 379 | } |
| 380 | catch (const Firebird::Exception& ex) |
| 381 | { |
| 382 | return error(ex); |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | |
| 387 | //____________________________________________________________ |
nothing calls this directly
no test coverage detected