Lines Matching refs:SQLITE_OK
611 #define SQLITE_OK 0 /* Successful result */ macro
10840 #define sqlite3_mutex_try(X) SQLITE_OK
10845 #define sqlite3MutexInit() SQLITE_OK
13140 # define sqlite3FaultSim(X) SQLITE_OK
13356 # define sqlite3AuthCheck(a,b,c,d,e) SQLITE_OK
13561 # define sqlite3VtabSync(X,Y) SQLITE_OK
13568 # define sqlite3VtabSavepoint(X, Y, Z) SQLITE_OK
14992 #define sqlite3VdbeMemExpandBlob(x) SQLITE_OK
14993 #define ExpandBlob(P) SQLITE_OK
15134 return SQLITE_OK; in sqlite3_status64()
15160 int rc = SQLITE_OK; /* Return code */ in sqlite3_db_status()
15848 *pRc = SQLITE_OK; in localtimeOffset()
15920 if( rc==SQLITE_OK ){ in parseModifier()
16528 int rc = SQLITE_OK; in sqlite3OsClose()
16636 return SQLITE_OK; in sqlite3OsFetch()
16639 return SQLITE_OK; in sqlite3OsUnfetch()
16661 assert( rc==SQLITE_OK || pFile->pMethods==0 ); in sqlite3OsOpen()
16738 if( rc!=SQLITE_OK ){ in sqlite3OsOpenMalloc()
16747 int rc = SQLITE_OK; in sqlite3OsCloseFree()
16845 return SQLITE_OK; in sqlite3_vfs_register()
16858 return SQLITE_OK; in sqlite3_vfs_unregister()
16986 static int sqlite3MemInit(void *NotUsed){ return SQLITE_OK; } in sqlite3MemInit()
17250 return SQLITE_OK; in sqlite3MemInit()
17275 return SQLITE_OK; in sqlite3MemInit()
17504 return SQLITE_OK; in sqlite3MemInit()
18409 return SQLITE_OK; in memsys3Init()
19029 return SQLITE_OK; in memsys5Init()
19138 int rc = SQLITE_OK; in sqlite3MutexInit()
19172 int rc = SQLITE_OK; in sqlite3MutexEnd()
19227 int rc = SQLITE_OK; in sqlite3_mutex_try()
19299 static int noopMutexInit(void){ return SQLITE_OK; } in noopMutexInit()
19300 static int noopMutexEnd(void){ return SQLITE_OK; } in noopMutexEnd()
19309 return SQLITE_OK; in noopMutexTry()
19362 static int debugMutexInit(void){ return SQLITE_OK; } in debugMutexInit()
19363 static int debugMutexEnd(void){ return SQLITE_OK; } in debugMutexEnd()
19433 return SQLITE_OK; in debugMutexTry()
19564 static int pthreadMutexInit(void){ return SQLITE_OK; } in pthreadMutexInit()
19565 static int pthreadMutexEnd(void){ return SQLITE_OK; } in pthreadMutexEnd()
19762 rc = SQLITE_OK; in pthreadMutexTry()
19767 rc = SQLITE_OK; in pthreadMutexTry()
19780 rc = SQLITE_OK; in pthreadMutexTry()
19787 if( rc==SQLITE_OK && p->trace ){ in pthreadMutexTry()
20262 return SQLITE_OK;
20277 return SQLITE_OK;
20450 rc = SQLITE_OK;
20629 return SQLITE_OK;
20716 if( rc!=SQLITE_OK ) memset(&mem0, 0, sizeof(mem0));
22708 return SQLITE_OK;
22719 rc = SQLITE_OK;
22721 rc = pthread_join(p->tid, ppOut) ? SQLITE_ERROR : SQLITE_OK;
22797 return SQLITE_OK;
22822 return (rc==WAIT_OBJECT_0) ? SQLITE_OK : SQLITE_ERROR;
22865 return SQLITE_OK;
22888 return SQLITE_OK;
23126 if( rc!=SQLITE_OK ){
23227 return SQLITE_OK;
23240 int rc = SQLITE_OK;
23257 if( rc==SQLITE_OK ){
23474 return xCallback ? xCallback(iTest) : SQLITE_OK;
25406 #define IS_LOCK_ERROR(x) ((x != SQLITE_OK) && (x != SQLITE_BUSY))
25934 rc = SQLITE_OK;
25949 rc = SQLITE_OK;
26181 rc = SQLITE_OK;
26213 return SQLITE_OK;
26770 return SQLITE_OK;
26835 int rc = SQLITE_OK;
26984 int rc = SQLITE_OK;
27003 return SQLITE_OK;
27074 assert( rc==SQLITE_OK );
27088 if( unixFileLock(pFile, &lock) && rc==SQLITE_OK ){
27141 if( rc==SQLITE_OK
27152 if( rc==SQLITE_OK ){
27163 rc==SQLITE_OK ? "ok" : "failed"));
27197 int rc = SQLITE_OK;
27206 return SQLITE_OK;
27346 if( rc==SQLITE_OK ) pFile->eFileLock = eFileLock;
27408 return SQLITE_OK;
27415 int rc = SQLITE_OK;
27462 return SQLITE_OK;
27466 return SQLITE_OK;
27470 return SQLITE_OK;
27522 int rc = SQLITE_OK;
27575 int rc = SQLITE_OK;
27589 return SQLITE_OK;
27634 return SQLITE_OK;
27642 return SQLITE_OK;
27661 return SQLITE_OK;
27668 int rc = SQLITE_OK;
27717 int rc = SQLITE_OK;
27761 rc = SQLITE_OK;
27799 int rc = SQLITE_OK;
27808 return SQLITE_OK;
27825 rc==SQLITE_OK ? "ok" : "failed"));
27852 return SQLITE_OK;
27858 return SQLITE_OK;
27864 return SQLITE_OK;
27869 return SQLITE_OK;
27877 int rc = SQLITE_OK;
27909 int rc = SQLITE_OK;
27978 int rc = SQLITE_OK;
27984 rc = SQLITE_OK;
28020 return SQLITE_OK;
28026 return SQLITE_OK;
28039 return SQLITE_OK;
28055 return SQLITE_OK;
28140 return SQLITE_OK;
28151 int rc = SQLITE_OK;
28162 return SQLITE_OK;
28176 if( SQLITE_OK==lrc ){
28221 int rc = SQLITE_OK;
28238 return SQLITE_OK;
28325 } else if( lrc1 != SQLITE_OK ) {
28358 int failed2 = SQLITE_OK;
28380 if( rc==SQLITE_OK ){
28391 rc==SQLITE_OK ? "ok" : "failed"));
28403 int rc = SQLITE_OK;
28419 return SQLITE_OK;
28447 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1) ){
28455 if( rc==SQLITE_OK && pFile->eFileLock>=PENDING_LOCK ){
28458 if( rc==SQLITE_OK && pFile->eFileLock>=RESERVED_LOCK && context->reserved ){
28464 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1)){
28468 if( rc==SQLITE_OK && eFileLock==NO_LOCK ){
28488 if( rc==SQLITE_OK ){
28498 if( rc==SQLITE_OK ) pFile->eFileLock = eFileLock;
28506 int rc = SQLITE_OK;
28665 return SQLITE_OK;
28678 return SQLITE_OK;
28800 return SQLITE_OK;
28829 return SQLITE_OK;
28918 rc = SQLITE_OK;
28993 return (fd>=0?SQLITE_OK:unixLogError(SQLITE_CANTOPEN_BKPT, "open", zDirname));
29046 if( rc==SQLITE_OK && dirfd>=0 ){
29050 rc = SQLITE_OK;
29103 return SQLITE_OK;
29131 return SQLITE_OK;
29212 return SQLITE_OK;
29242 return SQLITE_OK;
29246 return SQLITE_OK;
29250 return SQLITE_OK;
29254 return SQLITE_OK;
29265 return SQLITE_OK;
29269 return SQLITE_OK;
29273 return SQLITE_OK;
29281 return SQLITE_OK;
29285 return SQLITE_OK;
29290 int rc = SQLITE_OK;
29313 return SQLITE_OK;
29560 int rc = SQLITE_OK; /* Result code form fcntl() */
29583 rc = (rc!=(-1)) ? SQLITE_OK : SQLITE_BUSY;
29592 if( rc==SQLITE_OK ){
29793 rc = SQLITE_OK;
29794 if( unixShmSystemLock(pDbFd, F_WRLCK, UNIX_SHM_DMS, 1)==SQLITE_OK ){
29799 if( rc==SQLITE_OK ){
29826 return SQLITE_OK;
29865 int rc = SQLITE_OK;
29872 if( rc!=SQLITE_OK ) return rc;
29979 if( pShmNode->isReadonly && rc==SQLITE_OK ) rc = SQLITE_READONLY;
30002 int rc = SQLITE_OK; /* Result code */
30034 rc = SQLITE_OK;
30038 if( rc==SQLITE_OK ){
30058 if( rc==SQLITE_OK ){
30062 rc = SQLITE_OK;
30067 if( rc==SQLITE_OK ){
30084 if( rc==SQLITE_OK ){
30086 if( rc==SQLITE_OK ){
30130 if( p==0 ) return SQLITE_OK;
30160 return SQLITE_OK;
30263 unixLogError(SQLITE_OK, zErr, pFd->zPath);
30295 if( pFd->nFetchOut>0 ) return SQLITE_OK;
30300 if( rc!=SQLITE_OK ){
30317 return SQLITE_OK;
30343 if( rc!=SQLITE_OK ) return rc;
30351 return SQLITE_OK;
30389 return SQLITE_OK;
30703 int rc = SQLITE_OK;
30764 if( rc!=SQLITE_OK ){
30807 if( rc!=SQLITE_OK ){
30841 if( (rc==SQLITE_OK) && (pNew->pInode->pSem==NULL) ){
30860 if( rc!=SQLITE_OK ){
30867 if( rc!=SQLITE_OK ){
30947 return SQLITE_OK;
31045 int rc = SQLITE_OK; /* Return Code */
31069 if( nDb==0 || zPath[nDb]!='-' ) return SQLITE_OK;
31127 int rc = SQLITE_OK; /* Function Return Code */
31218 if( rc!=SQLITE_OK ){
31243 if( rc!=SQLITE_OK ){
31342 if( rc==SQLITE_OK ){
31344 if( rc!=SQLITE_OK ){
31361 if( rc!=SQLITE_OK ){
31377 int rc = SQLITE_OK;
31396 if( rc==SQLITE_OK ){
31407 rc = SQLITE_OK;
31454 return SQLITE_OK;
31495 return SQLITE_OK;
31653 int rc = SQLITE_OK;
31925 return SQLITE_OK;
31978 int rc = SQLITE_OK;
32003 if( proxyCreateLockPath(path) == SQLITE_OK ){
32042 if( rc==SQLITE_OK ){
32044 return SQLITE_OK;
32092 return SQLITE_OK;
32171 int rc = SQLITE_OK;
32226 rc = SQLITE_OK;
32250 return SQLITE_OK;
32258 int rc = SQLITE_OK;
32275 if( rc!=SQLITE_OK ){
32357 if( rc==SQLITE_OK ){
32376 if( rc==SQLITE_OK && createConch ){
32408 if( rc==SQLITE_OK && pFile->openFlags ){
32423 if( rc==SQLITE_OK && !pCtx->lockProxy ){
32426 if( rc!=SQLITE_OK && rc!=SQLITE_NOMEM && tryOldLockPath ){
32435 if( rc==SQLITE_OK ){
32446 if( rc==SQLITE_OK ){
32458 rc==SQLITE_OK?"ok":"failed"));
32469 int rc = SQLITE_OK; /* Subroutine return code */
32483 (rc==SQLITE_OK ? "ok" : "failed")));
32528 return SQLITE_OK;
32538 int rc = SQLITE_OK;
32547 return SQLITE_OK;
32591 return SQLITE_OK;
32606 int rc = SQLITE_OK;
32628 if( rc==SQLITE_OK ){
32648 rc = SQLITE_OK;
32652 if( rc==SQLITE_OK && lockPath ){
32656 if( rc==SQLITE_OK ){
32662 if( rc==SQLITE_OK ){
32680 (rc==SQLITE_OK ? "ok" : "failed")));
32704 return SQLITE_OK;
32708 int rc = SQLITE_OK;
32719 rc = SQLITE_OK;
32730 rc = SQLITE_OK;
32765 if( rc==SQLITE_OK ){
32804 if( rc==SQLITE_OK ){
32828 if( rc==SQLITE_OK ){
32850 int rc = SQLITE_OK;
32878 return SQLITE_OK;
32995 return SQLITE_OK;
33006 return SQLITE_OK;
34326 rc = SQLITE_OK;
34341 rc = SQLITE_OK;
34399 int rc = SQLITE_OK;
34463 assert( rc!=SQLITE_OK || winMemGetHeap()!=NULL );
34464 assert( rc!=SQLITE_OK || winMemGetOwned() );
34465 assert( rc!=SQLITE_OK || sqlite3_memory_used()==0 );
34756 return SQLITE_OK;
34988 return SQLITE_OK;
35101 assert( errcode!=SQLITE_OK );
35338 return SQLITE_OK;
35704 return rc ? SQLITE_OK
35743 return SQLITE_OK;
35787 return SQLITE_OK;
35821 return SQLITE_OK;
35897 return SQLITE_OK;
35905 int rc = SQLITE_OK; /* Return code for this function */
36008 return SQLITE_OK;
36031 return SQLITE_OK;
36047 int rc = SQLITE_OK;
36206 int rc = SQLITE_OK; /* Return code from subroutines */
36223 return SQLITE_OK;
36325 rc = SQLITE_OK;
36365 return SQLITE_OK;
36382 int rc = SQLITE_OK;
36443 return SQLITE_OK;
36448 return SQLITE_OK;
36453 return SQLITE_OK;
36459 if( rc==SQLITE_OK ){
36471 return SQLITE_OK;
36476 return SQLITE_OK;
36481 return SQLITE_OK;
36486 return SQLITE_OK;
36501 return SQLITE_OK;
36511 return SQLITE_OK;
36517 if( rc==SQLITE_OK ){
36526 int rc = SQLITE_OK;
36718 rc = SQLITE_OK;
36844 if( SQLITE_OK!=rc ){
36851 if( winShmSystemLock(pShmNode, _SHM_WRLCK, WIN_SHM_DMS, 1)==SQLITE_OK ){
36853 if( rc!=SQLITE_OK ){
36858 if( rc==SQLITE_OK ){
36885 return SQLITE_OK;
36912 if( p==0 ) return SQLITE_OK;
36936 return SQLITE_OK;
36952 int rc = SQLITE_OK; /* Result code */
36980 rc = SQLITE_OK;
36984 if( rc==SQLITE_OK ){
37004 if( rc==SQLITE_OK ){
37008 rc = SQLITE_OK;
37013 if( rc==SQLITE_OK ){
37030 if( rc==SQLITE_OK ){
37032 if( rc==SQLITE_OK ){
37089 int rc = SQLITE_OK;
37093 if( rc!=SQLITE_OK ) return rc;
37113 if( rc!=SQLITE_OK ){
37128 if( rc!=SQLITE_OK ){
37250 return SQLITE_OK;
37277 if( pFd->nFetchOut>0 ) return SQLITE_OK;
37323 return SQLITE_OK;
37341 return SQLITE_OK;
37350 return SQLITE_OK;
37379 if( rc!=SQLITE_OK ){
37394 return SQLITE_OK;
37437 return SQLITE_OK;
37768 return SQLITE_OK;
37829 int rc = SQLITE_OK; /* Function Return Code */
37894 if( rc!=SQLITE_OK ){
38042 && (rc = winceCreateLock(zName, pFile))!=SQLITE_OK
38151 rc = SQLITE_OK; /* Deleted OK. */
38179 rc = SQLITE_OK; /* Deleted OK. */
38273 return SQLITE_OK;
38389 return SQLITE_OK;
38408 return SQLITE_OK;
38438 return SQLITE_OK;
38499 return SQLITE_OK;
38521 if( winFullPathname(pVfs, zFilename, nFull, zFull)!=SQLITE_OK ){
38701 return SQLITE_OK;
38829 return SQLITE_OK;
38839 return SQLITE_OK;
39011 if( p==0 ) return SQLITE_OK;
39026 return SQLITE_OK;
39042 if( p->u.aHash[h]==i ) return SQLITE_OK;
39071 return SQLITE_OK;
39460 return SQLITE_OK;
39556 if( rc!=SQLITE_OK && rc!=SQLITE_BUSY ){
39561 return *ppPage==0 ? SQLITE_NOMEM : SQLITE_OK;
40464 return SQLITE_OK;
42455 # define pagerOpenWalIfPresent(z) SQLITE_OK
42456 # define pagerBeginReadTransaction(z) SQLITE_OK
42520 assert( pPager->errCode==SQLITE_OK );
42525 assert( pPager->errCode==SQLITE_OK );
42532 assert( pPager->errCode==SQLITE_OK );
42544 assert( pPager->errCode==SQLITE_OK );
42563 assert( pPager->errCode==SQLITE_OK );
42575 assert( pPager->errCode==SQLITE_OK );
42588 assert( pPager->errCode!=SQLITE_OK );
42688 if( rc==SQLITE_OK ){
42720 int rc = SQLITE_OK;
42727 rc = pPager->noLock ? SQLITE_OK : sqlite3OsUnlock(pPager->fd, eLock);
42747 int rc = SQLITE_OK;
42751 rc = pPager->noLock ? SQLITE_OK : sqlite3OsLock(pPager->fd, eLock);
42752 if( rc==SQLITE_OK && (pPager->eLock!=UNKNOWN_LOCK||eLock==EXCLUSIVE_LOCK) ){
42878 if( SQLITE_OK!=(rc = sqlite3OsFileSize(pJrnl, &szJ))
42880 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-16, &len))
42883 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-12, &cksum))
42884 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, aMagic, 8, szJ-8))
42886 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, zMaster, len, szJ-16-len))
42905 return SQLITE_OK;
42957 int rc = SQLITE_OK; /* Return code */
42969 if( rc==SQLITE_OK && !pPager->noSync ){
42979 if( rc==SQLITE_OK && iLimit>0 ){
42982 if( rc==SQLITE_OK && sz>iLimit ){
43006 int rc = SQLITE_OK; /* Return code */
43096 for(nWrite=0; rc==SQLITE_OK&&nWrite<JOURNAL_HDR_SZ(pPager); nWrite+=nHeader){
43165 if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+8, pNRec))
43166 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+12, &pPager->cksumInit))
43167 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+16, pDbSize))
43177 if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+20, &iSectorSize))
43178 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+24, &iPageSize))
43213 testcase( rc!=SQLITE_OK );
43262 return SQLITE_OK;
43304 if( SQLITE_OK==(rc = sqlite3OsFileSize(pPager->jfd, &jrnlSize))
43355 int rc = SQLITE_OK; /* Result code */
43362 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
43427 if( rc!=SQLITE_OK && pPager->eState==PAGER_ERROR ){
43450 pPager->errCode = SQLITE_OK;
43480 assert( rc==SQLITE_OK || !MEMDB );
43483 pPager->errCode==SQLITE_OK ||
43549 int rc = SQLITE_OK; /* Error code from journal finalization operation */
43550 int rc2 = SQLITE_OK; /* Error code from db file unlock operation */
43568 return SQLITE_OK;
43582 rc = SQLITE_OK;
43585 if( rc==SQLITE_OK && pPager->fullSync ){
43641 assert( rc2==SQLITE_OK );
43642 }else if( rc==SQLITE_OK && bCommit && pPager->dbFileSize>pPager->dbSize ){
43653 if( rc==SQLITE_OK && bCommit && isOpen(pPager->fd) ){
43655 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
43667 return (rc==SQLITE_OK?rc2:rc);
43823 if( rc!=SQLITE_OK ) return rc;
43825 if( rc!=SQLITE_OK ) return rc;
43838 return SQLITE_OK;
43851 if( pDone && (rc = sqlite3BitvecSet(pDone, pgno))!=SQLITE_OK ){
43952 if( rc!=SQLITE_OK ) return rc;
44070 if( rc!=SQLITE_OK ) goto delmaster_out;
44078 if( rc!=SQLITE_OK ) goto delmaster_out;
44087 if( rc!=SQLITE_OK ) goto delmaster_out;
44094 if( rc!=SQLITE_OK ){
44105 if( rc!=SQLITE_OK ){
44111 if( rc!=SQLITE_OK ){
44159 int rc = SQLITE_OK;
44172 if( rc==SQLITE_OK && currentSize!=newSize ){
44182 if( rc==SQLITE_OK ){
44318 if( rc!=SQLITE_OK ){
44335 if( rc==SQLITE_OK && zMaster[0] ){
44339 if( rc!=SQLITE_OK || !res ){
44356 if( rc!=SQLITE_OK ){
44358 rc = SQLITE_OK;
44397 if( rc!=SQLITE_OK ){
44412 if( rc==SQLITE_OK ){
44424 rc = SQLITE_OK;
44463 if( rc==SQLITE_OK ){
44466 testcase( rc!=SQLITE_OK );
44468 if( rc==SQLITE_OK
44473 if( rc==SQLITE_OK ){
44475 testcase( rc!=SQLITE_OK );
44477 if( rc==SQLITE_OK && zMaster[0] && res ){
44482 testcase( rc!=SQLITE_OK );
44512 int rc = SQLITE_OK; /* Return code */
44528 rc = SQLITE_OK;
44599 int rc = SQLITE_OK;
44611 if( rc==SQLITE_OK ){
44614 if( rc==SQLITE_OK ){
44651 while( pList && rc==SQLITE_OK ){
44712 if( rc==SQLITE_OK && pPager->pBackup ){
44751 if( rc!=SQLITE_OK || changed ){
44793 if( rc!=SQLITE_OK ){
44809 return SQLITE_OK;
44832 int rc = SQLITE_OK;
44844 if( rc==SQLITE_IOERR_DELETE_NOENT ) rc = SQLITE_OK;
44851 if( rc==SQLITE_OK ){
44903 int rc = SQLITE_OK; /* Return code */
44945 while( rc==SQLITE_OK && pPager->journalOff<iHdrOff ){
44958 while( rc==SQLITE_OK && pPager->journalOff<szJ ){
44975 for(ii=0; rc==SQLITE_OK && ii<nJRec && pPager->journalOff<szJ; ii++){
44980 assert( rc!=SQLITE_OK || pPager->journalOff>=szJ );
44993 for(ii=pSavepoint->iSubRec; rc==SQLITE_OK && ii<pPager->nSubRec; ii++){
45001 if( rc==SQLITE_OK ){
45163 assert( rc!=SQLITE_OK || isOpen(pFile) );
45235 int rc = SQLITE_OK;
45259 if( rc==SQLITE_OK ){
45264 if( rc==SQLITE_OK ){
45268 if( rc==SQLITE_OK ){
45279 if( rc==SQLITE_OK ){
45356 int rc = SQLITE_OK;
45370 rc = SQLITE_OK;
45500 int rc = SQLITE_OK;
45504 if( rc==SQLITE_OK ){
45555 return SQLITE_OK;
45649 return SQLITE_OK;
45713 if( rc!=SQLITE_OK ) return rc;
45753 if( rc==SQLITE_OK && 0==memcmp(aMagic, aJournalMagic, 8) ){
45757 if( rc!=SQLITE_OK && rc!=SQLITE_IOERR_SHORT_READ ){
45776 if( rc!=SQLITE_OK ) return rc;
45782 if( rc!=SQLITE_OK ) return rc;
45790 if( rc!=SQLITE_OK ) return rc;
45797 if( rc!=SQLITE_OK ) return rc;
45811 return SQLITE_OK;
45847 int rc = SQLITE_OK; /* Return code */
45859 assert( pPager->tempFile && rc==SQLITE_OK );
45866 assert( rc!=SQLITE_OK || isOpen(pPager->fd) );
45867 if( rc==SQLITE_OK
45876 while( rc==SQLITE_OK && pList ){
45938 int rc = SQLITE_OK;
45963 int rc = SQLITE_OK;
45979 if( rc==SQLITE_OK ){
45987 if( rc==SQLITE_OK ){
45992 if( rc==SQLITE_OK ){
46021 int rc = SQLITE_OK;
46042 if( NEVER(pPager->errCode) ) return SQLITE_OK;
46050 return SQLITE_OK;
46059 if( rc==SQLITE_OK ){
46099 rc==SQLITE_OK && pPg->pgno>pPager->dbSize && subjRequiresPage(pPg)
46105 if( rc==SQLITE_OK ){
46112 if( rc==SQLITE_OK ){
46162 int rc = SQLITE_OK; /* Return code */
46225 if( rc==SQLITE_OK && nPathname+8>pVfs->mxPathname ){
46234 if( rc!=SQLITE_OK ){
46312 if( rc==SQLITE_OK ){
46367 if( rc==SQLITE_OK ){
46370 testcase( rc!=SQLITE_OK );
46374 if( rc==SQLITE_OK ){
46383 if( rc!=SQLITE_OK ){
46443 return SQLITE_OK;
46456 if( pPager->tempFile ) return SQLITE_OK;
46457 if( pPager->dbSize==0 ) return SQLITE_OK;
46464 rc = SQLITE_OK;
46465 }else if( rc==SQLITE_OK && bHasMoved ){
46505 int rc = SQLITE_OK; /* Return code */
46521 if( rc==SQLITE_OK && exists ){
46533 if( rc==SQLITE_OK && !locked ){
46537 if( rc==SQLITE_OK ){
46548 if( pagerLockDb(pPager, RESERVED_LOCK)==SQLITE_OK ){
46564 if( rc==SQLITE_OK ){
46568 rc = SQLITE_OK;
46585 rc = SQLITE_OK;
46623 int rc = SQLITE_OK; /* Return code */
46641 if( rc!=SQLITE_OK ){
46652 if( rc!=SQLITE_OK ){
46677 if( rc!=SQLITE_OK ){
46699 if( rc==SQLITE_OK && bExists ){
46704 assert( rc!=SQLITE_OK || isOpen(pPager->jfd) );
46705 if( rc==SQLITE_OK && fout&SQLITE_OPEN_READONLY ){
46721 assert( rc==SQLITE_OK );
46723 if( rc==SQLITE_OK ){
46731 if( rc!=SQLITE_OK ){
46784 if( rc!=SQLITE_OK && rc!=SQLITE_IOERR_SHORT_READ ){
46811 assert( pPager->pWal==0 || rc==SQLITE_OK );
46816 assert( rc==SQLITE_OK );
46820 if( pPager->eState==PAGER_OPEN && rc==SQLITE_OK ){
46825 if( rc!=SQLITE_OK ){
46905 int rc = SQLITE_OK;
46932 if( pPager->errCode!=SQLITE_OK ){
46937 if( rc!=SQLITE_OK ) goto pager_acquire_err;
46947 if( rc==SQLITE_OK && pData ){
46957 assert( rc==SQLITE_OK );
46959 return SQLITE_OK;
46962 if( rc!=SQLITE_OK ){
46972 if( rc!=SQLITE_OK ) goto pager_acquire_err;
46979 if( rc!=SQLITE_OK ){
46994 return SQLITE_OK;
47036 if( rc!=SQLITE_OK ) goto pager_acquire_err;
47041 if( rc!=SQLITE_OK ){
47048 return SQLITE_OK;
47051 assert( rc!=SQLITE_OK );
47128 int rc = SQLITE_OK; /* Return code */
47161 if( rc==SQLITE_OK ){
47171 assert( rc!=SQLITE_OK || isOpen(pPager->jfd) );
47178 if( rc==SQLITE_OK ){
47188 if( rc!=SQLITE_OK ){
47217 int rc = SQLITE_OK;
47232 if( rc!=SQLITE_OK ){
47251 if( rc==SQLITE_OK && exFlag ){
47256 if( rc==SQLITE_OK ){
47273 assert( rc==SQLITE_OK || pPager->eState==PAGER_READER );
47274 assert( rc!=SQLITE_OK || pPager->eState==PAGER_WRITER_LOCKED );
47291 int rc = SQLITE_OK;
47319 if( rc!=SQLITE_OK ) return rc;
47363 if( rc!=SQLITE_OK ) return rc;
47365 if( rc!=SQLITE_OK ) return rc;
47367 if( rc!=SQLITE_OK ) return rc;
47381 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
47383 if( rc!=SQLITE_OK ){
47427 int rc = SQLITE_OK; /* Return code */
47462 for(ii=0; ii<nPage && rc==SQLITE_OK; ii++){
47468 if( rc==SQLITE_OK ){
47490 if( rc==SQLITE_OK && needSync ){
47590 int rc = SQLITE_OK;
47622 assert( pPgHdr==0 || rc==SQLITE_OK );
47629 if( !DIRECT_MODE && ALWAYS(rc==SQLITE_OK) ){
47633 if( rc==SQLITE_OK ){
47642 if( rc==SQLITE_OK ){
47646 if( rc==SQLITE_OK ){
47673 int rc = SQLITE_OK;
47678 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
47680 if( rc==SQLITE_OK && !pPager->noSync ){
47699 int rc = SQLITE_OK;
47742 int rc = SQLITE_OK; /* Return code */
47758 if( pPager->eState<PAGER_WRITER_CACHEMOD ) return SQLITE_OK;
47777 assert( rc==SQLITE_OK );
47782 if( rc==SQLITE_OK ){
47829 if( rc==SQLITE_OK ){
47836 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
47843 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
47857 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
47860 if( rc!=SQLITE_OK ){
47876 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
47888 if( rc==SQLITE_OK && !pagerUseWal(pPager) ){
47911 int rc = SQLITE_OK; /* Return code */
47941 return SQLITE_OK;
47977 int rc = SQLITE_OK; /* Return code */
47986 if( pPager->eState<=PAGER_READER ) return SQLITE_OK;
47992 if( rc==SQLITE_OK ) rc = rc2;
48009 assert( pPager->eState==PAGER_READER || rc!=SQLITE_OK );
48010 assert( rc==SQLITE_OK || rc==SQLITE_FULL || rc==SQLITE_CORRUPT
48118 int rc = SQLITE_OK; /* Return code */
48202 if( rc==SQLITE_OK && iSavepoint<pPager->nSavepoint ){
48223 assert( rc==SQLITE_OK );
48397 && SQLITE_OK!=(rc = subjournalPage(pPg))
48470 if( rc!=SQLITE_OK ){
48482 return SQLITE_OK;
48623 int rc = SQLITE_OK;
48630 assert( rc==SQLITE_OK );
48633 if( rc==SQLITE_OK ){
48636 if( rc==SQLITE_OK && state==PAGER_READER ){
48713 int rc = SQLITE_OK;
48747 if( rc!=SQLITE_OK ){
48763 int rc = SQLITE_OK;
48780 if( rc==SQLITE_OK ){
48811 int rc = SQLITE_OK; /* Return code */
48826 if( rc==SQLITE_OK ){
48847 int rc = SQLITE_OK;
48858 if( rc==SQLITE_OK ){
48863 if( rc==SQLITE_OK && logexists ){
48871 if( rc==SQLITE_OK && pPager->pWal ){
48873 if( rc==SQLITE_OK ){
49421 int rc = SQLITE_OK;
49449 rc = SQLITE_OK;
49455 assert( iPage==0 || *ppPage || rc!=SQLITE_OK );
49679 if( pWal->exclusiveMode ) return SQLITE_OK;
49684 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
49695 if( pWal->exclusiveMode ) return SQLITE_OK;
49701 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
49751 assert( rc==SQLITE_OK || iHash>0 );
49753 if( rc==SQLITE_OK ){
49885 if( rc==SQLITE_OK ){
49991 if( rc!=SQLITE_OK ){
50009 if( rc!=SQLITE_OK ){
50068 if( rc!=SQLITE_OK ) break;
50072 if( rc!=SQLITE_OK ) break;
50090 if( rc==SQLITE_OK ){
50203 if( rc==SQLITE_OK && flags&SQLITE_OPEN_READONLY ){
50207 if( rc!=SQLITE_OK ){
50432 int rc = SQLITE_OK; /* Return Code */
50462 for(i=0; rc==SQLITE_OK && i<nSegment; i++){
50468 if( rc==SQLITE_OK ){
50494 if( rc!=SQLITE_OK ){
50600 int rc = SQLITE_OK; /* Return code */
50618 if( rc!=SQLITE_OK ){
50647 if( rc==SQLITE_OK ){
50660 && (rc = walBusyLock(pWal, xBusy, pBusyArg, WAL_READ_LOCK(0),1))==SQLITE_OK
50673 if( rc==SQLITE_OK ){
50676 if( rc==SQLITE_OK && nSize<nReq ){
50683 while( rc==SQLITE_OK && 0==walIteratorNext(pIter, &iDbpage, &iFrame) ){
50692 if( rc!=SQLITE_OK ) break;
50696 if( rc!=SQLITE_OK ) break;
50700 if( rc==SQLITE_OK ){
50705 if( rc==SQLITE_OK && sync_flags ){
50709 if( rc==SQLITE_OK ){
50721 rc = SQLITE_OK;
50730 if( rc==SQLITE_OK && eMode!=SQLITE_CHECKPOINT_PASSIVE ){
50739 if( rc==SQLITE_OK ){
50776 if( rx==SQLITE_OK && (sz > nMax ) ){
50794 int rc = SQLITE_OK;
50807 if( rc==SQLITE_OK ){
50814 if( rc==SQLITE_OK ){
50935 if( rc!=SQLITE_OK ){
50953 if( SQLITE_OK==(rc = walLockShared(pWal, WAL_WRITE_LOCK)) ){
50957 }else if( SQLITE_OK==(rc = walLockExclusive(pWal, WAL_WRITE_LOCK, 1, 1)) ){
50959 if( SQLITE_OK==(rc = walIndexPage(pWal, 0, &page0)) ){
51047 int rc = SQLITE_OK; /* Return code */
51098 }else if( SQLITE_OK==(rc = walLockShared(pWal, WAL_RECOVER_LOCK)) ){
51105 if( rc!=SQLITE_OK ){
51117 if( rc==SQLITE_OK ){
51136 return SQLITE_OK;
51164 if( rc==SQLITE_OK ){
51241 testcase( rc==SQLITE_OK );
51285 return SQLITE_OK;
51322 if( rc!=SQLITE_OK ){
51356 return SQLITE_OK;
51448 return SQLITE_OK;
51464 int rc = SQLITE_OK;
51475 ALWAYS(rc==SQLITE_OK) && iFrame<=iMax;
51518 int rc = SQLITE_OK;
51555 int rc = SQLITE_OK;
51565 if( rc==SQLITE_OK ){
51591 testcase( rc==SQLITE_OK );
51702 if( SQLITE_OK!=(rc = walRestartLog(pWal)) ){
51733 if( rc!=SQLITE_OK ){
51820 for(p=pList; p && rc==SQLITE_OK; p=p->pDirty){
51824 while( rc==SQLITE_OK && nExtra>0 ){
51830 if( rc==SQLITE_OK ){
51914 if( rc==SQLITE_OK ){
51919 rc = SQLITE_OK;
51924 if( rc==SQLITE_OK ){
51932 if( rc==SQLITE_OK ){
51940 if( rc==SQLITE_OK || rc==SQLITE_BUSY ){
51961 return (rc==SQLITE_OK && eMode!=eMode2 ? SQLITE_BUSY : rc);
52019 if( walLockShared(pWal, WAL_READ_LOCK(pWal->readLock))!=SQLITE_OK ){
52860 if( sqlite3_mutex_try(p->pBt->mutex)==SQLITE_OK ){
53142 return SQLITE_OK;
53158 #define querySharedCacheTableLock(a,b,c) SQLITE_OK
53159 #define setSharedCacheTableLock(a,b,c) SQLITE_OK
53316 return SQLITE_OK;
53348 return SQLITE_OK;
53388 assert( SQLITE_OK==querySharedCacheTableLock(p, iTable, eLock) );
53421 return SQLITE_OK;
53596 int rc = SQLITE_OK;
53604 if( rc==SQLITE_OK && pgno<=sqlite3BitvecSize(pBt->pHasContent) ){
53664 assert( rc==SQLITE_OK ); /* KeySize() cannot fail */
53676 if( rc==SQLITE_OK ){
53687 if( rc==SQLITE_OK ){
53718 return p ? saveCursorsOnList(p, iRoot, pExcept) : SQLITE_OK;
53735 if( SQLITE_OK!=rc ){
53745 return SQLITE_OK;
53813 if( rc==SQLITE_OK ){
53828 SQLITE_OK)
53875 return SQLITE_OK;
53932 if( rc!=SQLITE_OK ){
53947 if( rc==SQLITE_OK ){
53992 return SQLITE_OK;
53997 #define ptrmapGet(w,x,y,z) SQLITE_OK
54294 return SQLITE_OK;
54377 int rc = SQLITE_OK; /* Integer return code */
54414 return SQLITE_OK;
54442 return SQLITE_OK;
54541 return SQLITE_OK;
54595 return SQLITE_OK;
54731 return SQLITE_OK;
54809 return SQLITE_OK;
54862 if( rc==SQLITE_OK && (*ppPage)->isInit==0 ){
54864 if( rc!=SQLITE_OK ){
54960 int rc = SQLITE_OK; /* Result code from this function */
55094 if( rc==SQLITE_OK ){
55098 if( rc!=SQLITE_OK ){
55205 if( rc!=SQLITE_OK ){
55333 sqlite3BtreeRollback(p, SQLITE_OK, 0);
55365 return SQLITE_OK;
55389 return SQLITE_OK;
55403 return SQLITE_OK;
55425 return SQLITE_OK;
55465 int rc = SQLITE_OK;
55582 int rc = SQLITE_OK;
55637 if( rc!=SQLITE_OK ) return rc;
55639 if( rc!=SQLITE_OK ) return rc;
55687 if( rc!=SQLITE_OK ){
55691 return SQLITE_OK;
55785 return SQLITE_OK;
55849 return SQLITE_OK;
55878 return SQLITE_OK;
55933 int rc = SQLITE_OK;
55982 if( SQLITE_OK!=rc ) goto trans_begun;
55994 while( pBt->pPage1==0 && SQLITE_OK==(rc = lockBtree(pBt)) );
55996 if( rc==SQLITE_OK && wrflag ){
56001 if( rc==SQLITE_OK ){
56007 if( rc!=SQLITE_OK ){
56013 if( rc==SQLITE_OK ){
56046 if( rc==SQLITE_OK ){
56055 if( rc==SQLITE_OK && wrflag ){
56085 if( rc!=SQLITE_OK ){
56172 return SQLITE_OK;
56207 if( rc!=SQLITE_OK ){
56222 if( rc!=SQLITE_OK ){
56229 if( rc!=SQLITE_OK ){
56241 if( rc!=SQLITE_OK ){
56245 if( rc!=SQLITE_OK ){
56251 if( rc==SQLITE_OK ){
56295 if( rc!=SQLITE_OK ){
56312 if( rc!=SQLITE_OK ){
56325 if( rc!=SQLITE_OK ){
56343 if( rc!=SQLITE_OK ){
56353 if( rc!=SQLITE_OK ){
56366 return SQLITE_OK;
56417 if( rc==SQLITE_OK ){
56421 if( rc==SQLITE_OK ){
56443 int rc = SQLITE_OK;
56471 for(iFree=nOrig; iFree>nFin && rc==SQLITE_OK; iFree--){
56474 if( (rc==SQLITE_DONE || rc==SQLITE_OK) && nFree>0 ){
56482 if( rc!=SQLITE_OK ){
56492 # define setChildPtrmaps(x) SQLITE_OK
56522 int rc = SQLITE_OK;
56529 if( rc!=SQLITE_OK ){
56612 if( p->inTrans==TRANS_NONE ) return SQLITE_OK;
56625 if( rc!=SQLITE_OK && bCleanup==0 ){
56636 return SQLITE_OK;
56646 if( rc==SQLITE_OK ){
56681 int rc = SQLITE_OK;
56691 if( rc!=SQLITE_OK ){
56728 assert( tripCode==SQLITE_ABORT_ROLLBACK || tripCode==SQLITE_OK );
56730 if( tripCode==SQLITE_OK ){
56734 rc = SQLITE_OK;
56738 assert( rc==SQLITE_OK || (writeOnly==0 && rc2==SQLITE_OK) );
56739 if( rc2!=SQLITE_OK ) rc = rc2;
56748 if( rc2!=SQLITE_OK ){
56755 if( btreeGetPage(pBt, 1, &pPage1, 0)==SQLITE_OK ){
56823 int rc = SQLITE_OK;
56830 if( rc==SQLITE_OK ){
56930 return SQLITE_OK;
56997 return SQLITE_OK;
57077 return SQLITE_OK;
57100 return SQLITE_OK;
57130 int rc = SQLITE_OK;
57153 if( rc==SQLITE_OK && eType==PTRMAP_OVERFLOW2 && pgno==ovfl ){
57162 if( rc==SQLITE_OK ){
57164 assert( rc==SQLITE_OK || pPage==0 );
57165 if( rc==SQLITE_OK ){
57176 return (rc==SQLITE_DONE ? SQLITE_OK : rc);
57200 if( rc!=SQLITE_OK ){
57208 return SQLITE_OK;
57249 int rc = SQLITE_OK;
57291 if( rc==SQLITE_OK && amt>0 ){
57318 if( rc==SQLITE_OK ){
57336 for( ; rc==SQLITE_OK && amt>0 && nextPage; iIdx++){
57413 if( rc==SQLITE_OK ){
57427 if( rc==SQLITE_OK && amt>0 ){
57473 if( rc==SQLITE_OK ){
57577 return SQLITE_OK;
57651 int rc = SQLITE_OK;
57659 assert( pCur->skipNext!=SQLITE_OK );
57669 return SQLITE_OK;
57673 if( rc!=SQLITE_OK ){
57724 int rc = SQLITE_OK;
57729 while( rc==SQLITE_OK && !(pPage = pCur->apPage[pCur->iPage])->leaf ){
57749 int rc = SQLITE_OK;
57763 return SQLITE_OK;
57776 if( rc==SQLITE_OK ){
57811 return SQLITE_OK;
57815 if( rc==SQLITE_OK ){
57823 if( rc==SQLITE_OK ){
57884 return SQLITE_OK;
57888 return SQLITE_OK;
57913 return SQLITE_OK;
57961 rc = SQLITE_OK;
58029 rc = SQLITE_OK;
58045 rc = SQLITE_OK;
58112 if( rc!=SQLITE_OK ){
58117 return SQLITE_OK;
58124 return SQLITE_OK;
58151 return SQLITE_OK;
58159 return SQLITE_OK;
58163 return SQLITE_OK;
58184 return SQLITE_OK;
58223 if( rc!=SQLITE_OK ){
58228 return SQLITE_OK;
58235 return SQLITE_OK;
58253 return SQLITE_OK;
58265 rc = SQLITE_OK;
58285 return SQLITE_OK;
58440 if( rc!=SQLITE_OK ){
58458 if( rc!=SQLITE_OK ){
58462 if( rc!=SQLITE_OK ){
58538 if( rc==SQLITE_OK ){
58540 if( rc!=SQLITE_OK ){
58586 if( rc==SQLITE_OK ){
58602 if( rc!=SQLITE_OK ){
58613 if( rc==SQLITE_OK ){
58623 assert( rc!=SQLITE_OK || sqlite3PagerIswriteable((*ppPage)->pDbPage) );
58696 if( rc!=SQLITE_OK ){
58727 if( rc==SQLITE_OK ){
58746 if( pPage==0 && SQLITE_OK!=(rc = btreeGetPage(pBt, iPage, &pPage, 0)) ){
58750 if( rc!=SQLITE_OK ){
58767 if( (*pRC)==SQLITE_OK ){
58793 return SQLITE_OK; /* No overflow pages. Return without doing anything */
58841 return SQLITE_OK;
58976 if( pBt->autoVacuum && rc==SQLITE_OK ){
59036 return SQLITE_OK;
59145 if( rc!=SQLITE_OK ){
59507 if( rc==SQLITE_OK ){
59630 if( (*pRC)==SQLITE_OK ){
59656 if( rc!=SQLITE_OK ){
59727 int rc = SQLITE_OK; /* The return code */
60062 if( rc!=SQLITE_OK ){
60243 if( rc!=SQLITE_OK ) goto balance_cleanup;
60329 testcase( rc!=SQLITE_OK );
60332 || rc!=SQLITE_OK
60357 if( ISAUTOVACUUM && rc==SQLITE_OK && apNew[0]->isInit ){
60419 if( rc==SQLITE_OK ){
60449 return SQLITE_OK;
60463 int rc = SQLITE_OK;
60484 if( rc==SQLITE_OK ){
60500 if( rc==SQLITE_OK ){
60568 }while( rc==SQLITE_OK );
60618 assert( pCur->skipNext!=SQLITE_OK );
60705 assert( rc!=SQLITE_OK || pPage->nCell>0 || pPage->nOverflow>0 );
60728 if( rc==SQLITE_OK && pPage->nOverflow ){
60848 if( rc==SQLITE_OK && pCur->iPage>iCellDepth ){
60855 if( rc==SQLITE_OK ){
60921 if( rc!=SQLITE_OK ){
60940 if( rc!=SQLITE_OK ){
60946 if( rc!=SQLITE_OK ){
60953 if( rc!=SQLITE_OK ){
60963 if( rc!=SQLITE_OK ){
60967 if( rc!=SQLITE_OK ){
60971 if( rc!=SQLITE_OK ){
61012 return SQLITE_OK;
61100 if( SQLITE_OK==rc ){
61186 if( rc!=SQLITE_OK ){
61197 if( rc!=SQLITE_OK ){
61202 if( rc!=SQLITE_OK ){
61209 if( rc!=SQLITE_OK ){
61277 assert( SQLITE_OK==querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK) );
61312 if( rc==SQLITE_OK ){
61341 return SQLITE_OK;
61348 while( rc==SQLITE_OK ){
61498 if( rc!=SQLITE_OK ){
62067 int rc = SQLITE_OK;
62138 assert( rc==SQLITE_OK || rc==SQLITE_LOCKED_SHAREDCACHE );
62151 int rc = SQLITE_OK;
62160 if( rc==SQLITE_OK ){
62187 if( rc!=SQLITE_OK ){
62204 assert( rc==SQLITE_OK );
62251 if( rc==SQLITE_OK ){
62255 if( rc==SQLITE_OK ){
62257 if( rc==SQLITE_OK ){
62434 return SQLITE_OK;
62498 || checkReadTransaction(pDestDb, p->pDest)!=SQLITE_OK
62524 return (rc!=SQLITE_OK && rc!=SQLITE_BUSY && ALWAYS(rc!=SQLITE_LOCKED));
62550 int rc = SQLITE_OK;
62582 if( rc==SQLITE_OK && newPgsz!=nSrcPgsz ) rc = SQLITE_READONLY;
62590 for(iOff=iEnd-(i64)nSrcPgsz; rc==SQLITE_OK && iOff<iEnd; iOff+=nDestPgsz){
62594 if( SQLITE_OK==(rc = sqlite3PagerGet(pDestPager, iDest, &pDestPg))
62595 && SQLITE_OK==(rc = sqlite3PagerWrite(pDestPg))
62631 if( rc==SQLITE_OK && iCurrent>iSize ){
62682 rc = SQLITE_OK;
62686 if( SQLITE_OK==rc && p->bDestLocked==0
62687 && SQLITE_OK==(rc = sqlite3BtreeBeginTrans(p->pDest, 2))
62697 if( rc==SQLITE_OK && 0==sqlite3BtreeIsInReadTrans(p->pSrc) ){
62707 if( SQLITE_OK==rc && destMode==PAGER_JOURNALMODE_WAL && pgszSrc!=pgszDest ){
62722 if( rc==SQLITE_OK ){
62729 if( rc==SQLITE_OK ){
62749 if( rc==SQLITE_OK || rc==SQLITE_DONE ){
62752 if( rc==SQLITE_OK ){
62760 if( rc==SQLITE_OK ){
62818 for(iPg=nDestTruncate; rc==SQLITE_OK && iPg<=(Pgno)nDstPage; iPg++){
62822 if( rc==SQLITE_OK ){
62828 if( rc==SQLITE_OK ){
62836 rc==SQLITE_OK && iOff<iEnd;
62842 if( rc==SQLITE_OK ){
62848 if( rc==SQLITE_OK ){
62853 if( rc==SQLITE_OK ){
62862 if( SQLITE_OK==rc
62863 && SQLITE_OK==(rc = sqlite3BtreeCommitPhaseTwo(p->pDest, 0))
62879 assert( rc2==SQLITE_OK );
62904 if( p==0 ) return SQLITE_OK;
62925 sqlite3BtreeRollback(p->pDest, SQLITE_OK, 0);
62928 rc = (p->rc==SQLITE_DONE) ? SQLITE_OK : p->rc;
63001 if( rc!=SQLITE_OK ){
63048 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
63071 assert( b.rc!=SQLITE_OK );
63073 if( rc==SQLITE_OK ){
63175 return SQLITE_OK;
63186 assert(rc==SQLITE_OK || rc==SQLITE_NOMEM);
63187 assert(rc==SQLITE_OK || pMem->enc!=desiredEnc);
63242 return SQLITE_OK;
63267 return SQLITE_OK;
63295 return SQLITE_OK;
63323 return SQLITE_OK;
63338 return SQLITE_OK;
63349 return SQLITE_OK; /* Nothing to do */
63402 return SQLITE_OK;
63414 int rc = SQLITE_OK;
63626 return SQLITE_OK;
63639 return SQLITE_OK;
63664 return SQLITE_OK;
63887 int rc = SQLITE_OK;
63953 return SQLITE_OK;
64017 return SQLITE_OK;
64045 int rc = SQLITE_OK; /* Return code */
64066 if( SQLITE_OK==(rc = sqlite3VdbeMemClearAndResize(pMem, amt+2)) ){
64072 if( rc==SQLITE_OK ){
64107 if( sqlite3VdbeMemMakeWriteable(pVal)!=SQLITE_OK ){
64258 int rc = SQLITE_OK; /* Return code */
64273 return SQLITE_OK;
64284 if( apVal[i]==0 || rc!=SQLITE_OK ) goto value_from_function_out;
64294 assert( pCtx->pParse->rc==SQLITE_OK );
64304 assert( rc==SQLITE_OK );
64306 if( rc==SQLITE_OK && sqlite3VdbeMemTooBig(pVal) ){
64314 if( rc!=SQLITE_OK ){
64328 # define valueFromFunction(a,b,c,d,e,f) SQLITE_OK
64354 int rc = SQLITE_OK;
64358 return SQLITE_OK;
64372 testcase( rc!=SQLITE_OK );
64412 if( SQLITE_OK==sqlite3ValueFromExpr(db,pExpr->pLeft,enc,affinity,&pVal)
64567 int rc = SQLITE_OK;
64589 if( rc==SQLITE_OK ){
64722 return SQLITE_OK;
64901 return (pNew ? SQLITE_OK : SQLITE_NOMEM);
66123 int rc = SQLITE_OK; /* Return code */
66128 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY || p->rc==SQLITE_NOMEM );
66174 p->rc = SQLITE_OK;
66220 if( j==nSub && SQLITE_OK==sqlite3VdbeMemGrow(pSub, nByte, nSub!=0) ){
66282 p->rc = SQLITE_OK;
66402 p->rc = SQLITE_OK;
66733 int rc = SQLITE_OK;
66757 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
66767 if( rc!=SQLITE_OK ){
66791 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
66803 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
66809 if( rc==SQLITE_OK ){
66854 }while( rc==SQLITE_OK && res );
66855 if( rc==SQLITE_OK ){
66862 if( rc!=SQLITE_OK ){
66886 if( rc!=SQLITE_OK ){
66900 && SQLITE_OK!=(rc = sqlite3OsSync(pMaster, SQLITE_SYNC_NORMAL))
66918 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
66926 if( rc!=SQLITE_OK ){
67011 int rc = SQLITE_OK;
67027 int rc2 = SQLITE_OK;
67033 if( rc2==SQLITE_OK ){
67036 if( rc==SQLITE_OK ){
67044 if( rc==SQLITE_OK ){
67048 if( rc==SQLITE_OK ){
67085 return SQLITE_OK;
67128 return SQLITE_OK;
67175 if( p->rc==SQLITE_OK ){
67189 if( p->rc==SQLITE_OK || (p->errorAction==OE_Fail && !isSpecialError) ){
67191 if( rc!=SQLITE_OK ){
67207 }else if( rc!=SQLITE_OK ){
67209 sqlite3RollbackAll(db, SQLITE_OK);
67218 sqlite3RollbackAll(db, SQLITE_OK);
67223 if( p->rc==SQLITE_OK || p->errorAction==OE_Fail ){
67244 if( p->rc==SQLITE_OK || (p->rc&0xff)==SQLITE_CONSTRAINT ){
67296 return (p->rc==SQLITE_BUSY ? SQLITE_BUSY : SQLITE_OK);
67305 p->rc = SQLITE_OK;
67339 if( sqlite3GlobalConfig.xSqllog && v->rc==SQLITE_OK && v->zSql && v->pc>=0 ){
67446 int rc = SQLITE_OK;
67566 return SQLITE_OK;
67594 return SQLITE_OK;
67617 return SQLITE_OK;
68788 assert( rc==SQLITE_OK ); /* pCur is always valid so KeySize cannot fail */
68830 return SQLITE_OK;
68864 assert( rc==SQLITE_OK ); /* pCur is always valid so KeySize cannot fail */
68878 return SQLITE_OK;
69045 rc = SQLITE_OK;
69069 rc = SQLITE_OK;
69087 int rc = SQLITE_OK;
69379 int rc = SQLITE_OK;
69389 if( db->xWalCallback && nEntry>0 && rc==SQLITE_OK ){
69477 p->rcApp = SQLITE_OK;
69501 assert( p->rc==SQLITE_OK );
69503 if( p->rc!=SQLITE_OK ){
69540 int rc = SQLITE_OK; /* Result from sqlite3Step() */
69541 int rc2 = SQLITE_OK; /* Result from sqlite3Reprepare() */
69556 if( rc!=SQLITE_OK) break;
69561 if( rc2!=SQLITE_OK ){
70137 sqlite3Error(p->db, SQLITE_OK);
70153 return SQLITE_OK;
70172 if( rc==SQLITE_OK ){
70176 if( rc==SQLITE_OK && encoding!=0 ){
70220 if( rc==SQLITE_OK ){
70233 if( rc==SQLITE_OK ){
70243 if( rc==SQLITE_OK ){
70319 if( rc==SQLITE_OK ){
70387 return SQLITE_OK;
70955 if( SQLITE_OK==sqlite3VdbeMemClearAndResize(pMem, nByte) ){
71086 if( sqlite3Atoi64(pMem->z, &pMem->u.i, pMem->n, pMem->enc)==SQLITE_OK ){
71378 int rc = SQLITE_OK; /* Value to return */
71406 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY );
71408 p->rc = SQLITE_OK;
71453 for(pOp=&aOp[p->pc]; rc==SQLITE_OK; pOp++){
71763 if( pOp->p1==SQLITE_OK && p->pFrame ){
71813 assert( rc==SQLITE_BUSY || rc==SQLITE_OK || rc==SQLITE_ERROR );
71817 assert( rc==SQLITE_OK || (p->rc&0xff)==SQLITE_CONSTRAINT );
71818 assert( rc==SQLITE_OK || db->nDeferredCons>0 || db->nDeferredImmCons>0 );
71882 if( SQLITE_OK!=sqlite3VdbeChangeEncoding(pOut, encoding) ) goto no_mem;
72136 if( SQLITE_OK!=(rc = sqlite3VdbeCheckFk(p, 0)) ){
72159 if( NEVER(rc!=SQLITE_OK) ){
73186 assert( rc==SQLITE_OK ); /* True because of CursorMoveto() call above */
73196 assert( rc==SQLITE_OK ); /* DataSize() cannot fail */
73259 if( rc!=SQLITE_OK ){
73332 assert( rc==SQLITE_OK );
73358 if( rc!=SQLITE_OK ){
73641 if( rc!=SQLITE_OK ) goto abort_due_to_error;
73697 if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){
73718 if( rc!=SQLITE_OK ) goto abort_due_to_error;
73725 if( rc!=SQLITE_OK ){
73763 if( rc!=SQLITE_OK ) goto abort_due_to_error;
73816 }else if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){
73829 if( p->rc==SQLITE_OK ){
73902 if( rc!=SQLITE_OK ){
73917 if( rc==SQLITE_OK ){
74246 if( rc==SQLITE_OK ){
74249 if( rc==SQLITE_OK ){
74259 if( rc==SQLITE_OK ){
74519 if( rc!=SQLITE_OK ){
74548 if( rc!=SQLITE_OK ){
74561 if( rc!=SQLITE_OK ) goto abort_due_to_error;
74570 if( rc!=SQLITE_OK ) goto abort_due_to_error;
74735 if( rc!=SQLITE_OK ){
74878 if( rc!=SQLITE_OK ){
74886 assert( rc==SQLITE_OK ); /* Cannot fail following BtreeLast() */
74937 0, &res))==SQLITE_OK)
74940 if( rc==SQLITE_OK && res==0 ){
75054 if( rc==SQLITE_OK && db->xUpdateCallback && pOp->p4.z ){
75109 if( rc==SQLITE_OK && db->xUpdateCallback && pOp->p4.z && pC->isTable ){
75181 assert( rc!=SQLITE_OK || (pOut->flags & MEM_Blob) );
75242 if( rc!=SQLITE_OK ) goto abort_due_to_error;
75248 assert( rc==SQLITE_OK ); /* True because of CursorMoveto() call above */
75255 assert( rc==SQLITE_OK ); /* DataSize() cannot fail */
75320 assert( rc==SQLITE_OK ); /* Always so because of CursorRestore() above */
75604 if( rc==SQLITE_OK ){
75649 if( rc==SQLITE_OK && res==0 ){
75686 if( NEVER(rc!=SQLITE_OK) ) goto abort_due_to_error;
75691 if( rc!=SQLITE_OK ){
75826 if( rc==SQLITE_OK && iMoved!=0 ){
75986 initData.rc = SQLITE_OK;
75989 if( rc==SQLITE_OK ) rc = initData.rc;
76641 rc = SQLITE_OK;
76723 if( rc==SQLITE_OK ){
76736 if( rc==SQLITE_OK ){
76788 rc = SQLITE_OK;
76883 assert( rc==SQLITE_OK );
76932 if( SQLITE_OK==rc ){
77007 if( rc==SQLITE_OK ){
77093 if( rc==SQLITE_OK ){
77127 if( rc==SQLITE_OK ){
77199 if( rc==SQLITE_OK && pOp->p1 ){
77205 rc = SQLITE_OK;
77507 rc = SQLITE_OK;
77511 if( rc==SQLITE_OK ){
77519 assert( rc!=SQLITE_OK || zErr==0 );
77572 int rc = SQLITE_OK;
77747 if( rc==SQLITE_OK && db->mallocFailed==0 ){
77778 rc = SQLITE_OK;
77884 if( rc!=SQLITE_OK ){
77892 assert( rc==SQLITE_OK || p->pStmt==0 );
78395 return SQLITE_OK;
78419 if( rc!=SQLITE_OK ) return rc;
78462 if( rc!=SQLITE_OK ) return rc;
78471 return SQLITE_OK;
78499 return SQLITE_OK;
78512 int rc = SQLITE_OK;
78517 testcase( rc!=SQLITE_OK );
78534 int rc = SQLITE_OK;
78548 if( rc==SQLITE_OK && pReadr->aMap==0 ){
78556 if( rc==SQLITE_OK && iBuf ){
78564 testcase( rc!=SQLITE_OK );
78576 int rc = SQLITE_OK; /* Return Code */
78585 if( rc==SQLITE_OK && pIncr->bEof==0 ){
78596 testcase( rc!=SQLITE_OK );
78601 if( rc==SQLITE_OK ){
78604 if( rc==SQLITE_OK ){
78607 testcase( rc!=SQLITE_OK );
78637 if( rc==SQLITE_OK ){
78644 if( rc==SQLITE_OK ){
78837 int rc = SQLITE_OK;
78999 int rc = SQLITE_OK;
79046 if( rc==SQLITE_OK ) rc = rc2;
79052 # define vdbeSorterJoinThread(pTask) SQLITE_OK
79118 (void)vdbeSorterJoinAll(pSorter, SQLITE_OK);
79200 if( rc==SQLITE_OK ){
79226 return SQLITE_OK;
79290 if( rc!=SQLITE_OK ) return rc;
79329 assert( pTask->pUnpacked->errCode==SQLITE_OK
79435 int rc = SQLITE_OK; /* Return code */
79451 assert( rc!=SQLITE_OK || pTask->file.pFd );
79457 if( rc==SQLITE_OK ){
79462 if( rc==SQLITE_OK ){
79466 if( rc==SQLITE_OK ){
79485 assert( rc!=SQLITE_OK || pList->pList==0 );
79486 assert( rc!=SQLITE_OK || pTask->file.iEof==iSz );
79509 if( rc==SQLITE_OK ){
79561 return (rc==SQLITE_OK ? pTask->pUnpacked->errCode : rc);
79587 int rc = SQLITE_OK;
79610 if( rc!=SQLITE_OK || pTask->pThread==0 ) break;
79613 if( rc==SQLITE_OK ){
79654 int rc = SQLITE_OK; /* Return Code */
79704 assert( rc!=SQLITE_OK || pSorter->list.pList==0 );
79756 int rc = SQLITE_OK;
79768 while( rc==SQLITE_OK ){
79787 if( rc==SQLITE_OK ) rc = rc2;
79832 int rc = SQLITE_OK;
79838 if( rc==SQLITE_OK ){
79844 if( rc==SQLITE_OK ){
79875 int rc = SQLITE_OK;
79994 int rc = SQLITE_OK; /* Return code */
80018 if( rc!=SQLITE_OK ) return rc;
80061 int rc = SQLITE_OK;
80074 if( rc==SQLITE_OK ){
80079 if( rc==SQLITE_OK ){
80090 if( rc==SQLITE_OK ){
80099 if( rc==SQLITE_OK && pIncr->bUseThread ){
80115 if( rc==SQLITE_OK && (SQLITE_MAX_WORKER_THREADS==0 || eMode!=INCRINIT_TASK) ){
80150 int rc = SQLITE_OK; /* Return code */
80187 int rc = SQLITE_OK;
80192 for(i=0; i<nPMA && rc==SQLITE_OK; i++){
80199 if( rc!=SQLITE_OK ){
80242 int rc = SQLITE_OK;
80254 for(i=1; i<nDepth && rc==SQLITE_OK; i++){
80266 if( rc==SQLITE_OK ){
80272 if( rc==SQLITE_OK ){
80296 int rc = SQLITE_OK;
80310 for(iTask=0; rc==SQLITE_OK && iTask<pSorter->nTask; iTask++){
80325 for(i=0; i<pTask->nPMA && rc==SQLITE_OK; i += SORTER_MAX_MERGE_COUNT){
80331 if( rc==SQLITE_OK ){
80337 if( rc==SQLITE_OK ){
80353 if( rc!=SQLITE_OK ){
80384 if( rc==SQLITE_OK ){
80392 if( rc==SQLITE_OK ){
80397 if( rc==SQLITE_OK ){
80399 if( rc==SQLITE_OK ){
80408 for(iTask=0; rc==SQLITE_OK && iTask<pSorter->nTask; iTask++){
80428 if( rc==SQLITE_OK ){
80440 if( rc!=SQLITE_OK ){
80454 int rc = SQLITE_OK; /* Return code */
80486 if( rc==SQLITE_OK ){
80524 rc = SQLITE_OK;
80572 return SQLITE_OK;
80617 return SQLITE_OK;
80622 return SQLITE_OK;
80677 int rc = SQLITE_OK;
80681 if( rc==SQLITE_OK ){
80687 if( rc!=SQLITE_OK ){
80709 return SQLITE_OK;
80721 int rc = SQLITE_OK;
80742 int rc = SQLITE_OK;
80747 if( rc==SQLITE_OK ){
80764 int rc = SQLITE_OK;
80783 rc = SQLITE_OK;
80792 int rc = SQLITE_OK;
80850 return SQLITE_OK;
80859 return SQLITE_OK;
80988 return SQLITE_OK;
81038 return SQLITE_OK;
81056 return SQLITE_OK;
81064 return SQLITE_OK;
81078 return SQLITE_OK;
81087 return SQLITE_OK;
82027 if( auth!=SQLITE_OK ){
83123 int rc = SQLITE_OK;
85975 v, OP_Halt, SQLITE_OK, OE_Ignore, 0, pExpr->u.zToken,0);
87668 if( SQLITE_OK!=isSystemTable(pParse, pTab->zName) ){
87671 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){ goto
87923 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
87924 if( rc!=SQLITE_OK ){
88008 if( SQLITE_OK!=isSystemTable(pParse, pTab->zName) ){
89424 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
89841 if( rc==SQLITE_OK ) initAvgEq(pPrevIdx);
89850 int rc = SQLITE_OK; /* Result codes from subroutines */
89861 if( rc==SQLITE_OK && sqlite3FindTable(db, "sqlite_stat3", zDb) ){
89933 if( rc==SQLITE_OK && OptimizationEnabled(db, SQLITE_Stat34) ){
89992 int rc = SQLITE_OK;
90084 if( rc!=SQLITE_OK ){
90098 }else if( rc==SQLITE_OK ){
90120 if( rc==SQLITE_OK && aNew->zName==0 ){
90126 if( rc==SQLITE_OK ){
90162 if( rc==SQLITE_OK ){
90168 if( rc==SQLITE_OK ){
90286 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pFilename)) ||
90287 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pDbname)) ||
90288 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pKey))
90302 if(rc!=SQLITE_OK ){
90624 return SQLITE_OK;
90667 }else if( rc!=SQLITE_IGNORE && rc!=SQLITE_OK ){
90753 return SQLITE_OK;
90757 return SQLITE_OK;
90767 }else if( rc!=SQLITE_OK && rc!=SQLITE_IGNORE ){
90950 if( pParse->rc==SQLITE_OK ) pParse->rc = SQLITE_ERROR;
91155 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
91599 return SQLITE_OK;
91685 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
91725 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
92397 if( pIdx->nColumn>=N ) return SQLITE_OK;
92412 return SQLITE_OK;
93668 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
93765 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
94172 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
94688 if( rc!=SQLITE_OK ){
94955 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
95167 return SQLITE_OK;
95238 return SQLITE_OK;
95885 assert( rcauth==SQLITE_OK || rcauth==SQLITE_DENY || rcauth==SQLITE_IGNORE );
95946 if( rcauth==SQLITE_OK && pWhere==0 && !pTrigger && !IsVirtual(pTab)
98033 assert( rc==SQLITE_NOMEM || rc==SQLITE_OK );
101679 sqlite3VdbeAddOp2(v, OP_Halt, SQLITE_OK, 0);
101726 int rc = SQLITE_OK; /* Return code */
101736 sqlite3Error(db, SQLITE_OK);
101737 while( rc==SQLITE_OK && zSql[0] ){
101743 assert( rc==SQLITE_OK || pStmt==0 );
101744 if( rc!=SQLITE_OK ){
101817 if( rc!=SQLITE_OK && pzErrMsg ){
102912 return SQLITE_OK;
102953 return SQLITE_OK;
103003 int rc = SQLITE_OK;
103072 if( sqlite3_initialize()==SQLITE_OK )
103730 return SQLITE_OK;
103743 if( db->temp_store==ts ) return SQLITE_OK;
103744 if( invalidateTempStorage( pParse ) != SQLITE_OK ){
103748 return SQLITE_OK;
103928 if( rc==SQLITE_OK ){
104248 if( rc==SQLITE_OK && (eAuto==1 || eAuto==2) ){
104259 { OP_Halt, SQLITE_OK, OE_Abort, 0}, /* 3 */
104356 rc = SQLITE_OK;
104358 if( rc==SQLITE_OK ){
104411 if( rc!=SQLITE_OK || res==0 ){
104461 if( rc!=SQLITE_OK || res==0 ){
104513 if( res!=SQLITE_OK ){
105460 if( zRight && sqlite3DecOrHexToI64(zRight, &N)==SQLITE_OK ){
105477 && sqlite3DecOrHexToI64(zRight, &N)==SQLITE_OK
105510 SQLITE_FCNTL_LOCKSTATE, &j)==SQLITE_OK ){
105660 if( SQLITE_OK!=rc ){
105770 initData.rc = SQLITE_OK;
105789 return SQLITE_OK;
105798 if( rc!=SQLITE_OK ){
105912 if( rc==SQLITE_OK ) rc = initData.rc;
105915 if( rc==SQLITE_OK ){
105924 if( rc==SQLITE_OK || (db->flags&SQLITE_RecoveryMode)){
105934 rc = SQLITE_OK;
105971 rc = SQLITE_OK;
105974 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
105988 if( rc==SQLITE_OK && !DbHasProperty(db, 1, DB_SchemaLoaded) ){
105997 if( rc==SQLITE_OK && commit_internal ){
106009 int rc = SQLITE_OK;
106015 if( rc!=SQLITE_OK ){
106049 if( rc!=SQLITE_OK ) return;
106127 int rc = SQLITE_OK; /* Result code */
106208 if( pParse->rc==SQLITE_DONE ) pParse->rc = SQLITE_OK;
106221 if( rc==SQLITE_OK && pParse->pVdbe && pParse->explain ){
106247 if( pParse->pVdbe && (rc!=SQLITE_OK || db->mallocFailed) ){
106303 assert( rc==SQLITE_OK || *ppStmt==0 );
106340 return SQLITE_OK;
106361 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
106373 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
106396 int rc = SQLITE_OK;
106449 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
106461 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
108133 return SQLITE_OK;
108642 int rc = SQLITE_OK; /* Success code from a subroutine */
108742 testcase( rc!=SQLITE_OK );
108815 testcase( rc!=SQLITE_OK );
108899 testcase( rc!=SQLITE_OK );
110293 return SQLITE_OK;
110533 return SQLITE_OK;
111968 if( rc==SQLITE_OK && pDest->eDest==SRT_Output ){
112216 res.rc = SQLITE_OK;
112239 if( rc!=SQLITE_OK ){
112456 if( !zName || SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
112769 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
113153 if( SQLITE_OK==sqlite3ResolveExprNames(&sNC, pWhen)
114216 if( SQLITE_OK!=sqlite3_prepare(db, zSql, -1, &pStmt, 0) ){
114234 if( rc!=SQLITE_OK ) return rc;
114238 if( rc!=SQLITE_OK ){
114290 int rc = SQLITE_OK; /* Return code from service routines */
114351 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114374 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114381 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114383 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114412 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114416 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114420 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114437 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114445 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114451 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114501 if( NEVER(rc!=SQLITE_OK) ) goto end_of_vacuum;
114505 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114507 if( rc!=SQLITE_OK ) goto end_of_vacuum;
114513 assert( rc==SQLITE_OK );
114591 int rc = SQLITE_OK;
114618 if( rc!=SQLITE_OK && xDestroy ) xDestroy(pAux);
115089 if( SQLITE_OK!=rc ){
115176 return SQLITE_OK;
115190 if( rc!=SQLITE_OK ){
115217 return SQLITE_OK;
115239 int rc = SQLITE_OK;
115264 if( rc==SQLITE_OK && ALWAYS(sqlite3GetVTable(db, pTab)) ){
115266 if( rc==SQLITE_OK ){
115282 int rc = SQLITE_OK;
115309 if( SQLITE_OK==sqlite3RunParser(pParse, zCreateTable, &zErr)
115351 int rc = SQLITE_OK;
115366 if( rc==SQLITE_OK ){
115414 int rc = SQLITE_OK;
115418 for(i=0; rc==SQLITE_OK && i<db->nVTrans; i++){
115436 return SQLITE_OK;
115445 return SQLITE_OK;
115457 int rc = SQLITE_OK;
115469 return SQLITE_OK;
115479 return SQLITE_OK;
115486 if( rc==SQLITE_OK ){
115488 if( rc==SQLITE_OK ){
115512 int rc = SQLITE_OK;
115518 for(i=0; rc==SQLITE_OK && i<db->nVTrans; i++){
115669 int rc = SQLITE_OK;
115693 if( rc!=SQLITE_OK ) sqlite3Error(db, rc);
118178 if( rc!=SQLITE_OK ){
118467 int rc = SQLITE_OK;
118481 if( pUpper && rc==SQLITE_OK ){
118489 for(i=0; rc==SQLITE_OK && i<p->nSample; i++){
118491 if( rc==SQLITE_OK && p1 ){
118495 if( rc==SQLITE_OK && p2 ){
118575 int rc = SQLITE_OK;
118647 if( rc==SQLITE_OK && bOk ){
118662 if( rc==SQLITE_OK && bOk ){
118673 if( rc==SQLITE_OK ){
118776 return SQLITE_OK;
118782 if( rc!=SQLITE_OK ) return rc;
118820 int rc = SQLITE_OK; /* Subfunction return code */
118826 for(i=0; rc==SQLITE_OK && i<pList->nExpr; i++){
118833 if( rc==SQLITE_OK ){
120436 if( p->nLSlot>=n ) return SQLITE_OK;
120444 return SQLITE_OK;
120463 return SQLITE_OK;
120695 return SQLITE_OK;
120712 return SQLITE_OK;
120765 return SQLITE_OK;
120884 int rc = SQLITE_OK; /* Return code */
120917 for(; rc==SQLITE_OK && pTerm!=0; pTerm = whereScanNext(&scan)){
121036 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
121037 if( rc!=SQLITE_OK ) break; /* Jump out of the pTerm loop */
121113 && (rc = whereLoopResize(db, pNew, pNew->nLTerm+1))==SQLITE_OK
121249 int rc = SQLITE_OK; /* Return code */
121312 for(pTerm=pWC->a; rc==SQLITE_OK && pTerm<pWCEnd; pTerm++){
121349 for(; rc==SQLITE_OK && pProbe; pProbe=pProbe->pNext, iSortIdx++){
121459 int rc = SQLITE_OK;
121611 int rc = SQLITE_OK;
121625 for(pTerm=pWC->a; pTerm<pWCEnd && rc==SQLITE_OK; pTerm++){
121671 if( rc==SQLITE_OK ){
121674 assert( rc==SQLITE_OK || sCur.n==0 );
121700 for(i=0; rc==SQLITE_OK && i<sSum.n; i++){
121736 int rc = SQLITE_OK;
121755 if( rc==SQLITE_OK ){
122444 return SQLITE_OK;
127484 pParse->rc = SQLITE_OK;
127530 if( pParse->rc!=SQLITE_OK ){
127539 if( zSql[i]==0 && pParse->rc==SQLITE_OK && db->mallocFailed==0 ){
127544 if( pParse->rc==SQLITE_OK && db->mallocFailed==0 ){
127560 if( pParse->rc!=SQLITE_OK && pParse->rc!=SQLITE_DONE && pParse->zErrMsg==0 ){
127607 assert( nErr==0 || pParse->rc!=SQLITE_OK );
128129 if( rc!=SQLITE_OK ){
128144 if( sqlite3GlobalConfig.isInit ) return SQLITE_OK;
128169 if( rc==SQLITE_OK ){
128179 if( rc==SQLITE_OK ){
128187 if( rc!=SQLITE_OK ){
128213 if( rc==SQLITE_OK ){
128217 if( rc==SQLITE_OK ){
128249 if ( rc==SQLITE_OK ){
128284 if( rc!=SQLITE_OK ){
128323 return SQLITE_OK;
128337 int rc = SQLITE_OK;
128686 return SQLITE_OK;
128723 return SQLITE_OK;
128767 rc = SQLITE_OK;
128964 return SQLITE_OK;
129004 return SQLITE_OK;
129051 sqlite3RollbackAll(db, SQLITE_OK);
129117 sqlite3Error(db, SQLITE_OK); /* Deallocates any cached error strings. */
129206 case SQLITE_OK: zName = "SQLITE_OK"; break;
129438 return SQLITE_OK;
129488 return SQLITE_OK;
129554 if( rc==SQLITE_OK ){
129558 if( rc!=SQLITE_OK ){
129605 return SQLITE_OK;
129656 assert( rc!=SQLITE_OK );
129714 int rc = SQLITE_OK;
129880 return SQLITE_OK;
129909 return SQLITE_OK;
129951 return SQLITE_OK;
130025 int rc = SQLITE_OK; /* Return code */
130033 for(i=0; i<db->nDb && rc==SQLITE_OK; i++){
130040 rc = SQLITE_OK;
130045 return (rc==SQLITE_OK && bBusy) ? SQLITE_BUSY : rc;
130259 sqlite3Error(db, SQLITE_OK);
130260 return SQLITE_OK;
130408 int rc = SQLITE_OK;
130612 if( rc!=SQLITE_OK ){
130783 if( rc!=SQLITE_OK ){
130793 if( rc!=SQLITE_OK ){
130823 sqlite3Error(db, SQLITE_OK);
130830 if( rc==SQLITE_OK ){
130833 if( rc!=SQLITE_OK ){
130846 if( !db->mallocFailed && rc==SQLITE_OK ){
130853 if( !db->mallocFailed && rc==SQLITE_OK ){
130859 if( !db->mallocFailed && rc==SQLITE_OK ){
130865 if( !db->mallocFailed && rc==SQLITE_OK){
130871 if( !db->mallocFailed && rc==SQLITE_OK){
130907 }else if( rc!=SQLITE_OK ){
130968 if( rc==SQLITE_OK && !DbHasProperty(*ppDb, 0, DB_SchemaLoaded) ){
131028 int rc = SQLITE_OK;
131064 return SQLITE_OK;
131085 return SQLITE_OK;
131095 return SQLITE_OK;
131198 if( SQLITE_OK!=rc ){
131267 if( SQLITE_OK==rc && !pTab ){
131306 return SQLITE_OK;
131331 rc = SQLITE_OK;
131720 if( z && sqlite3DecOrHexToI64(z, &v)==SQLITE_OK ){
131925 int rc = SQLITE_OK;
133153 # define sqlite3Fts3DeferToken(x,y,z) SQLITE_OK
133154 # define sqlite3Fts3CacheDeferredDoclists(x) SQLITE_OK
133156 # define sqlite3Fts3DeferredTokenList(x,y,z) SQLITE_OK
133501 return SQLITE_OK;
133547 int rc = SQLITE_OK; /* Return code */
133564 return (rc==SQLITE_OK ? fts3DisconnectMethod(pVtab) : rc);
133578 if( *pRc==SQLITE_OK ){
133620 if( (*pRc)==SQLITE_OK ) p->bHasStat = 1;
133633 int rc = SQLITE_OK; /* Return code */
133698 if( *pRc==SQLITE_OK ){
133708 if( rc==SQLITE_OK ){
133714 rc = SQLITE_OK;
133717 assert( p->nPgsz>0 || rc!=SQLITE_OK );
133762 if( *pRc==SQLITE_OK ){
133938 return SQLITE_OK;
133999 return SQLITE_OK;
134036 int rc = SQLITE_OK; /* Return code */
134045 if( rc!=SQLITE_OK ){
134051 if( rc==SQLITE_OK ){
134113 int rc = SQLITE_OK; /* Return code */
134173 for(i=3; rc==SQLITE_OK && i<argc; i++){
134291 if( rc==SQLITE_OK && zContent ){
134303 if( rc==SQLITE_OK && zLanguageid ){
134316 if( rc!=SQLITE_OK ) goto fts3_init_out;
134327 if( rc!=SQLITE_OK ) goto fts3_init_out;
134336 if( rc!=SQLITE_OK ) goto fts3_init_out;
134421 if( rc==SQLITE_OK && (zCompress==0)!=(zUncompress==0) ){
134428 if( rc!=SQLITE_OK ) goto fts3_init_out;
134462 if( rc!=SQLITE_OK ){
134550 return SQLITE_OK;
134637 return SQLITE_OK;
134657 return SQLITE_OK;
134674 return SQLITE_OK;
134689 int rc = SQLITE_OK;
134708 int rc = SQLITE_OK;
134713 if( rc==SQLITE_OK ){
134717 return SQLITE_OK;
134720 if( rc==SQLITE_OK && ((Fts3Table *)pCsr->base.pVtab)->zContentTbl==0 ){
134731 if( rc!=SQLITE_OK && pContext ){
134760 int rc = SQLITE_OK; /* Return code */
134882 int rc = SQLITE_OK; /* Return code */
134889 assert( !piLeaf2 || !piLeaf || rc!=SQLITE_OK || (*piLeaf<=*piLeaf2) );
134891 if( rc==SQLITE_OK && iHeight>1 ){
134897 if( rc==SQLITE_OK ){
134905 if( rc==SQLITE_OK ){
134908 if( rc==SQLITE_OK ){
135505 return SQLITE_OK;
135580 return SQLITE_OK;
135664 if( rc!=SQLITE_OK ){
135680 return SQLITE_OK;
135745 if( rc!=SQLITE_OK ){
135763 return SQLITE_OK;
135784 return SQLITE_OK;
135805 int rc = SQLITE_OK; /* Error code */
135818 if( rc==SQLITE_OK && pSeg ){
135824 if( rc==SQLITE_OK ){
135828 while( rc==SQLITE_OK && SQLITE_ROW==(rc = sqlite3_step(pStmt)) ){
135843 if( rc!=SQLITE_OK ) goto finished;
135852 if( rc!=SQLITE_OK ) goto finished;
135958 if( rc==SQLITE_OK ){
136015 while( SQLITE_OK==rc
136021 if( rc==SQLITE_OK ){
136024 if( rc==SQLITE_OK ){
136083 rc = SQLITE_OK;
136142 int rc = SQLITE_OK;
136203 if( rc!=SQLITE_OK ){
136209 if( rc!=SQLITE_OK ) return rc;
136239 if( rc==SQLITE_OK ){
136243 if( rc!=SQLITE_OK ) return rc;
136265 return SQLITE_OK;
136284 int rc = SQLITE_OK; /* Return Code */
136307 if( rc==SQLITE_OK ){
136368 if( rc==SQLITE_OK
136376 assert( rc==SQLITE_OK || mxLevel==0 );
136392 int rc = SQLITE_OK;
136399 if( rc==SQLITE_OK ){
136402 if( rc==SQLITE_OK ) p->bHasStat = bHasStat;
136440 return SQLITE_OK;
136453 return SQLITE_OK;
136522 return SQLITE_OK;
136563 }else if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){
136583 if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){
136616 case SQLITE_OK:
136638 if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){
136706 if( rc==SQLITE_OK ){
136746 int rc = SQLITE_OK;
136769 return SQLITE_OK;
136784 return SQLITE_OK;
136850 int rc = SQLITE_OK;
136869 if( rc!=SQLITE_OK ) return rc;
136873 if( rc!=SQLITE_OK ) return rc;
136887 if( rc==SQLITE_OK ){
136903 if( rc==SQLITE_OK ){
136912 if( SQLITE_OK==rc
136913 && SQLITE_OK==(rc = sqlite3Fts3InitHashTable(db, pHash, "fts3_tokenizer"))
136914 && SQLITE_OK==(rc = sqlite3_overload_function(db, "snippet", -1))
136915 && SQLITE_OK==(rc = sqlite3_overload_function(db, "offsets", 1))
136916 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 1))
136917 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 2))
136918 && SQLITE_OK==(rc = sqlite3_overload_function(db, "optimize", 1))
136923 if( rc==SQLITE_OK ){
136928 if( rc==SQLITE_OK ){
136936 assert( rc!=SQLITE_OK );
136966 if( pExpr && SQLITE_OK==*pRc ){
136976 if( rc!=SQLITE_OK ){
137008 int rc = SQLITE_OK;
137071 int rc = SQLITE_OK;
137073 for(iToken=0; rc==SQLITE_OK && iToken<p->nToken; iToken++){
137081 if( rc==SQLITE_OK ){
137117 if( rc!=SQLITE_OK ) return rc;
137123 return SQLITE_OK;
137143 return SQLITE_OK;
137192 return SQLITE_OK;
137215 int rc = SQLITE_OK; /* Error code */
137243 for(i=0; rc==SQLITE_OK && i<p->nToken; i++){
137257 assert( rc!=SQLITE_OK || p->nToken<1 || p->aToken[0].pSegcsr==0 || p->bIncr );
137433 int rc = SQLITE_OK;
137483 int rc = SQLITE_OK;
137511 for(i=0; rc==SQLITE_OK && i<p->nToken && bEof==0; i++){
137518 assert( rc!=SQLITE_OK || (p->nToken>=1 && a[p->nToken-1].bIgnore==0) );
137519 assert( rc!=SQLITE_OK || bMaxSet );
137523 while( rc==SQLITE_OK && bEof==0
137583 int rc = SQLITE_OK;
137622 if( pExpr && SQLITE_OK==*pRc ){
137678 if( *pRc==SQLITE_OK ){
137682 for(i=0; *pRc==SQLITE_OK && i<pPhrase->nToken; i++){
137746 if( rc!=SQLITE_OK ) return rc;
137764 if( rc!=SQLITE_OK ) return rc;
137768 return SQLITE_OK;
137793 int rc = SQLITE_OK; /* Return code */
137807 return SQLITE_OK;
137819 if( nOvfl==0 || nToken<2 ) return SQLITE_OK;
137823 assert( rc!=SQLITE_OK || nDocSize>0 );
137848 for(ii=0; ii<nToken && rc==SQLITE_OK; ii++){
137885 assert( rc==SQLITE_OK || pList==0 );
137886 if( rc==SQLITE_OK ){
137891 if( rc==SQLITE_OK ){
137920 int rc = SQLITE_OK;
137929 if( rc==SQLITE_OK && nToken>1 && pTab->bFts4 ){
137949 if( rc==SQLITE_OK ){
137951 for(ii=0; rc==SQLITE_OK && ii<nOr; ii++){
138078 if( *pRc==SQLITE_OK ){
138106 while( !pLeft->bEof && !pRight->bEof && *pRc==SQLITE_OK ){
138120 while( *pRc==SQLITE_OK && pRight->bEof==0 ){
138127 while( *pRc==SQLITE_OK && pLeft->bEof==0 ){
138171 assert( *pRc!=SQLITE_OK || pRight->bStart );
138237 if( *pRc==SQLITE_OK
138306 if( *pRc==SQLITE_OK ){
138414 if( rc==SQLITE_OK ){
138424 if( rc==SQLITE_OK ){
138434 return (rc==SQLITE_OK && bMiss);
138442 int rc = SQLITE_OK; /* Return Code */
138463 if( rc==SQLITE_OK && (
138487 if( pExpr && *pRc==SQLITE_OK ){
138572 int rc = SQLITE_OK; /* Return code */
138604 while( pCsr->isEof==0 && rc==SQLITE_OK ){
138622 if( rc==SQLITE_OK && pCsr->isEof==0 ){
138643 }while( pRoot->iDocid!=iDocid && rc==SQLITE_OK );
138686 int rc = SQLITE_OK;
138697 if( rc==SQLITE_OK ){
138745 return SQLITE_OK;
138751 int rc = SQLITE_OK;
138770 if( bOr==0 ) return SQLITE_OK;
138778 while( rc==SQLITE_OK && !pNear->bEof ){
138782 assert( rc!=SQLITE_OK || pPhrase->bIncr==0 );
138785 while( rc==SQLITE_OK && !pNear->bEof ){
138789 if( rc!=SQLITE_OK ) return rc;
138817 if( pIter==0 ) return SQLITE_OK;
138827 if( *pIter==0x00 ) return SQLITE_OK;
138836 return SQLITE_OK;
138986 if( rc!=SQLITE_OK ) return rc;
139004 return SQLITE_OK;
139027 return SQLITE_OK;
139101 return SQLITE_OK;
139117 return SQLITE_OK;
139133 return SQLITE_OK;
139149 return SQLITE_OK;
139164 if( pCsr->aStat[pCsr->iCol].nDoc>0 ) return SQLITE_OK;
139181 return SQLITE_OK;
139239 rc = SQLITE_OK;
139333 if( rc==SQLITE_OK ){
139337 if( rc==SQLITE_OK ) rc = fts3auxNextMethod(pCursor);
139387 return SQLITE_OK;
139399 return SQLITE_OK;
139583 assert( rc==SQLITE_OK || pCsr==0 );
139584 if( rc==SQLITE_OK ){
139588 if( rc!=SQLITE_OK ){
139638 if( rc==SQLITE_OK ){
139644 if( rc==SQLITE_OK ){
139680 rc = SQLITE_OK;
139752 if( rc==SQLITE_OK ){
139754 for(ii=0; rc==SQLITE_OK; ii++){
139758 if( rc==SQLITE_OK ){
139809 rc = SQLITE_OK;
139912 return SQLITE_OK;
139940 if( rc==SQLITE_OK && !*ppExpr ){ rc = SQLITE_DONE; }
140062 int rc = SQLITE_OK;
140065 while( rc==SQLITE_OK ){
140070 assert( nByte>0 || (rc!=SQLITE_OK && p==0) );
140071 if( rc==SQLITE_OK ){
140159 assert( rc!=SQLITE_OK || (nByte>0 && nByte<=nIn) );
140169 rc = SQLITE_OK;
140187 if( rc!=SQLITE_OK ){
140201 int rc = SQLITE_OK;
140207 if( rc==SQLITE_OK ){
140227 int rc = SQLITE_OK; /* Return code */
140236 if( rc==SQLITE_OK && (eType==FTSQUERY_AND || eType==FTSQUERY_OR) ){
140245 if( rc==SQLITE_OK ){
140268 if( rc!=SQLITE_OK ) break;
140315 if( rc==SQLITE_OK ){
140355 if( rc!=SQLITE_OK ){
140397 return SQLITE_OK;
140403 assert( rc==SQLITE_OK || *ppExpr==0 );
140406 if( rc==SQLITE_OK && sParse.nNest ){
140454 if( rc==SQLITE_OK && *ppExpr ){
140456 if( rc==SQLITE_OK ){
140461 if( rc!=SQLITE_OK ){
140539 if( rc!=SQLITE_OK ){
140655 assert( rc==SQLITE_NOMEM || rc==SQLITE_OK );
140679 assert( rc==SQLITE_OK || pExpr==0 );
140687 if( rc!=SQLITE_OK && rc!=SQLITE_NOMEM ){
140714 if( rc==SQLITE_OK ){
141180 return SQLITE_OK;
141188 return SQLITE_OK;
141223 return SQLITE_OK;
141234 return SQLITE_OK;
141741 return SQLITE_OK;
141968 assert( rc!=SQLITE_OK || *ppTok );
141969 if( rc!=SQLITE_OK ){
142067 if( SQLITE_OK!=p->xCreate(argc-2, azArg, &pTokenizer) ){
142077 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){
142085 if( SQLITE_OK!=p->xClose(pCsr) ){
142089 if( SQLITE_OK!=p->xDestroy(pTokenizer) ){
142114 if( rc!=SQLITE_OK ){
142137 if( rc!=SQLITE_OK ){
142187 assert( rc==SQLITE_OK );
142196 assert( rc==SQLITE_OK );
142198 assert( rc==SQLITE_OK );
142228 int rc = SQLITE_OK;
142243 if( SQLITE_OK==rc ){
142246 if( SQLITE_OK==rc ){
142250 if( SQLITE_OK==rc ){
142253 if( SQLITE_OK==rc ){
142363 return SQLITE_OK;
142371 return SQLITE_OK;
142406 return SQLITE_OK;
142417 return SQLITE_OK;
142472 return SQLITE_OK;
142596 return SQLITE_OK;
142616 int rc = SQLITE_OK; /* Return code */
142677 if( rc!=SQLITE_OK ) return rc;
142682 if( rc==SQLITE_OK ){
142692 assert( (rc==SQLITE_OK)==(pMod!=0) );
142693 if( rc==SQLITE_OK ){
142698 if( rc==SQLITE_OK ){
142705 if( rc==SQLITE_OK ){
142730 return SQLITE_OK;
142752 return SQLITE_OK;
142759 return SQLITE_OK;
142776 return SQLITE_OK;
142807 return SQLITE_OK;
142824 if( rc!=SQLITE_OK ){
142826 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
142859 if( rc==SQLITE_OK ){
142865 if( rc!=SQLITE_OK ) return rc;
142906 return SQLITE_OK;
142918 return SQLITE_OK;
143044 sqlite3_log(SQLITE_OK, "%d-way merge from level %d", nMerge, (int)iAbsLevel);
143349 int rc = SQLITE_OK;
143370 assert( rc==SQLITE_OK || pStmt==0 );
143377 for(i=0; rc==SQLITE_OK && i<nParam; i++){
143395 if( rc==SQLITE_OK ){
143400 if( rc==SQLITE_OK ) rc = FTS_CORRUPT_VTAB;
143403 rc = SQLITE_OK;
143418 if( rc==SQLITE_OK ){
143424 if( rc==SQLITE_OK ) rc = FTS_CORRUPT_VTAB;
143458 if( rc==SQLITE_OK ){
143481 int rc = SQLITE_OK;
143486 if( rc==SQLITE_OK ){
143568 if( rc==SQLITE_OK ){
143577 if( rc==SQLITE_OK ){
143630 return SQLITE_OK;
143650 int rc = SQLITE_OK;
143661 if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iDelta)) ){
143669 if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, 1))
143670 || SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iCol))
143680 if( rc==SQLITE_OK ){
143713 int rc = SQLITE_OK;
143729 if( rc==SQLITE_OK ){
143771 return SQLITE_OK;
143775 if( rc!=SQLITE_OK ){
143780 while( SQLITE_OK==rc
143781 && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos))
143801 for(i=1; rc==SQLITE_OK && i<p->nIndex; i++){
143812 return (rc==SQLITE_DONE ? SQLITE_OK : rc);
143838 if( rc!=SQLITE_OK ) return rc;
143842 return SQLITE_OK;
143882 if( rc!=SQLITE_OK ){
143888 return SQLITE_OK;
143922 return SQLITE_OK;
143934 if( rc==SQLITE_OK && p->zLanguageid ){
143940 if( rc!=SQLITE_OK ) return rc;
143960 if( rc!=SQLITE_OK ) return rc;
143980 int rc = SQLITE_OK; /* Return code */
144027 if( rc==SQLITE_OK ){
144032 for(i=1; rc==SQLITE_OK && i<=p->nColumn; i++){
144040 if( rc!=SQLITE_OK ){
144091 if( rc==SQLITE_OK ){
144101 if( rc==SQLITE_OK ){
144170 if( rc==SQLITE_OK ){
144184 if( rc!=SQLITE_OK ){
144217 if( rc==SQLITE_OK ){
144230 int rc = SQLITE_OK;
144234 while( pReader->pBlob && rc==SQLITE_OK
144290 return SQLITE_OK;
144299 return SQLITE_OK;
144306 if( rc!=SQLITE_OK ) return rc;
144318 if( rc!=SQLITE_OK ) return rc;
144341 if( rc!=SQLITE_OK ) return rc;
144359 return SQLITE_OK;
144367 int rc = SQLITE_OK;
144380 if( rc==SQLITE_OK ){
144404 int rc = SQLITE_OK;
144447 if( rc!=SQLITE_OK ) return rc;
144471 if( rc==SQLITE_OK ){
144483 return SQLITE_OK;
144495 int rc = SQLITE_OK;
144501 for(ii=0; rc==SQLITE_OK && ii<pMsr->nSegment; ii++){
144510 if( rc!=SQLITE_OK ) break;
144579 return SQLITE_OK;
144635 int rc = SQLITE_OK; /* Return Code */
144851 if( rc==SQLITE_OK ){
144871 if( rc==SQLITE_OK ){
144897 if( rc==SQLITE_OK ){
145007 return SQLITE_OK;
145087 int rc = SQLITE_OK;
145099 for(pIter=pTree->pLeftmost; pIter && rc==SQLITE_OK; pIter=pIter->pRight){
145107 if( rc==SQLITE_OK ){
145178 if( rc!=SQLITE_OK ) return rc;
145184 if( rc!=SQLITE_OK ) return rc;
145203 if( rc!=SQLITE_OK ) return rc;
145220 if( rc!=SQLITE_OK ) return rc;
145279 return SQLITE_OK;
145303 if( rc==SQLITE_OK ){
145307 if( rc==SQLITE_OK ){
145349 rc = SQLITE_OK;
145352 if( rc==SQLITE_OK ){
145387 if( rc!=SQLITE_OK ) return rc;
145416 if( rc!=SQLITE_OK ) return rc;
145438 int rc = SQLITE_OK; /* Return code */
145442 if( rc==SQLITE_OK ){
145474 int rc = SQLITE_OK; /* Return Code */
145478 for(i=0; rc==SQLITE_OK && i<nReader; i++){
145481 if( rc!=SQLITE_OK ){
145488 if( rc==SQLITE_OK ){
145496 if( rc==SQLITE_OK ){
145503 if( rc==SQLITE_OK ){
145582 return SQLITE_OK;
145600 return SQLITE_OK;
145619 while( rc==SQLITE_OK
145627 if( rc!=SQLITE_OK ) return rc;
145632 if( rc!=SQLITE_OK ) return rc;
145650 return SQLITE_OK;
145673 if( rc!=SQLITE_OK ) return rc;
145682 return SQLITE_OK;
145713 if( rc!=SQLITE_OK ) return rc;
145727 if( rc!=SQLITE_OK ) return rc;
145734 return SQLITE_OK;
145765 return SQLITE_OK;
145773 int rc = SQLITE_OK;
145789 if( pCsr->nSegment==0 ) return SQLITE_OK;
145805 if( rc!=SQLITE_OK ) return rc;
145811 assert( rc==SQLITE_OK );
145855 if( rc==SQLITE_OK ) rc = SQLITE_ROW;
145941 }while( rc==SQLITE_OK );
146012 int rc = SQLITE_OK;
146017 if( rc==SQLITE_OK ){
146050 if( rc==SQLITE_OK ){
146053 if( rc==SQLITE_OK ){
146057 if( rc==SQLITE_OK ){
146075 if( rc!=SQLITE_OK ){
146081 if( rc==SQLITE_OK ){
146086 if( rc==SQLITE_OK ){
146132 if( rc!=SQLITE_OK || csr.nSegment==0 ) goto finished;
146136 if( rc!=SQLITE_OK ) goto finished;
146161 if( rc!=SQLITE_OK ) goto finished;
146172 while( SQLITE_OK==rc ){
146178 if( rc!=SQLITE_OK ) goto finished;
146185 if( rc!=SQLITE_OK ) goto finished;
146189 if( rc==SQLITE_OK ){
146207 int rc = SQLITE_OK;
146210 for(i=0; rc==SQLITE_OK && i<p->nIndex; i++){
146212 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
146219 if( rc==SQLITE_OK && p->bHasStat
146224 if( rc==SQLITE_OK ){
146361 if( rc!=SQLITE_OK ){
146404 if( rc==SQLITE_OK ){
146411 for(i=0; rc==SQLITE_OK && i<p->nIndex; i++){
146415 rc = SQLITE_OK;
146420 if( rc==SQLITE_OK ) rc = rc2;
146426 return (rc==SQLITE_OK && bReturnDone && bSeenDone) ? SQLITE_DONE : rc;
146443 if( rc==SQLITE_OK ){
146459 if( rc==SQLITE_OK ){
146471 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
146476 for(iCol=0; rc==SQLITE_OK && iCol<p->nColumn; iCol++){
146486 if( rc!=SQLITE_OK ){
146503 if( rc==SQLITE_OK ){
146540 if( rc==SQLITE_OK ){
146545 for(i=0; rc==SQLITE_OK && sqlite3_step(pStmt)==SQLITE_ROW && i<nSeg; i++){
146557 if( rc==SQLITE_OK ) rc = rc2;
146636 if( *pRc==SQLITE_OK && nMin>pBlob->nAlloc ){
146662 int rc = SQLITE_OK; /* Return code */
146676 if( rc==SQLITE_OK ){
146746 int rc = SQLITE_OK;
146768 if( rc==SQLITE_OK ){
146776 if( rc==SQLITE_OK ){
146802 if( rc!=SQLITE_OK || iNextPtr==0 ) return rc;
146842 int rc = SQLITE_OK; /* Return code */
146853 if( rc!=SQLITE_OK ) return rc;
146875 return SQLITE_OK;
146893 int rc = SQLITE_OK; /* Return code */
146926 if( rc==SQLITE_OK ){
146943 if( rc==SQLITE_OK ){
147013 if( rc==SQLITE_OK ){
147026 if( pNode->block.n>0 && rc==SQLITE_OK ){
147034 if( rc==SQLITE_OK ){
147091 if( rc==SQLITE_OK ){
147128 if( rc==SQLITE_OK ){
147158 if( rc==SQLITE_OK && bAppendable ){
147163 if( rc==SQLITE_OK ){
147166 rc==SQLITE_OK && reader.aNode;
147179 if( rc==SQLITE_OK && bAppendable ){
147199 if( rc==SQLITE_OK ){
147204 for(i=nHeight; i>=0 && rc==SQLITE_OK; i--){
147209 while( reader.aNode && rc==SQLITE_OK ) rc = nodeReaderNext(&reader);
147211 if( rc==SQLITE_OK ){
147221 if( rc==SQLITE_OK ){
147233 if( rc==SQLITE_OK ) rc = rc2;
147257 if( rc==SQLITE_OK ){
147308 if( rc==SQLITE_OK ){
147316 if( rc!=SQLITE_OK ) return rc;
147320 if( rc==SQLITE_OK ){
147328 if( rc!=SQLITE_OK ) return rc;
147334 if( rc!=SQLITE_OK ) return rc;
147344 return SQLITE_OK;
147367 if( rc==SQLITE_OK ){
147395 if( rc==SQLITE_OK ){
147412 if( rc==SQLITE_OK ) rc = rc2;
147415 if( rc==SQLITE_OK ){
147418 if( rc==SQLITE_OK ){
147424 for(i=0; rc==SQLITE_OK && i<nIdx; i++){
147467 int rc = SQLITE_OK; /* Return code */
147472 if( rc!=SQLITE_OK ) return rc;
147477 rc==SQLITE_OK && reader.aNode;
147490 if( rc!=SQLITE_OK ) break;
147519 int rc = SQLITE_OK; /* Return code */
147528 if( rc==SQLITE_OK ){
147539 if( rc==SQLITE_OK ) rc = rc2;
147542 while( rc==SQLITE_OK && iBlock ){
147548 if( rc==SQLITE_OK ){
147551 if( rc==SQLITE_OK ){
147558 if( rc==SQLITE_OK && iNewStart ){
147561 if( rc==SQLITE_OK ){
147569 if( rc==SQLITE_OK ){
147572 if( rc==SQLITE_OK ){
147605 int rc = SQLITE_OK;
147607 for(i=pCsr->nSegment-1; i>=0 && rc==SQLITE_OK; i--){
147622 if( rc==SQLITE_OK ){
147637 if( rc==SQLITE_OK && nRem!=pCsr->nSegment ){
147653 if( rc==SQLITE_OK ){
147677 if( rc==SQLITE_OK ){
147685 if( rc==SQLITE_OK ){
147692 if( rc==SQLITE_OK ) rc = rc2;
147714 if( *pRc==SQLITE_OK ){
147741 return SQLITE_OK;
147773 while( rc==SQLITE_OK && nRem>0 ){
147800 if( rc==SQLITE_OK && hint.n ){
147832 if( rc==SQLITE_OK ){
147844 if( rc==SQLITE_OK ){
147847 if( SQLITE_OK==rc && pCsr->nSegment==nSeg
147848 && SQLITE_OK==(rc = sqlite3Fts3SegReaderStart(p, pCsr, pFilter))
147859 if( rc==SQLITE_OK && pWriter->nLeafEst ){
147863 if( rc==SQLITE_OK ) rc = sqlite3Fts3SegReaderStep(p, pCsr);
147864 if( pWriter->nWork>=nRem && rc==SQLITE_ROW ) rc = SQLITE_OK;
147868 if( rc==SQLITE_OK ){
147891 if( bDirtyHint && rc==SQLITE_OK ){
147944 rc = SQLITE_OK;
147949 if( rc==SQLITE_OK ){
147969 int rc = SQLITE_OK;
148034 assert( *pRc==SQLITE_OK );
148044 if( rc==SQLITE_OK ){
148048 if( rc==SQLITE_OK ){
148098 int rc = SQLITE_OK; /* Return code */
148105 if( rc==SQLITE_OK ){
148109 while( rc==SQLITE_OK && sqlite3_step(pAllLangid)==SQLITE_ROW ){
148117 if( rc==SQLITE_OK ) rc = rc2;
148121 if( rc==SQLITE_OK ){
148134 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
148139 for(iCol=0; rc==SQLITE_OK && iCol<p->nColumn; iCol++){
148146 while( rc==SQLITE_OK ){
148153 if( rc==SQLITE_OK ){
148168 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
148217 if( rc==SQLITE_OK && bOk==0 ) rc = FTS_CORRUPT_VTAB;
148249 rc = SQLITE_OK;
148252 rc = SQLITE_OK;
148255 rc = SQLITE_OK;
148301 int rc = SQLITE_OK; /* Return code */
148314 for(i=0; i<p->nColumn && rc==SQLITE_OK; i++){
148320 while( rc==SQLITE_OK ){
148327 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
148339 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
148343 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
148366 return SQLITE_OK;
148377 return SQLITE_OK;
148402 return SQLITE_OK;
148417 int rc = SQLITE_OK; /* Return code */
148421 if( bFound && rc==SQLITE_OK ){
148424 if( rc==SQLITE_OK ){
148467 int rc = SQLITE_OK; /* Return Code */
148511 if( rc!=SQLITE_OK ) goto update_out;
148558 if( rc!=SQLITE_OK ){
148570 if( nArg>1 && rc==SQLITE_OK ){
148578 if( rc==SQLITE_OK && (!isRemove || *pRowid!=p->iPrevDocid ) ){
148581 if( rc==SQLITE_OK ){
148609 if( rc==SQLITE_OK ){
148611 if( rc==SQLITE_OK || rc==SQLITE_DONE ){
148613 if( rc2!=SQLITE_OK ) rc = rc2;
148776 if( rc==SQLITE_OK && eType!=FTSQUERY_NOT ){
148811 int rc = SQLITE_OK;
148851 return SQLITE_OK;
148993 assert( rc==SQLITE_OK || pCsr==0 );
149004 assert( rc!=SQLITE_OK || (
149049 if( rc!=SQLITE_OK ){
149072 if( rc==SQLITE_OK ){
149142 return SQLITE_OK;
149204 if( rc!=SQLITE_OK ){
149207 while( rc==SQLITE_OK && iCurrent<(nSnippet+nDesired) ){
149212 if( rc!=SQLITE_OK && rc!=SQLITE_DONE ){ return rc; }
149222 return SQLITE_OK;
149258 return SQLITE_OK;
149265 if( rc!=SQLITE_OK ){
149269 while( rc==SQLITE_OK ){
149288 if( rc!=SQLITE_OK ){
149311 if( rc==SQLITE_OK ){
149318 if( rc!=SQLITE_OK || iCurrent<iPos ) continue;
149332 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zOpen, -1);
149333 if( rc==SQLITE_OK ) rc = fts3StringAppend(pOut, &zDoc[iBegin], iFin-iBegin);
149334 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zClose, -1);
149420 int rc = SQLITE_OK;
149425 for(i=0; i<p->nCol && rc==SQLITE_OK; i++){
149449 int rc = SQLITE_OK;
149497 return SQLITE_OK;
149544 if( rc!=SQLITE_OK ) return rc;
149555 return SQLITE_OK;
149585 return SQLITE_OK;
149649 if( rc!=SQLITE_OK ) return rc;
149685 return SQLITE_OK;
149711 int rc = SQLITE_OK;
149716 for(i=0; rc==SQLITE_OK && zArg[i]; i++){
149741 if( rc==SQLITE_OK ){
149757 if( rc==SQLITE_OK ){
149772 if( rc==SQLITE_OK ){
149786 if( rc!=SQLITE_OK ) break;
149790 if( rc!=SQLITE_OK ) break;
149793 if( rc!=SQLITE_OK ) break;
149818 int rc = SQLITE_OK;
149890 int rc = SQLITE_OK;
149941 if( rc!=SQLITE_OK ){
149962 for(i=0; i<nSnippet && rc==SQLITE_OK; i++){
149970 if( rc!=SQLITE_OK ){
150050 if( rc!=SQLITE_OK ) goto offsets_out;
150102 if( rc!=SQLITE_OK ) goto offsets_out;
150105 while( rc==SQLITE_OK ){
150128 while( rc==SQLITE_OK && iCurrent<iMinPos ){
150131 if( rc==SQLITE_OK ){
150143 rc = SQLITE_OK;
150147 if( rc!=SQLITE_OK ) goto offsets_out;
150154 if( rc!=SQLITE_OK ){
150199 if( rc!=SQLITE_OK ){
150318 return SQLITE_OK;
150387 return SQLITE_OK;
150433 int rc = SQLITE_OK;
150440 for(i=0; rc==SQLITE_OK && i<nArg; i++){
150462 if( rc!=SQLITE_OK ){
150501 return SQLITE_OK;
150512 return SQLITE_OK;
150580 return SQLITE_OK;
151484 int rc2 = SQLITE_OK;
151498 return SQLITE_OK;
151522 if( rc==SQLITE_OK ) rc = rc2;
151541 if( pNode && rc==SQLITE_OK ){
151547 if( rc==SQLITE_OK ){
151623 int rc = SQLITE_OK;
151635 if( pNode->iNode==0 && rc==SQLITE_OK ){
151648 int rc = SQLITE_OK;
151659 if( rc==SQLITE_OK ){
151783 return SQLITE_OK;
151806 if( rc==SQLITE_OK ){
151824 rc = SQLITE_OK;
151861 return SQLITE_OK;
152048 return SQLITE_OK;
152064 return SQLITE_OK;
152290 int rc = SQLITE_OK;
152349 return SQLITE_OK;
152357 int rc = SQLITE_OK;
152372 int rc = SQLITE_OK;
152374 if( rc==SQLITE_OK && p ){
152388 int rc = SQLITE_OK;
152392 if( p==0 ) return SQLITE_OK;
152408 return SQLITE_OK;
152484 return SQLITE_OK;
152499 int rc = SQLITE_OK;
152518 if( rc==SQLITE_OK && pLeaf!=0 ){
152535 if( rc==SQLITE_OK && argc>0 ){
152555 if( rc!=SQLITE_OK ){
152571 if( rc==SQLITE_OK ){
152640 int rc = SQLITE_OK;
152671 return SQLITE_OK;
152824 for(ii=0; rc==SQLITE_OK && ii<(pRtree->iDepth-iHeight); ii++){
152896 return SQLITE_OK;
153158 return SQLITE_OK;
153190 int rc = SQLITE_OK;
153240 if( rc!=SQLITE_OK ){
153249 if( SQLITE_OK!=(rc = nodeWrite(pRtree, pRight))
153250 || (0==pLeft->iNode && SQLITE_OK!=(rc = nodeWrite(pRtree, pLeft)))
153260 if( rc!=SQLITE_OK ){
153267 if( rc==SQLITE_OK ){
153271 if( rc!=SQLITE_OK ){
153285 if( rc!=SQLITE_OK ){
153293 if( rc!=SQLITE_OK ){
153301 if( rc==SQLITE_OK ){
153305 if( rc==SQLITE_OK ){
153329 int rc = SQLITE_OK;
153331 while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){
153332 int rc2 = SQLITE_OK; /* sqlite3_reset() return code */
153351 if( rc==SQLITE_OK ) rc = rc2;
153352 if( rc==SQLITE_OK && !pChild->pParent ) rc = SQLITE_CORRUPT_VTAB;
153370 if( rc==SQLITE_OK ){
153376 if( rc==SQLITE_OK ){
153379 if( rc!=SQLITE_OK ){
153386 if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteNode)) ){
153393 if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteParent)) ){
153406 return SQLITE_OK;
153411 int rc = SQLITE_OK;
153424 if( rc==SQLITE_OK ){
153440 if( SQLITE_OK!=(rc = fixLeafParent(pRtree, pNode)) ){
153481 int rc = SQLITE_OK;
153533 for(ii=0; rc==SQLITE_OK && ii<(nCell-(RTREE_MINCELLS(pRtree)+1)); ii++){
153544 if( rc==SQLITE_OK ){
153547 for(; rc==SQLITE_OK && ii<nCell; ii++){
153554 if( rc==SQLITE_OK ){
153558 if( rc==SQLITE_OK ){
153578 int rc = SQLITE_OK;
153596 if( rc==SQLITE_OK ){
153609 int rc = SQLITE_OK;
153612 for(ii=0; rc==SQLITE_OK && ii<nCell; ii++){
153621 if( rc==SQLITE_OK ){
153625 if( rc==SQLITE_OK ){
153662 if( rc==SQLITE_OK ){
153667 if( rc==SQLITE_OK ){
153670 if( rc==SQLITE_OK ){
153674 if( rc==SQLITE_OK ){
153680 if( rc==SQLITE_OK ){
153694 if( rc==SQLITE_OK && pRtree->iDepth>0 && NCELL(pRoot)==1 ){
153699 if( rc==SQLITE_OK ){
153703 if( rc==SQLITE_OK ) rc = rc2;
153704 if( rc==SQLITE_OK ){
153713 if( rc==SQLITE_OK ){
153721 if( rc==SQLITE_OK ){
153770 int rc = SQLITE_OK;
153862 if( rc==SQLITE_OK && nData>1 ){
153872 if( rc==SQLITE_OK ){
153875 if( rc==SQLITE_OK ){
153880 if( rc==SQLITE_OK ){
153929 if( rc==SQLITE_OK ){
153933 rc = SQLITE_OK;
153936 if( rc==SQLITE_OK ){
153982 int rc = SQLITE_OK;
154020 if( rc!=SQLITE_OK ){
154036 for(i=0; i<N_STATEMENT && rc==SQLITE_OK; i++){
154061 if( rc==SQLITE_OK ){
154098 if( rc==SQLITE_OK ){
154112 if( rc!=SQLITE_OK ){
154138 int rc = SQLITE_OK;
154184 if( rc==SQLITE_OK ){
154203 }else if( SQLITE_OK!=(rc = sqlite3_declare_vtab(db, zSql)) ){
154210 if( rc==SQLITE_OK ){
154313 if( rc==SQLITE_OK ){
154316 if( rc==SQLITE_OK ){
154324 if( rc==SQLITE_OK ){
154889 if( rc!=SQLITE_OK ){
154924 int rc = SQLITE_OK;
154927 for(i=0; rc==SQLITE_OK && i<(int)(sizeof(scalars)/sizeof(scalars[0])); i++){
155028 return SQLITE_OK;
155037 return SQLITE_OK;
155112 return SQLITE_OK;
155123 return SQLITE_OK;
155188 return SQLITE_OK;
155358 int rc = SQLITE_OK;
155371 if( rc==SQLITE_OK ){
155376 assert( rc==SQLITE_OK || pTab==0 );
155377 if( rc==SQLITE_OK ){
155392 return SQLITE_OK;
155420 return SQLITE_OK;
155451 if( rc!=SQLITE_OK ){
155493 return SQLITE_OK;
155595 if( rc!=SQLITE_OK ){
155607 return SQLITE_OK;
155630 if( fd->pMethods!=0 && sqlite3OsFileControl(fd, 230440, &x)==SQLITE_OK ){
155702 return z==0 ? SQLITE_NOMEM : SQLITE_OK;
155733 if( rc==SQLITE_OK ){
155740 if( rc==SQLITE_OK ){
155827 return SQLITE_OK;
155833 return SQLITE_OK;