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

Function API_ROUTINE isc_embed_dsql_insert

src/yvalve/user_dsql.cpp:408–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406
407
408ISC_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
440void API_ROUTINE isc_embed_dsql_length(const UCHAR* string, USHORT* length)

Callers

nothing calls this directly

Calls 3

INIT_DSQLFunction · 0.85
lookup_stmtFunction · 0.85
errorFunction · 0.70

Tested by

no test coverage detected