Lines Matching refs:err_code
34707 static SQLITE_NOINLINE void sqlite3ErrorFinish(sqlite3 *db, int err_code){
34709 sqlite3SystemError(db, err_code);
34713 ** Set the current error code to err_code and clear any prior error message.
34714 ** Also set iSysErrno (by calling sqlite3System) if the err_code indicates
34717 SQLITE_PRIVATE void sqlite3Error(sqlite3 *db, int err_code){
34719 db->errCode = err_code;
34720 if( err_code || db->pErr ){
34721 sqlite3ErrorFinish(db, err_code);
34769 ** handle "db". The error code is set to "err_code".
34776 ** should be called with err_code set to SQLITE_OK and zFormat set
34779 SQLITE_PRIVATE void sqlite3ErrorWithMsg(sqlite3 *db, int err_code, const char *zFormat, ...){
34781 db->errCode = err_code;
34782 sqlite3SystemError(db, err_code);
34784 sqlite3Error(db, err_code);