MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / API_ROUTINE isc_embed_dsql_fetch

Function API_ROUTINE isc_embed_dsql_fetch

src/yvalve/user_dsql.cpp:367–384  ·  view source on GitHub ↗

____________________________________________________________ Fetch next record from a dynamic SQL cursor

Source from the content-addressed store, hash-verified

365// Fetch next record from a dynamic SQL cursor
366//
367ISC_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//____________________________________________________________

Callers

nothing calls this directly

Calls 3

INIT_DSQLFunction · 0.85
lookup_stmtFunction · 0.85
errorFunction · 0.70

Tested by

no test coverage detected