MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / idxDatabaseError

Function idxDatabaseError

modules/dasSQLITE/sqlite/shell.c:10514–10519  ·  view source on GitHub ↗

** An error associated with database handle db has just occurred. Pass ** the error message to callback function xOut. */

Source from the content-addressed store, hash-verified

10512** the error message to callback function xOut.
10513*/
10514static void idxDatabaseError(
10515 sqlite3 *db, /* Database handle */
10516 char **pzErrmsg /* Write error here */
10517){
10518 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
10519}
10520
10521/*
10522** Prepare an SQL statement.

Callers 3

idxPrepareStmtFunction · 0.85
idxProcessOneTriggerFunction · 0.85
sqlite3_expert_sqlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected