Lines Matching defs:errCode
9723 int errCode; /* Most recent error code (SQLITE_*) */
21164 db->errCode = err_code;
26076 int errcode, /* SQLite error code */
26118 assert( errcode!=SQLITE_OK );
26120 sqlite3_log(errcode,
26125 return errcode;
33280 int errcode, /* SQLite error code */
33291 assert( errcode!=SQLITE_OK );
33295 sqlite3_log(errcode,
33300 return errcode;
38786 ** * The Pager.errCode variable is set to something other than SQLITE_OK.
39057 ** errCode
39059 ** The Pager.errCode variable is only ever used in PAGER_ERROR state. It
39060 ** is set to zero in all other states. In PAGER_ERROR state, Pager.errCode
39098 int errCode; /* One of several kinds of errors */
39309 assert( pPager->errCode==SQLITE_OK );
39314 assert( pPager->errCode==SQLITE_OK );
39321 assert( pPager->errCode==SQLITE_OK );
39333 assert( pPager->errCode==SQLITE_OK );
39352 assert( pPager->errCode==SQLITE_OK );
39364 assert( pPager->errCode==SQLITE_OK );
39377 assert( pPager->errCode!=SQLITE_OK );
39400 "State: %s errCode=%d\n"
39415 , (int)p->errCode
40229 assert( pPager->errCode || pPager->eState!=PAGER_ERROR );
40234 /* If Pager.errCode is set, the contents of the pager cache cannot be
40239 if( pPager->errCode ){
40244 pPager->errCode = SQLITE_OK;
40261 ** is stored in Pager.errCode. While the pager remains in the ERROR state,
40262 ** all major API calls on the Pager will immediately return Pager.errCode.
40275 pPager->errCode==SQLITE_FULL ||
40276 pPager->errCode==SQLITE_OK ||
40277 (pPager->errCode & 0xff)==SQLITE_IOERR
40280 pPager->errCode = rc;
42219 /* pPager->errCode = 0; */
42651 if( NEVER(pPager->errCode) ) return SQLITE_OK;
43195 errCode) ){ return pPager->errCode; }
43466 if( pPager->errCode!=SQLITE_OK ){
43467 rc = pPager->errCode;
43620 if( NEVER(pPager->errCode) ) return pPager->errCode;
43695 if( pPager->errCode ) return pPager->errCode;
43782 if( NEVER(pPager->errCode) ) return pPager->errCode;
44215 if( NEVER(pPager->errCode) ) return pPager->errCode;
44408 if( NEVER(pPager->errCode) ) return pPager->errCode;
44448 ** it returns Pager.errCode immediately. No work is performed in this case.
44476 if( pPager->eState==PAGER_ERROR ) return pPager->errCode;
44492 pPager->errCode = SQLITE_ABORT;
44555 a[5] = pPager->errCode;
44687 int rc = pPager->errCode; /* Return code */
52657 ** code to errCode for every cursor on BtShared that pBtree
52672 SQLITE_PRIVATE void sqlite3BtreeTripAllCursors(Btree *pBtree, int errCode){
52680 p->skipNext = errCode;
61858 db->errCode = rc;
63062 SQLITE_API void sqlite3_result_error_code(sqlite3_context *pCtx, int errCode){
63063 pCtx->isError = errCode;
63065 sqlite3VdbeMemSetStr(&pCtx->s, sqlite3ErrStr(errCode), -1,
63211 db->errCode = rc;
71596 db->errCode = rc;
91106 int (*errcode)(sqlite3*db);
91317 #define sqlite3_errcode sqlite3_api->errcode
93758 rc = db->errCode;
99292 db->errCode = SQLITE_NOMEM;
99308 db->errCode = res.rc; /* Assume 32-bit assignment is atomic */
99321 db->errCode = SQLITE_NOMEM;
114063 z = sqlite3ErrStr(db->errCode);
114101 sqlite3ValueSetStr(db->pErr, -1, sqlite3ErrStr(db->errCode),
114128 return db->errCode & db->errMask;
114137 return db->errCode;