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

Function recoverDbError

modules/dasSQLITE/sqlite/shell.c:13896–13898  ·  view source on GitHub ↗

** Set the recover handle error to the error code and message returned by ** calling sqlite3_errcode() and sqlite3_errmsg(), respectively, on database ** handle db. */

Source from the content-addressed store, hash-verified

13894** handle db.
13895*/
13896static int recoverDbError(sqlite3_recover *p, sqlite3 *db){
13897 return recoverError(p, sqlite3_errcode(db), "%s", sqlite3_errmsg(db));
13898}
13899
13900/*
13901** This function is a no-op if recover handle p already contains an error

Callers 8

recoverPrepareFunction · 0.85
recoverResetFunction · 0.85
recoverFinalizeFunction · 0.85
recoverExecFunction · 0.85
recoverTransferSettingsFunction · 0.85
recoverOpenOutputFunction · 0.85
recoverWriteSchema1Function · 0.85
recoverWriteSchema2Function · 0.85

Calls 1

recoverErrorFunction · 0.85

Tested by

no test coverage detected