Lines Matching refs:err_code
31586 static SQLITE_NOINLINE void sqlite3ErrorFinish(sqlite3 *db, int err_code){
31588 sqlite3SystemError(db, err_code);
31592 ** Set the current error code to err_code and clear any prior error message.
31593 ** Also set iSysErrno (by calling sqlite3System) if the err_code indicates
31596 SQLITE_PRIVATE void sqlite3Error(sqlite3 *db, int err_code){
31598 db->errCode = err_code;
31599 if( err_code || db->pErr ) sqlite3ErrorFinish(db, err_code);
31626 ** handle "db". The error code is set to "err_code".
31642 ** should be called with err_code set to SQLITE_OK and zFormat set
31645 SQLITE_PRIVATE void sqlite3ErrorWithMsg(sqlite3 *db, int err_code, const char *zFormat, ...){
31647 db->errCode = err_code;
31648 sqlite3SystemError(db, err_code);
31650 sqlite3Error(db, err_code);