Lines Matching refs:SQLITE_OK

1446 #define SQLITE_OK           0   /* Successful result */  macro
1559 #define SQLITE_OK_LOAD_PERMANENTLY (SQLITE_OK | (1<<8))
14991 #define sqlite3_mutex_try(X) SQLITE_OK
14996 #define sqlite3MutexInit() SQLITE_OK
17579 # define sqlite3FaultSim(X) SQLITE_OK
17829 # define sqlite3AuthCheck(a,b,c,d,e) SQLITE_OK
18019 # define sqlite3ExprCheckIN(x,y) SQLITE_OK
18063 # define sqlite3VtabSync(X,Y) SQLITE_OK
18070 # define sqlite3VtabSavepoint(X, Y, Z) SQLITE_OK
19188 #define sqlite3VdbeMemExpandBlob(x) SQLITE_OK
19189 #define ExpandBlob(P) SQLITE_OK
19335 return SQLITE_OK; in sqlite3_status64()
19383 int rc = SQLITE_OK; /* Return code */ in sqlite3_db_status()
20162 *pRc = SQLITE_OK; in localtimeOffset()
20261 if( rc==SQLITE_OK ){ in parseModifier()
20268 rc = SQLITE_OK; in parseModifier()
20911 return flags ? id->pMethods->xSync(id, flags) : SQLITE_OK; in sqlite3OsSync()
21001 return SQLITE_OK; in sqlite3OsFetch()
21004 return SQLITE_OK; in sqlite3OsUnfetch()
21026 assert( rc==SQLITE_OK || pFile->pMethods==0 ); in sqlite3OsOpen()
21106 if( rc!=SQLITE_OK ){ in sqlite3OsOpenMalloc()
21213 return SQLITE_OK; in sqlite3_vfs_register()
21226 return SQLITE_OK; in sqlite3_vfs_unregister()
21356 static int sqlite3MemInit(void *NotUsed){ return SQLITE_OK; } in sqlite3MemInit()
21626 return SQLITE_OK; in sqlite3MemInit()
21642 return SQLITE_OK; in sqlite3MemInit()
21872 return SQLITE_OK; in sqlite3MemInit()
22778 return SQLITE_OK; in memsys3Init()
23399 return SQLITE_OK; in memsys5Init()
23558 return SQLITE_OK; in checkMutexInit()
23562 return SQLITE_OK; in checkMutexEnd()
23633 if( SQLITE_OK==pGlobalMutexMethods->xMutexTry(pCheck->mutex) ){ in checkMutexEnter()
23696 int rc = SQLITE_OK; in sqlite3MutexInit()
23741 int rc = SQLITE_OK; in sqlite3MutexEnd()
23800 int rc = SQLITE_OK; in sqlite3_mutex_try()
23878 static int noopMutexInit(void){ return SQLITE_OK; } in noopMutexInit()
23879 static int noopMutexEnd(void){ return SQLITE_OK; } in noopMutexEnd()
23888 return SQLITE_OK; in noopMutexTry()
23941 static int debugMutexInit(void){ return SQLITE_OK; } in debugMutexInit()
23942 static int debugMutexEnd(void){ return SQLITE_OK; } in debugMutexEnd()
24012 return SQLITE_OK; in debugMutexTry()
24159 static int pthreadMutexInit(void){ return SQLITE_OK; } in pthreadMutexInit()
24160 static int pthreadMutexEnd(void){ return SQLITE_OK; } in pthreadMutexEnd()
24363 rc = SQLITE_OK; in pthreadMutexTry()
24368 rc = SQLITE_OK; in pthreadMutexTry()
24381 rc = SQLITE_OK; in pthreadMutexTry()
24388 if( rc==SQLITE_OK && p->trace ){ in pthreadMutexTry()
24884 return SQLITE_OK;
24899 return SQLITE_OK;
25075 rc = SQLITE_OK;
25212 return SQLITE_OK;
25263 if( rc!=SQLITE_OK ) memset(&mem0, 0, sizeof(mem0));
27740 return SQLITE_OK;
27751 rc = SQLITE_OK;
27753 rc = pthread_join(p->tid, ppOut) ? SQLITE_ERROR : SQLITE_OK;
27834 return SQLITE_OK;
27859 return (rc==WAIT_OBJECT_0) ? SQLITE_OK : SQLITE_ERROR;
27902 return SQLITE_OK;
27925 return SQLITE_OK;
28165 if( rc!=SQLITE_OK ){
28266 return SQLITE_OK;
28281 int rc = SQLITE_OK;
28298 if( rc==SQLITE_OK ){
28516 return xCallback ? xCallback(iTest) : SQLITE_OK;
30729 #define IS_LOCK_ERROR(x) ((x != SQLITE_OK) && (x != SQLITE_BUSY))
31306 rc = SQLITE_OK;
31321 rc = SQLITE_OK;
31559 rc = SQLITE_OK;
32122 return SQLITE_OK;
32183 int rc = SQLITE_OK;
32332 int rc = SQLITE_OK;
32351 return SQLITE_OK;
32422 assert( rc==SQLITE_OK );
32436 if( unixFileLock(pFile, &lock) && rc==SQLITE_OK ){
32489 if( rc==SQLITE_OK
32500 if( rc==SQLITE_OK ){
32511 rc==SQLITE_OK ? "ok" : "failed"));
32546 int rc = SQLITE_OK;
32555 return SQLITE_OK;
32691 if( rc==SQLITE_OK ) pFile->eFileLock = eFileLock;
32753 return SQLITE_OK;
32760 int rc = SQLITE_OK;
32807 return SQLITE_OK;
32811 return SQLITE_OK;
32815 return SQLITE_OK;
32867 int rc = SQLITE_OK;
32910 int rc = SQLITE_OK;
32924 return SQLITE_OK;
32969 return SQLITE_OK;
32977 return SQLITE_OK;
32986 rc = SQLITE_OK;
32994 return SQLITE_OK;
33047 int rc = SQLITE_OK;
33089 rc = SQLITE_OK;
33127 int rc = SQLITE_OK;
33136 return SQLITE_OK;
33153 rc==SQLITE_OK ? "ok" : "failed"));
33180 return SQLITE_OK;
33186 return SQLITE_OK;
33192 return SQLITE_OK;
33197 return SQLITE_OK;
33234 int rc = SQLITE_OK;
33303 int rc = SQLITE_OK;
33309 rc = SQLITE_OK;
33345 return SQLITE_OK;
33351 return SQLITE_OK;
33364 return SQLITE_OK;
33380 return SQLITE_OK;
33465 return SQLITE_OK;
33476 int rc = SQLITE_OK;
33487 return SQLITE_OK;
33501 if( SQLITE_OK==lrc ){
33546 int rc = SQLITE_OK;
33563 return SQLITE_OK;
33650 } else if( lrc1 != SQLITE_OK ) {
33683 int failed2 = SQLITE_OK;
33705 if( rc==SQLITE_OK ){
33716 rc==SQLITE_OK ? "ok" : "failed"));
33728 int rc = SQLITE_OK;
33744 return SQLITE_OK;
33772 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1) ){
33780 if( rc==SQLITE_OK && pFile->eFileLock>=PENDING_LOCK ){
33783 if( rc==SQLITE_OK && pFile->eFileLock>=RESERVED_LOCK && context->reserved ){
33789 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1)){
33793 if( rc==SQLITE_OK && eFileLock==NO_LOCK ){
33813 if( rc==SQLITE_OK ){
33823 if( rc==SQLITE_OK ) pFile->eFileLock = eFileLock;
33831 int rc = SQLITE_OK;
33984 return SQLITE_OK;
33997 return SQLITE_OK;
34119 return SQLITE_OK;
34148 return SQLITE_OK;
34320 if( fd>=0 ) return SQLITE_OK;
34374 if( rc==SQLITE_OK ){
34379 rc = SQLITE_OK;
34432 return SQLITE_OK;
34460 return SQLITE_OK;
34537 return SQLITE_OK;
34568 return rc ? SQLITE_IOERR_BEGIN_ATOMIC : SQLITE_OK;
34572 return rc ? SQLITE_IOERR_COMMIT_ATOMIC : SQLITE_OK;
34576 return rc ? SQLITE_IOERR_ROLLBACK_ATOMIC : SQLITE_OK;
34582 return SQLITE_OK;
34586 return SQLITE_OK;
34590 return SQLITE_OK;
34601 return SQLITE_OK;
34605 return SQLITE_OK;
34609 return SQLITE_OK;
34617 return SQLITE_OK;
34621 return SQLITE_OK;
34626 int rc = SQLITE_OK;
34657 return SQLITE_OK;
34924 int rc = SQLITE_OK; /* Result code form fcntl() */
34945 rc = (rc!=(-1)) ? SQLITE_OK : SQLITE_BUSY;
34953 if( rc==SQLITE_OK ){
35045 int rc = SQLITE_OK;
35077 if( rc==SQLITE_OK && robust_ftruncate(pShmNode->h, 0) ){
35085 if( rc==SQLITE_OK ){
35130 int rc = SQLITE_OK; /* Result code */
35213 if( rc!=SQLITE_OK && rc!=SQLITE_READONLY_CANTINIT ) goto shm_open_err;
35276 int rc = SQLITE_OK;
35283 if( rc!=SQLITE_OK ) return rc;
35291 if( rc!=SQLITE_OK ) goto shmpage_out;
35396 if( pShmNode->isReadonly && rc==SQLITE_OK ) rc = SQLITE_READONLY;
35419 int rc = SQLITE_OK; /* Result code */
35451 rc = SQLITE_OK;
35455 if( rc==SQLITE_OK ){
35475 if( rc==SQLITE_OK ){
35479 rc = SQLITE_OK;
35484 if( rc==SQLITE_OK ){
35501 if( rc==SQLITE_OK ){
35503 if( rc==SQLITE_OK ){
35548 if( p==0 ) return SQLITE_OK;
35578 return SQLITE_OK;
35683 unixLogError(SQLITE_OK, zErr, pFd->zPath);
35713 if( pFd->nFetchOut>0 ) return SQLITE_OK;
35731 return SQLITE_OK;
35757 if( rc!=SQLITE_OK ) return rc;
35765 return SQLITE_OK;
35803 return SQLITE_OK;
36117 int rc = SQLITE_OK;
36167 if( rc!=SQLITE_OK ){
36210 if( rc!=SQLITE_OK ){
36244 if( (rc==SQLITE_OK) && (pNew->pInode->pSem==NULL) ){
36263 if( rc!=SQLITE_OK ){
36270 if( rc!=SQLITE_OK ){
36340 return SQLITE_OK;
36422 int rc = SQLITE_OK;
36461 int rc = SQLITE_OK; /* Return Code */
36487 if( nDb==0 || zPath[nDb]=='.' ) return SQLITE_OK;
36543 int rc = SQLITE_OK; /* Function Return Code */
36634 if( rc!=SQLITE_OK ){
36659 if( rc!=SQLITE_OK ){
36684 if( rc==SQLITE_OK ) rc = rc2;
36764 if( rc==SQLITE_OK ){
36766 if( rc!=SQLITE_OK ){
36786 if( rc!=SQLITE_OK ){
36802 int rc = SQLITE_OK;
36821 if( rc==SQLITE_OK ){
36828 rc = SQLITE_OK;
36865 return SQLITE_OK;
36892 return SQLITE_OK;
36913 int rc = SQLITE_OK;
36951 if( rc==SQLITE_OK ){
36974 assert( rc!=SQLITE_OK || zIn!=zOut || zIn[0]=='/' );
36975 if( rc==SQLITE_OK && zIn!=zOut ){
36980 }while( rc==SQLITE_OK );
37142 int rc = SQLITE_OK;
37414 return SQLITE_OK;
37467 int rc = SQLITE_OK;
37492 if( proxyCreateLockPath(path) == SQLITE_OK ){
37531 if( rc==SQLITE_OK ){
37533 return SQLITE_OK;
37581 return SQLITE_OK;
37660 int rc = SQLITE_OK;
37715 rc = SQLITE_OK;
37739 return SQLITE_OK;
37747 int rc = SQLITE_OK;
37764 if( rc!=SQLITE_OK ){
37846 if( rc==SQLITE_OK ){
37865 if( rc==SQLITE_OK && createConch ){
37897 if( rc==SQLITE_OK && pFile->openFlags ){
37912 if( rc==SQLITE_OK && !pCtx->lockProxy ){
37915 if( rc!=SQLITE_OK && rc!=SQLITE_NOMEM && tryOldLockPath ){
37924 if( rc==SQLITE_OK ){
37935 if( rc==SQLITE_OK ){
37947 rc==SQLITE_OK?"ok":"failed"));
37958 int rc = SQLITE_OK; /* Subroutine return code */
37972 (rc==SQLITE_OK ? "ok" : "failed")));
38017 return SQLITE_OK;
38027 int rc = SQLITE_OK;
38036 return SQLITE_OK;
38080 return SQLITE_OK;
38095 int rc = SQLITE_OK;
38117 if( rc==SQLITE_OK ){
38137 rc = SQLITE_OK;
38141 if( rc==SQLITE_OK && lockPath ){
38145 if( rc==SQLITE_OK ){
38151 if( rc==SQLITE_OK ){
38169 (rc==SQLITE_OK ? "ok" : "failed")));
38193 return SQLITE_OK;
38197 int rc = SQLITE_OK;
38208 rc = SQLITE_OK;
38219 rc = SQLITE_OK;
38254 if( rc==SQLITE_OK ){
38293 if( rc==SQLITE_OK ){
38317 if( rc==SQLITE_OK ){
38339 int rc = SQLITE_OK;
38367 return SQLITE_OK;
38484 return SQLITE_OK;
38495 return SQLITE_OK;
39895 rc = SQLITE_OK;
39910 rc = SQLITE_OK;
39968 int rc = SQLITE_OK;
40032 assert( rc!=SQLITE_OK || winMemGetHeap()!=NULL );
40033 assert( rc!=SQLITE_OK || winMemGetOwned() );
40034 assert( rc!=SQLITE_OK || sqlite3_memory_used()==0 );
40331 return SQLITE_OK;
40660 return SQLITE_OK;
40773 assert( errcode!=SQLITE_OK );
41015 return SQLITE_OK;
41386 return rc ? SQLITE_OK
41425 return SQLITE_OK;
41469 return SQLITE_OK;
41503 return SQLITE_OK;
41579 return SQLITE_OK;
41587 int rc = SQLITE_OK; /* Return code for this function */
41690 return SQLITE_OK;
41713 return SQLITE_OK;
41729 int rc = SQLITE_OK;
41888 int rc = SQLITE_OK; /* Return code from subroutines */
41905 return SQLITE_OK;
42012 rc = SQLITE_OK;
42052 return SQLITE_OK;
42069 int rc = SQLITE_OK;
42119 return SQLITE_OK;
42125 return SQLITE_OK;
42131 return SQLITE_OK;
42168 return SQLITE_OK;
42173 return SQLITE_OK;
42178 return SQLITE_OK;
42184 if( rc==SQLITE_OK ){
42196 return SQLITE_OK;
42201 return SQLITE_OK;
42206 return SQLITE_OK;
42211 return SQLITE_OK;
42226 return SQLITE_OK;
42232 return SQLITE_OK;
42242 return SQLITE_OK;
42248 if( rc==SQLITE_OK ){
42257 int rc = SQLITE_OK;
42460 rc = SQLITE_OK;
42537 if( rc==SQLITE_OK ){
42549 if( rc==SQLITE_OK ){
42566 int rc = SQLITE_OK; /* Result code */
42625 if( rc!=SQLITE_OK ){
42633 if( rc!=SQLITE_OK && rc!=SQLITE_READONLY_CANTINIT ) goto shm_open_err;
42683 if( p==0 ) return SQLITE_OK;
42707 return SQLITE_OK;
42723 int rc = SQLITE_OK; /* Result code */
42751 rc = SQLITE_OK;
42755 if( rc==SQLITE_OK ){
42775 if( rc==SQLITE_OK ){
42779 rc = SQLITE_OK;
42784 if( rc==SQLITE_OK ){
42801 if( rc==SQLITE_OK ){
42803 if( rc==SQLITE_OK ){
42862 int rc = SQLITE_OK;
42866 if( rc!=SQLITE_OK ) return rc;
42874 if( rc!=SQLITE_OK ) goto shmpage_out;
42891 if( rc!=SQLITE_OK ){
42906 if( rc!=SQLITE_OK ){
42987 if( pShmNode->isReadonly && rc==SQLITE_OK ) rc = SQLITE_READONLY;
43034 return SQLITE_OK;
43061 if( pFd->nFetchOut>0 ) return SQLITE_OK;
43109 return SQLITE_OK;
43127 return SQLITE_OK;
43136 return SQLITE_OK;
43165 if( rc!=SQLITE_OK ){
43180 return SQLITE_OK;
43223 return SQLITE_OK;
43592 return SQLITE_OK;
43662 int rc = SQLITE_OK; /* Function Return Code */
43727 if( rc!=SQLITE_OK ){
43820 if( rc2==SQLITE_OK && isRO ) break;
43837 if( rc2==SQLITE_OK && isRO ) break;
43857 if( rc2==SQLITE_OK && isRO ) break;
43900 && (rc = winceCreateLock(zName, pFile))!=SQLITE_OK
44010 rc = SQLITE_OK; /* Deleted OK. */
44038 rc = SQLITE_OK; /* Deleted OK. */
44132 return SQLITE_OK;
44260 return SQLITE_OK;
44279 return SQLITE_OK;
44298 return SQLITE_OK;
44359 return SQLITE_OK;
44381 if( winFullPathname(pVfs, zFilename, nFull, zFull)!=SQLITE_OK ){
44578 return SQLITE_OK;
44764 return SQLITE_OK;
44774 return SQLITE_OK;
44951 if( p==0 ) return SQLITE_OK;
44966 return SQLITE_OK;
44982 if( p->u.aHash[h]==i ) return SQLITE_OK;
45011 return SQLITE_OK;
45528 return SQLITE_OK;
45634 if( rc!=SQLITE_OK && rc!=SQLITE_BUSY ){
45640 return *ppPage==0 ? SQLITE_NOMEM_BKPT : SQLITE_OK;
46794 return SQLITE_OK;
48828 # define pagerOpenWalIfPresent(z) SQLITE_OK
48829 # define pagerBeginReadTransaction(z) SQLITE_OK
48894 assert( pPager->errCode==SQLITE_OK );
48899 assert( pPager->errCode==SQLITE_OK );
48906 assert( pPager->errCode==SQLITE_OK );
48918 assert( pPager->errCode==SQLITE_OK );
48937 assert( pPager->errCode==SQLITE_OK );
48950 assert( pPager->errCode==SQLITE_OK );
48964 assert( pPager->errCode!=SQLITE_OK );
49093 if( rc==SQLITE_OK ){
49125 int rc = SQLITE_OK;
49132 rc = pPager->noLock ? SQLITE_OK : sqlite3OsUnlock(pPager->fd, eLock);
49152 int rc = SQLITE_OK;
49156 rc = pPager->noLock ? SQLITE_OK : sqlite3OsLock(pPager->fd, eLock);
49157 if( rc==SQLITE_OK && (pPager->eLock!=UNKNOWN_LOCK||eLock==EXCLUSIVE_LOCK) ){
49298 if( SQLITE_OK!=(rc = sqlite3OsFileSize(pJrnl, &szJ))
49300 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-16, &len))
49304 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-12, &cksum))
49305 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, aMagic, 8, szJ-8))
49307 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, zMaster, len, szJ-16-len))
49326 return SQLITE_OK;
49378 int rc = SQLITE_OK; /* Return code */
49391 if( rc==SQLITE_OK && !pPager->noSync ){
49401 if( rc==SQLITE_OK && iLimit>0 ){
49404 if( rc==SQLITE_OK && sz>iLimit ){
49428 int rc = SQLITE_OK; /* Return code */
49518 for(nWrite=0; rc==SQLITE_OK&&nWrite<JOURNAL_HDR_SZ(pPager); nWrite+=nHeader){
49587 if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+8, pNRec))
49588 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+12, &pPager->cksumInit))
49589 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+16, pDbSize))
49599 if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+20, &iSectorSize))
49600 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+24, &iPageSize))
49635 testcase( rc!=SQLITE_OK );
49684 return SQLITE_OK;
49727 if( SQLITE_OK==(rc = sqlite3OsFileSize(pPager->jfd, &jrnlSize))
49778 int rc = SQLITE_OK; /* Result code */
49785 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
49850 if( rc!=SQLITE_OK && pPager->eState==PAGER_ERROR ){
49868 assert( pPager->errCode==SQLITE_OK || !MEMDB );
49878 pPager->errCode = SQLITE_OK;
49908 assert( rc==SQLITE_OK || !MEMDB );
49911 pPager->errCode==SQLITE_OK ||
50001 int rc = SQLITE_OK; /* Error code from journal finalization operation */
50002 int rc2 = SQLITE_OK; /* Error code from db file unlock operation */
50020 return SQLITE_OK;
50036 rc = SQLITE_OK;
50039 if( rc==SQLITE_OK && pPager->fullSync ){
50087 if( rc==SQLITE_OK ){
50102 assert( rc2==SQLITE_OK );
50103 }else if( rc==SQLITE_OK && bCommit && pPager->dbFileSize>pPager->dbSize ){
50114 if( rc==SQLITE_OK && bCommit && isOpen(pPager->fd) ){
50116 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
50128 return (rc==SQLITE_OK?rc2:rc);
50303 if( rc!=SQLITE_OK ) return rc;
50305 if( rc!=SQLITE_OK ) return rc;
50318 return SQLITE_OK;
50331 if( pDone && (rc = sqlite3BitvecSet(pDone, pgno))!=SQLITE_OK ){
50452 if( rc!=SQLITE_OK ) return rc;
50552 if( rc!=SQLITE_OK ) goto delmaster_out;
50560 if( rc!=SQLITE_OK ) goto delmaster_out;
50569 if( rc!=SQLITE_OK ) goto delmaster_out;
50576 if( rc!=SQLITE_OK ){
50587 if( rc!=SQLITE_OK ){
50593 if( rc!=SQLITE_OK ){
50641 int rc = SQLITE_OK;
50654 if( rc==SQLITE_OK && currentSize!=newSize ){
50664 if( rc==SQLITE_OK ){
50801 if( rc!=SQLITE_OK ){
50818 if( rc==SQLITE_OK && zMaster[0] ){
50822 if( rc!=SQLITE_OK || !res ){
50839 if( rc!=SQLITE_OK ){
50841 rc = SQLITE_OK;
50880 if( rc!=SQLITE_OK ){
50895 if( rc==SQLITE_OK ){
50907 rc = SQLITE_OK;
50924 if( rc==SQLITE_OK ){
50949 if( rc==SQLITE_OK ){
50952 testcase( rc!=SQLITE_OK );
50954 if( rc==SQLITE_OK
50959 if( rc==SQLITE_OK ){
50961 testcase( rc!=SQLITE_OK );
50963 if( rc==SQLITE_OK && zMaster[0] && res ){
50968 testcase( rc!=SQLITE_OK );
50998 int rc = SQLITE_OK; /* Return code */
51018 rc = SQLITE_OK;
51089 int rc = SQLITE_OK;
51100 if( rc==SQLITE_OK ){
51137 while( pList && rc==SQLITE_OK ){
51198 if( rc==SQLITE_OK && pPager->pBackup ){
51237 if( rc!=SQLITE_OK || changed ){
51278 if( rc!=SQLITE_OK ){
51293 return SQLITE_OK;
51316 int rc = SQLITE_OK;
51325 if( rc==SQLITE_OK ){
51385 int rc = SQLITE_OK; /* Return code */
51427 while( rc==SQLITE_OK && pPager->journalOff<iHdrOff ){
51440 while( rc==SQLITE_OK && pPager->journalOff<szJ ){
51457 for(ii=0; rc==SQLITE_OK && ii<nJRec && pPager->journalOff<szJ; ii++){
51462 assert( rc!=SQLITE_OK || pPager->journalOff>=szJ );
51475 for(ii=pSavepoint->iSubRec; rc==SQLITE_OK && ii<pPager->nSubRec; ii++){
51483 if( rc==SQLITE_OK ){
51663 assert( rc!=SQLITE_OK || isOpen(pFile) );
51735 int rc = SQLITE_OK;
51759 if( rc==SQLITE_OK ){
51764 if( rc==SQLITE_OK ){
51768 if( rc==SQLITE_OK ){
51779 if( rc==SQLITE_OK ){
51856 int rc = SQLITE_OK;
51870 rc = SQLITE_OK;
52000 int rc = SQLITE_OK;
52004 if( rc==SQLITE_OK ){
52057 return SQLITE_OK;
52156 return SQLITE_OK;
52220 if( rc!=SQLITE_OK ) return rc;
52260 if( rc==SQLITE_OK && 0==memcmp(aMagic, aJournalMagic, 8) ){
52264 if( rc!=SQLITE_OK && rc!=SQLITE_IOERR_SHORT_READ ){
52283 if( rc!=SQLITE_OK ) return rc;
52289 if( rc!=SQLITE_OK ) return rc;
52297 if( rc!=SQLITE_OK ) return rc;
52304 if( rc!=SQLITE_OK ) return rc;
52318 return SQLITE_OK;
52354 int rc = SQLITE_OK; /* Return code */
52367 assert( pPager->tempFile && rc==SQLITE_OK );
52374 assert( rc!=SQLITE_OK || isOpen(pPager->fd) );
52375 if( rc==SQLITE_OK
52384 while( rc==SQLITE_OK && pList ){
52446 int rc = SQLITE_OK;
52472 int rc = SQLITE_OK;
52488 if( rc==SQLITE_OK ){
52501 if( rc==SQLITE_OK ){
52506 if( rc==SQLITE_OK ){
52517 return SQLITE_OK;
52542 int rc = SQLITE_OK;
52563 if( NEVER(pPager->errCode) ) return SQLITE_OK;
52571 return SQLITE_OK;
52578 if( rc==SQLITE_OK ){
52586 if( rc!=SQLITE_OK ) return pager_error(pPager, rc);
52598 if( rc==SQLITE_OK ){
52605 if( rc==SQLITE_OK ){
52621 while( rc==SQLITE_OK && pList ){
52676 int rc = SQLITE_OK; /* Return code */
52729 if( rc==SQLITE_OK && nPathname+8>pVfs->mxPathname ){
52738 if( rc!=SQLITE_OK ){
52816 if( rc==SQLITE_OK ){
52871 if( rc==SQLITE_OK ){
52874 testcase( rc!=SQLITE_OK );
52878 if( rc==SQLITE_OK ){
52887 if( rc!=SQLITE_OK ){
52948 return SQLITE_OK;
52961 if( pPager->tempFile ) return SQLITE_OK;
52962 if( pPager->dbSize==0 ) return SQLITE_OK;
52969 rc = SQLITE_OK;
52970 }else if( rc==SQLITE_OK && bHasMoved ){
53010 int rc = SQLITE_OK; /* Return code */
53026 if( rc==SQLITE_OK && exists ){
53038 if( rc==SQLITE_OK && !locked ){
53043 if( rc==SQLITE_OK ){
53054 if( pagerLockDb(pPager, RESERVED_LOCK)==SQLITE_OK ){
53070 if( rc==SQLITE_OK ){
53074 rc = SQLITE_OK;
53091 rc = SQLITE_OK;
53129 int rc = SQLITE_OK; /* Return code */
53138 assert( pPager->errCode==SQLITE_OK );
53147 if( rc!=SQLITE_OK ){
53158 if( rc!=SQLITE_OK ){
53183 if( rc!=SQLITE_OK ){
53205 if( rc==SQLITE_OK && bExists ){
53210 assert( rc!=SQLITE_OK || isOpen(pPager->jfd) );
53211 if( rc==SQLITE_OK && fout&SQLITE_OPEN_READONLY ){
53227 assert( rc==SQLITE_OK );
53229 if( rc==SQLITE_OK ){
53237 if( rc!=SQLITE_OK ){
53285 if( rc!=SQLITE_OK ){
53312 assert( pPager->pWal==0 || rc==SQLITE_OK );
53317 assert( rc==SQLITE_OK );
53321 if( pPager->tempFile==0 && pPager->eState==PAGER_OPEN && rc==SQLITE_OK ){
53326 if( rc!=SQLITE_OK ){
53415 int rc = SQLITE_OK;
53420 assert( pPager->errCode==SQLITE_OK );
53430 if( rc!=SQLITE_OK ) goto pager_acquire_err;
53447 return SQLITE_OK;
53491 if( rc!=SQLITE_OK ){
53497 return SQLITE_OK;
53500 assert( rc!=SQLITE_OK );
53517 int rc = SQLITE_OK;
53544 assert( pPager->errCode==SQLITE_OK );
53548 if( rc!=SQLITE_OK ){
53558 if( rc==SQLITE_OK && pData ){
53568 assert( rc==SQLITE_OK );
53570 return SQLITE_OK;
53573 if( rc!=SQLITE_OK ){
53591 assert( pPager->errCode!=SQLITE_OK );
53690 int rc = SQLITE_OK; /* Return code */
53727 if( rc==SQLITE_OK ){
53733 assert( rc!=SQLITE_OK || isOpen(pPager->jfd) );
53740 if( rc==SQLITE_OK ){
53750 if( rc!=SQLITE_OK ){
53779 int rc = SQLITE_OK;
53794 if( rc!=SQLITE_OK ){
53813 if( rc==SQLITE_OK && exFlag ){
53818 if( rc==SQLITE_OK ){
53835 assert( rc==SQLITE_OK || pPager->eState==PAGER_READER );
53836 assert( rc!=SQLITE_OK || pPager->eState==PAGER_WRITER_LOCKED );
53873 if( rc!=SQLITE_OK ) return rc;
53875 if( rc!=SQLITE_OK ) return rc;
53877 if( rc!=SQLITE_OK ) return rc;
53891 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
53893 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
53906 int rc = SQLITE_OK;
53932 if( rc!=SQLITE_OK ) return rc;
53951 if( rc!=SQLITE_OK ){
53997 int rc = SQLITE_OK; /* Return code */
54032 for(ii=0; ii<nPage && rc==SQLITE_OK; ii++){
54038 if( rc==SQLITE_OK ){
54060 if( rc==SQLITE_OK && needSync ){
54097 return SQLITE_OK;
54174 int rc = SQLITE_OK;
54206 assert( pPgHdr==0 || rc==SQLITE_OK );
54213 if( !DIRECT_MODE && ALWAYS(rc==SQLITE_OK) ){
54217 if( rc==SQLITE_OK ){
54226 if( rc==SQLITE_OK ){
54230 if( rc==SQLITE_OK ){
54257 int rc = SQLITE_OK;
54262 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
54264 if( rc==SQLITE_OK && !pPager->noSync ){
54285 if( rc==SQLITE_OK ){
54329 int rc = SQLITE_OK; /* Return code */
54348 if( pPager->eState<PAGER_WRITER_CACHEMOD ) return SQLITE_OK;
54368 assert( rc==SQLITE_OK );
54373 if( rc==SQLITE_OK ){
54435 if( rc==SQLITE_OK ){
54444 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54449 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54456 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54470 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54478 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54482 if( rc==SQLITE_OK ){
54489 if( rc!=SQLITE_OK ){
54505 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54517 if( rc==SQLITE_OK && !pagerUseWal(pPager) ){
54540 int rc = SQLITE_OK; /* Return code */
54570 return SQLITE_OK;
54606 int rc = SQLITE_OK; /* Return code */
54615 if( pPager->eState<=PAGER_READER ) return SQLITE_OK;
54621 if( rc==SQLITE_OK ) rc = rc2;
54639 assert( pPager->eState==PAGER_READER || rc!=SQLITE_OK );
54640 assert( rc==SQLITE_OK || rc==SQLITE_FULL || rc==SQLITE_CORRUPT
54750 int rc = SQLITE_OK; /* Return code */
54801 return SQLITE_OK;
54840 if( op==SAVEPOINT_RELEASE ) rc = SQLITE_OK;
54846 if( rc==SQLITE_OK && iSavepoint<pPager->nSavepoint ){
54867 assert( rc==SQLITE_OK );
55061 && SQLITE_OK!=(rc = subjournalPageIfRequired(pPg))
55133 if( rc!=SQLITE_OK ){
55145 return SQLITE_OK;
55286 int rc = SQLITE_OK;
55293 assert( rc==SQLITE_OK );
55296 if( rc==SQLITE_OK ){
55299 if( rc==SQLITE_OK && state==PAGER_READER ){
55384 int rc = SQLITE_OK;
55419 if( rc!=SQLITE_OK ){
55435 int rc = SQLITE_OK;
55452 if( rc==SQLITE_OK ){
55483 int rc = SQLITE_OK; /* Return code */
55498 if( rc==SQLITE_OK ){
55519 int rc = SQLITE_OK;
55530 if( rc==SQLITE_OK ){
55535 if( rc==SQLITE_OK && logexists ){
55543 if( rc==SQLITE_OK && pPager->pWal ){
55545 if( rc==SQLITE_OK ){
55575 int rc = SQLITE_OK;
56175 int rc = SQLITE_OK;
56201 assert( pWal->apWiData[iPage]!=0 || rc!=SQLITE_OK || pWal->writeLock==0 );
56202 testcase( pWal->apWiData[iPage]==0 && rc==SQLITE_OK );
56206 rc = SQLITE_OK;
56213 assert( iPage==0 || *ppPage || rc!=SQLITE_OK );
56441 if( pWal->exclusiveMode ) return SQLITE_OK;
56446 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
56457 if( pWal->exclusiveMode ) return SQLITE_OK;
56462 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
56512 assert( rc==SQLITE_OK || iHash>0 );
56514 if( rc==SQLITE_OK ){
56646 if( rc==SQLITE_OK ){
56742 if( rc==SQLITE_OK ){
56744 if( rc!=SQLITE_OK ){
56757 if( rc!=SQLITE_OK ){
56775 if( rc!=SQLITE_OK ){
56834 if( rc!=SQLITE_OK ) break;
56838 if( rc!=SQLITE_OK ) break;
56856 if( rc==SQLITE_OK ){
56976 if( rc==SQLITE_OK && flags&SQLITE_OPEN_READONLY ){
56980 if( rc!=SQLITE_OK ){
57209 int rc = SQLITE_OK; /* Return Code */
57239 for(i=0; rc==SQLITE_OK && i<nSegment; i++){
57245 if( rc==SQLITE_OK ){
57271 if( rc!=SQLITE_OK ){
57379 int rc = SQLITE_OK; /* Return code */
57397 if( rc!=SQLITE_OK ){
57426 if( rc==SQLITE_OK ){
57439 && (rc = walBusyLock(pWal, xBusy, pBusyArg, WAL_READ_LOCK(0),1))==SQLITE_OK
57452 if( rc==SQLITE_OK ){
57455 if( rc==SQLITE_OK && nSize<nReq ){
57462 while( rc==SQLITE_OK && 0==walIteratorNext(pIter, &iDbpage, &iFrame) ){
57475 if( rc!=SQLITE_OK ) break;
57479 if( rc!=SQLITE_OK ) break;
57483 if( rc==SQLITE_OK ){
57488 if( rc==SQLITE_OK ){
57492 if( rc==SQLITE_OK ){
57504 rc = SQLITE_OK;
57513 if( rc==SQLITE_OK && eMode!=SQLITE_CHECKPOINT_PASSIVE ){
57522 if( rc==SQLITE_OK ){
57559 if( rx==SQLITE_OK && (sz > nMax ) ){
57578 int rc = SQLITE_OK;
57591 && SQLITE_OK==(rc = sqlite3OsLock(pWal->pDbFd, SQLITE_LOCK_EXCLUSIVE))
57599 if( rc==SQLITE_OK ){
57726 if( rc!=SQLITE_OK ){
57764 if( SQLITE_OK==(rc = walLockShared(pWal, WAL_WRITE_LOCK)) ){
57768 }else if( SQLITE_OK==(rc = walLockExclusive(pWal, WAL_WRITE_LOCK, 1)) ){
57770 if( SQLITE_OK==(rc = walIndexPage(pWal, 0, &page0)) ){
57794 if( rc!=SQLITE_OK ){
57855 if( rc!=SQLITE_OK ){
57884 assert( rc!=SQLITE_OK ); /* SQLITE_OK not possible for read-only connection */
57900 if( rc!=SQLITE_OK ){
57911 rc = (pWal->hdr.mxFrame==0 ? SQLITE_OK : WAL_RETRY);
57917 if( rc!=SQLITE_OK ){
57952 if( rc!=SQLITE_OK ) break;
57968 if( rc!=SQLITE_OK ){
58036 int rc = SQLITE_OK; /* Return code */
58072 assert( rc==SQLITE_OK );
58094 }else if( SQLITE_OK==(rc = walLockShared(pWal, WAL_RECOVER_LOCK)) ){
58101 if( rc!=SQLITE_OK ){
58122 if( rc==SQLITE_OK ){
58141 return SQLITE_OK;
58173 if( rc==SQLITE_OK ){
58265 if( rc==SQLITE_OK ){
58271 if( rc==SQLITE_OK ){
58287 if( rc!=SQLITE_OK ) break;
58295 if( rc==SQLITE_OK ){
58299 if( rc!=SQLITE_OK || 0==memcmp(pBuf1, pBuf2, szPage) ){
58350 testcase( rc==SQLITE_OK );
58353 if( rc==SQLITE_OK ){
58387 if( rc==SQLITE_OK ){
58409 if( rc!=SQLITE_OK ){
58459 return SQLITE_OK;
58497 if( rc!=SQLITE_OK ){
58532 return SQLITE_OK;
58626 return SQLITE_OK;
58642 int rc = SQLITE_OK;
58653 ALWAYS(rc==SQLITE_OK) && iFrame<=iMax;
58696 int rc = SQLITE_OK;
58733 int rc = SQLITE_OK;
58743 if( rc==SQLITE_OK ){
58769 testcase( rc==SQLITE_OK );
58852 int rc = SQLITE_OK; /* Return code */
58878 for(; rc==SQLITE_OK && iRead<=iLast; iRead++){
58881 if( rc==SQLITE_OK ){
58940 if( SQLITE_OK!=(rc = walRestartLog(pWal)) ){
58971 if( rc!=SQLITE_OK ){
59009 assert( rc==SQLITE_OK || iWrite==0 );
59073 assert( rc==SQLITE_OK );
59097 for(p=pList; p && rc==SQLITE_OK; p=p->pDirty){
59102 while( rc==SQLITE_OK && nExtra>0 ){
59108 if( rc==SQLITE_OK ){
59193 if( rc==SQLITE_OK ){
59198 rc = SQLITE_OK;
59203 if( rc==SQLITE_OK ){
59211 if( rc==SQLITE_OK ){
59220 if( rc==SQLITE_OK || rc==SQLITE_BUSY ){
59241 return (rc==SQLITE_OK && eMode!=eMode2 ? SQLITE_BUSY : rc);
59299 if( walLockShared(pWal, WAL_READ_LOCK(pWal->readLock))!=SQLITE_OK ){
59334 int rc = SQLITE_OK;
60220 if( sqlite3_mutex_try(p->pBt->mutex)==SQLITE_OK ){
60510 return SQLITE_OK;
60526 #define querySharedCacheTableLock(a,b,c) SQLITE_OK
60527 #define setSharedCacheTableLock(a,b,c) SQLITE_OK
60712 return SQLITE_OK;
60744 return SQLITE_OK;
60784 assert( SQLITE_OK==querySharedCacheTableLock(p, iTable, eLock) );
60817 return SQLITE_OK;
61010 int rc = SQLITE_OK;
61018 if( rc==SQLITE_OK && pgno<=sqlite3BitvecSize(pBt->pHasContent) ){
61073 int rc = SQLITE_OK;
61088 if( rc==SQLITE_OK ){
61122 if( rc==SQLITE_OK ){
61164 return SQLITE_OK;
61181 if( SQLITE_OK!=rc ){
61191 return SQLITE_OK;
61256 if( rc==SQLITE_OK ){
61271 SQLITE_OK)
61329 return SQLITE_OK;
61406 if( rc!=SQLITE_OK ){
61421 if( rc==SQLITE_OK ){
61466 return SQLITE_OK;
61471 #define ptrmapGet(w,x,y,z) SQLITE_OK
61918 return SQLITE_OK;
62000 int rc = SQLITE_OK; /* Integer return code */
62041 return SQLITE_OK;
62070 return SQLITE_OK;
62177 return SQLITE_OK;
62238 return SQLITE_OK;
62381 return SQLITE_OK;
62463 return SQLITE_OK;
62533 if( rc!=SQLITE_OK ){
62548 return SQLITE_OK;
62605 if( rc==SQLITE_OK ){
62688 int rc = SQLITE_OK; /* Result code from this function */
62822 if( rc==SQLITE_OK ){
62826 if( rc!=SQLITE_OK ){
62934 if( rc!=SQLITE_OK ){
62961 assert( rc!=SQLITE_OK || sqlite3BtreeConnectionCount(*ppBtree)>0 );
63070 sqlite3BtreeRollback(p, SQLITE_OK, 0);
63102 return SQLITE_OK;
63118 return SQLITE_OK;
63152 return SQLITE_OK;
63174 return SQLITE_OK;
63199 int rc = SQLITE_OK;
63331 int rc = SQLITE_OK;
63412 if( rc!=SQLITE_OK ) return rc;
63414 if( rc!=SQLITE_OK ) return rc;
63462 if( rc!=SQLITE_OK ){
63468 return SQLITE_OK;
63565 return SQLITE_OK;
63629 return SQLITE_OK;
63658 return SQLITE_OK;
63712 int rc = SQLITE_OK;
63764 if( SQLITE_OK!=rc ) goto trans_begun;
63776 while( pBt->pPage1==0 && SQLITE_OK==(rc = lockBtree(pBt)) );
63778 if( rc==SQLITE_OK && wrflag ){
63783 if( rc==SQLITE_OK ){
63789 if( rc!=SQLITE_OK ){
63795 if( rc==SQLITE_OK ){
63828 if( rc==SQLITE_OK ){
63837 if( rc==SQLITE_OK && wrflag ){
63865 rc = pPage->isInit ? SQLITE_OK : btreeInitPage(pPage);
63866 if( rc!=SQLITE_OK ) return rc;
63916 rc = pPage->isInit ? SQLITE_OK : btreeInitPage(pPage);
63950 return SQLITE_OK;
63985 if( rc!=SQLITE_OK ){
64000 if( rc!=SQLITE_OK ){
64007 if( rc!=SQLITE_OK ){
64019 if( rc!=SQLITE_OK ){
64023 if( rc!=SQLITE_OK ){
64029 if( rc==SQLITE_OK ){
64073 if( rc!=SQLITE_OK ){
64090 if( rc!=SQLITE_OK ){
64103 if( rc!=SQLITE_OK ){
64121 if( rc!=SQLITE_OK ){
64131 if( rc!=SQLITE_OK ){
64144 return SQLITE_OK;
64195 if( rc==SQLITE_OK ){
64199 if( rc==SQLITE_OK ){
64221 int rc = SQLITE_OK;
64249 for(iFree=nOrig; iFree>nFin && rc==SQLITE_OK; iFree--){
64252 if( (rc==SQLITE_DONE || rc==SQLITE_OK) && nFree>0 ){
64260 if( rc!=SQLITE_OK ){
64270 # define setChildPtrmaps(x) SQLITE_OK
64300 int rc = SQLITE_OK;
64307 if( rc!=SQLITE_OK ){
64390 if( p->inTrans==TRANS_NONE ) return SQLITE_OK;
64403 if( rc!=SQLITE_OK && bCleanup==0 ){
64414 return SQLITE_OK;
64424 if( rc==SQLITE_OK ){
64459 int rc = SQLITE_OK;
64468 if( rc!=SQLITE_OK ){
64502 assert( tripCode==SQLITE_ABORT_ROLLBACK || tripCode==SQLITE_OK );
64504 if( tripCode==SQLITE_OK ){
64508 rc = SQLITE_OK;
64512 assert( rc==SQLITE_OK || (writeOnly==0 && rc2==SQLITE_OK) );
64513 if( rc2!=SQLITE_OK ) rc = rc2;
64522 if( rc2!=SQLITE_OK ){
64529 if( btreeGetPage(pBt, 1, &pPage1, 0)==SQLITE_OK ){
64597 int rc = SQLITE_OK;
64606 if( rc==SQLITE_OK ){
64609 if( rc==SQLITE_OK ){
64726 return SQLITE_OK;
64798 return SQLITE_OK;
64914 int rc = SQLITE_OK;
64937 if( rc==SQLITE_OK && eType==PTRMAP_OVERFLOW2 && pgno==ovfl ){
64946 if( rc==SQLITE_OK ){
64948 assert( rc==SQLITE_OK || pPage==0 );
64949 if( rc==SQLITE_OK ){
64960 return (rc==SQLITE_DONE ? SQLITE_OK : rc);
64984 if( rc!=SQLITE_OK ){
64992 return SQLITE_OK;
65032 int rc = SQLITE_OK;
65075 if( rc==SQLITE_OK && amt>0 ){
65115 assert( rc==SQLITE_OK && amt>0 );
65186 if( rc==SQLITE_OK ){
65203 if( rc==SQLITE_OK && amt>0 ){
65429 int rc = SQLITE_OK;
65454 assert( pCur->skipNext!=SQLITE_OK );
65461 if( rc!=SQLITE_OK ){
65516 int rc = SQLITE_OK;
65521 while( rc==SQLITE_OK && !(pPage = pCur->pPage)->leaf ){
65541 int rc = SQLITE_OK;
65555 return SQLITE_OK;
65568 if( rc==SQLITE_OK ){
65575 rc = SQLITE_OK;
65602 return SQLITE_OK;
65606 if( rc==SQLITE_OK ){
65610 if( rc==SQLITE_OK ){
65618 rc = SQLITE_OK;
65676 return SQLITE_OK;
65681 return SQLITE_OK;
65690 if( rc==SQLITE_OK ){
65693 return SQLITE_OK;
65696 rc = SQLITE_OK;
65720 return SQLITE_OK;
65778 return SQLITE_OK;
65859 rc = SQLITE_OK;
65875 rc = SQLITE_OK;
65965 if( rc!=SQLITE_OK ){
65976 return SQLITE_OK;
66010 return SQLITE_OK;
66014 return SQLITE_OK;
66034 return SQLITE_OK;
66070 if( rc!=SQLITE_OK ){
66081 return SQLITE_OK;
66110 rc = SQLITE_OK;
66129 return SQLITE_OK;
66284 if( rc!=SQLITE_OK ){
66302 if( rc!=SQLITE_OK ){
66306 if( rc!=SQLITE_OK ){
66382 if( rc==SQLITE_OK ){
66384 if( rc!=SQLITE_OK ){
66431 if( rc==SQLITE_OK ){
66447 if( rc!=SQLITE_OK ){
66459 assert( rc!=SQLITE_OK || sqlite3PagerPageRefcount((*ppPage)->pDbPage)<=1 );
66460 assert( rc!=SQLITE_OK || (*ppPage)->isInit==0 );
66534 if( rc!=SQLITE_OK ){
66565 if( rc==SQLITE_OK ){
66584 if( pPage==0 && SQLITE_OK!=(rc = btreeGetPage(pBt, iPage, &pPage, 0)) ){
66588 if( rc!=SQLITE_OK ){
66605 if( (*pRC)==SQLITE_OK ){
66629 return SQLITE_OK; /* No overflow pages. Return without doing anything */
66681 return SQLITE_OK;
66750 return SQLITE_OK;
66843 if( pBt->autoVacuum && rc==SQLITE_OK ){
66875 return SQLITE_OK;
66955 assert( *pRC==SQLITE_OK );
66993 if( rc!=SQLITE_OK ){
67130 return SQLITE_OK;
67348 return SQLITE_OK;
67414 if( rc==SQLITE_OK ){
67464 if( rc==SQLITE_OK ){
67540 if( (*pRC)==SQLITE_OK ){
67566 if( rc!=SQLITE_OK ){
67633 int rc = SQLITE_OK; /* The return code */
68039 if( rc!=SQLITE_OK ){
68221 if( rc!=SQLITE_OK ) goto balance_cleanup;
68308 testcase( rc!=SQLITE_OK );
68311 || rc!=SQLITE_OK
68336 if( ISAUTOVACUUM && rc==SQLITE_OK && apNew[0]->isInit ){
68395 if( rc==SQLITE_OK ){
68425 return SQLITE_OK;
68439 int rc = SQLITE_OK;
68461 if( rc==SQLITE_OK ){
68479 if( rc==SQLITE_OK ){
68549 }while( rc==SQLITE_OK );
68607 assert( pCur->skipNext!=SQLITE_OK );
68718 assert( rc==SQLITE_OK ); /* clearCell never fails when nLocal==nPayload */
68721 return SQLITE_OK;
68733 assert( pPage->nOverflow==0 || rc==SQLITE_OK );
68734 assert( rc!=SQLITE_OK || pPage->nCell>0 || pPage->nOverflow>0 );
68758 assert( rc==SQLITE_OK );
68768 if( (flags & BTREE_SAVEPOSITION) && rc==SQLITE_OK ){
68913 if( rc==SQLITE_OK ){
68936 if( rc==SQLITE_OK && pCur->iPage>iCellDepth ){
68946 if( rc==SQLITE_OK ){
68964 if( rc==SQLITE_EMPTY ) rc = SQLITE_OK;
69031 if( rc!=SQLITE_OK ){
69050 if( rc!=SQLITE_OK ){
69056 if( rc!=SQLITE_OK ){
69063 if( rc!=SQLITE_OK ){
69073 if( rc!=SQLITE_OK ){
69077 if( rc!=SQLITE_OK ){
69081 if( rc!=SQLITE_OK ){
69122 return SQLITE_OK;
69211 if( SQLITE_OK==rc ){
69284 if( rc!=SQLITE_OK ){
69295 if( rc!=SQLITE_OK ){
69300 if( rc!=SQLITE_OK ){
69307 if( rc!=SQLITE_OK ){
69367 assert( SQLITE_OK==querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK) );
69402 if( rc==SQLITE_OK ){
69432 return SQLITE_OK;
69438 while( rc==SQLITE_OK ){
69586 if( rc!=SQLITE_OK ){
70160 int rc = SQLITE_OK;
70231 assert( rc==SQLITE_OK || rc==SQLITE_LOCKED_SHAREDCACHE );
70244 int rc = SQLITE_OK;
70253 if( rc==SQLITE_OK ){
70280 if( rc!=SQLITE_OK ){
70297 assert( rc==SQLITE_OK );
70345 if( rc==SQLITE_OK ){
70349 if( rc==SQLITE_OK ){
70351 if( rc==SQLITE_OK ){
70533 return SQLITE_OK;
70596 || checkReadTransaction(pDestDb, p->pDest)!=SQLITE_OK
70622 return (rc!=SQLITE_OK && rc!=SQLITE_BUSY && ALWAYS(rc!=SQLITE_LOCKED));
70648 int rc = SQLITE_OK;
70680 if( rc==SQLITE_OK && newPgsz!=nSrcPgsz ) rc = SQLITE_READONLY;
70688 for(iOff=iEnd-(i64)nSrcPgsz; rc==SQLITE_OK && iOff<iEnd; iOff+=nDestPgsz){
70692 if( SQLITE_OK==(rc = sqlite3PagerGet(pDestPager, iDest, &pDestPg, 0))
70693 && SQLITE_OK==(rc = sqlite3PagerWrite(pDestPg))
70729 if( rc==SQLITE_OK && iCurrent>iSize ){
70780 rc = SQLITE_OK;
70787 if( rc==SQLITE_OK && 0==sqlite3BtreeIsInReadTrans(p->pSrc) ){
70798 if( p->bDestLocked==0 && rc==SQLITE_OK && setDestPgsz(p)==SQLITE_NOMEM ){
70803 if( SQLITE_OK==rc && p->bDestLocked==0
70804 && SQLITE_OK==(rc = sqlite3BtreeBeginTrans(p->pDest, 2))
70815 if( SQLITE_OK==rc && destMode==PAGER_JOURNALMODE_WAL && pgszSrc!=pgszDest ){
70829 if( rc==SQLITE_OK ){
70836 if( rc==SQLITE_OK ){
70856 if( rc==SQLITE_OK || rc==SQLITE_DONE ){
70859 if( rc==SQLITE_OK ){
70867 if( rc==SQLITE_OK ){
70925 for(iPg=nDestTruncate; rc==SQLITE_OK && iPg<=(Pgno)nDstPage; iPg++){
70929 if( rc==SQLITE_OK ){
70935 if( rc==SQLITE_OK ){
70943 rc==SQLITE_OK && iOff<iEnd;
70949 if( rc==SQLITE_OK ){
70955 if( rc==SQLITE_OK ){
70960 if( rc==SQLITE_OK ){
70969 if( SQLITE_OK==rc
70970 && SQLITE_OK==(rc = sqlite3BtreeCommitPhaseTwo(p->pDest, 0))
70986 assert( rc2==SQLITE_OK );
71011 if( p==0 ) return SQLITE_OK;
71032 sqlite3BtreeRollback(p->pDest, SQLITE_OK, 0);
71035 rc = (p->rc==SQLITE_DONE) ? SQLITE_OK : p->rc;
71112 if( rc!=SQLITE_OK ){
71162 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
71188 assert( b.rc!=SQLITE_OK );
71191 if( rc==SQLITE_OK ){
71324 return SQLITE_OK;
71335 assert(rc==SQLITE_OK || rc==SQLITE_NOMEM);
71336 assert(rc==SQLITE_OK || pMem->enc!=desiredEnc);
71391 return SQLITE_OK;
71416 return SQLITE_OK;
71430 return SQLITE_OK;
71454 return SQLITE_OK;
71481 return SQLITE_OK;
71493 return SQLITE_OK; /* Nothing to do */
71547 return SQLITE_OK;
71775 return SQLITE_OK;
71788 return SQLITE_OK;
71820 return SQLITE_OK;
72065 int rc = SQLITE_OK;
72130 return SQLITE_OK;
72194 return SQLITE_OK;
72220 if( SQLITE_OK==(rc = sqlite3VdbeMemClearAndResize(pMem, amt+1)) ){
72222 if( rc==SQLITE_OK ){
72240 int rc = SQLITE_OK; /* Return code */
72281 if( sqlite3VdbeMemMakeWriteable(pVal)!=SQLITE_OK ){
72432 int rc = SQLITE_OK; /* Return code */
72445 return SQLITE_OK;
72456 if( apVal[i]==0 || rc!=SQLITE_OK ) goto value_from_function_out;
72466 assert( pCtx->pParse->rc==SQLITE_OK );
72476 assert( rc==SQLITE_OK );
72478 if( rc==SQLITE_OK && sqlite3VdbeMemTooBig(pVal) ){
72486 if( rc!=SQLITE_OK ){
72500 # define valueFromFunction(a,b,c,d,e,f) SQLITE_OK
72526 int rc = SQLITE_OK;
72545 testcase( rc!=SQLITE_OK );
72585 if( SQLITE_OK==valueFromExpr(db,pExpr->pLeft,enc,affinity,&pVal,pCtx)
72738 int rc = SQLITE_OK;
72815 int rc = SQLITE_OK;
72905 return SQLITE_OK;
73112 return (pNew ? SQLITE_OK : SQLITE_NOMEM_BKPT);
74618 int rc = SQLITE_OK; /* Return code */
74625 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY || p->rc==SQLITE_NOMEM );
74670 p->rc = SQLITE_OK;
74702 if( p->rc!=SQLITE_OK ){
74715 if( rc==SQLITE_OK ){
74789 p->rc = SQLITE_OK;
74913 p->rc = SQLITE_OK;
75217 int rc = SQLITE_OK;
75241 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
75270 if( rc!=SQLITE_OK ){
75294 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
75306 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
75312 if( rc==SQLITE_OK ){
75356 }while( rc==SQLITE_OK && res );
75357 if( rc==SQLITE_OK ){
75364 if( rc!=SQLITE_OK ){
75385 if( rc!=SQLITE_OK ){
75398 && SQLITE_OK!=(rc = sqlite3OsSync(pMaster, SQLITE_SYNC_NORMAL))
75416 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
75424 if( rc!=SQLITE_OK ){
75509 int rc = SQLITE_OK;
75518 int rc2 = SQLITE_OK;
75524 if( rc2==SQLITE_OK ){
75527 if( rc==SQLITE_OK ){
75535 if( rc==SQLITE_OK ){
75539 if( rc==SQLITE_OK ){
75557 return SQLITE_OK;
75582 return SQLITE_OK;
75620 return SQLITE_OK;
75671 if( p->rc==SQLITE_OK ){
75685 if( p->rc==SQLITE_OK || (p->errorAction==OE_Fail && !isSpecialError) ){
75687 if( rc!=SQLITE_OK ){
75703 }else if( rc!=SQLITE_OK ){
75705 sqlite3RollbackAll(db, SQLITE_OK);
75714 sqlite3RollbackAll(db, SQLITE_OK);
75719 if( p->rc==SQLITE_OK || p->errorAction==OE_Fail ){
75740 if( p->rc==SQLITE_OK || (p->rc&0xff)==SQLITE_CONSTRAINT ){
75792 return (p->rc==SQLITE_BUSY ? SQLITE_BUSY : SQLITE_OK);
75801 p->rc = SQLITE_OK;
75835 if( sqlite3GlobalConfig.xSqllog && v->rc==SQLITE_OK && v->zSql && v->pc>=0 ){
75950 int rc = SQLITE_OK;
76076 return SQLITE_OK;
76106 return SQLITE_OK;
76130 return SQLITE_OK;
76137 return SQLITE_OK;
77451 return SQLITE_OK;
77500 return SQLITE_OK;
77823 rc = SQLITE_OK;
77848 rc = SQLITE_OK;
77868 int rc = SQLITE_OK;
77894 if( ExpandBlob(p)!=SQLITE_OK ){
78011 if( sqlite3VdbeMemMakeWriteable(pNew)!=SQLITE_OK ){
78206 return SQLITE_OK;
78243 int rc = SQLITE_OK;
78253 if( nEntry>0 && db->xWalCallback && rc==SQLITE_OK ){
78345 p->rcApp = SQLITE_OK;
78364 assert( p->rc==SQLITE_OK );
78366 if( p->rc!=SQLITE_OK ){
78406 int rc = SQLITE_OK; /* Result from sqlite3Step() */
78421 if( rc!=SQLITE_OK ){
79036 sqlite3Error(p->db, SQLITE_OK);
79051 return SQLITE_OK;
79070 if( rc==SQLITE_OK ){
79074 if( rc==SQLITE_OK && encoding!=0 ){
79123 if( rc==SQLITE_OK ){
79136 if( rc==SQLITE_OK ){
79146 if( rc==SQLITE_OK ){
79161 if( rc==SQLITE_OK ){
79240 if( rc==SQLITE_OK ){
79309 return SQLITE_OK;
79482 int rc = SQLITE_OK;
79507 if( rc==SQLITE_OK ){
79511 if( rc!=SQLITE_OK ){
79571 int rc = SQLITE_OK;
79593 if( rc!=SQLITE_OK ) goto preupdate_new_out;
79628 if( rc!=SQLITE_OK ) goto preupdate_new_out;
80129 if( SQLITE_OK==sqlite3VdbeMemClearAndResize(pMem, nByte) ){
80565 int rc = SQLITE_OK; /* Value to return */
80591 assert( p->rc==SQLITE_OK || (p->rc&0xff)==SQLITE_BUSY );
80638 assert( rc==SQLITE_OK );
80948 if( pOp->p1==SQLITE_OK && p->pFrame ){
80990 assert( rc==SQLITE_BUSY || rc==SQLITE_OK || rc==SQLITE_ERROR );
80994 assert( rc==SQLITE_OK || (p->rc&0xff)==SQLITE_CONSTRAINT );
80995 assert( rc==SQLITE_OK || db->nDeferredCons>0 || db->nDeferredImmCons>0 );
81058 assert( rc==SQLITE_OK || rc==SQLITE_TOOBIG );
81059 if( SQLITE_OK!=sqlite3VdbeChangeEncoding(pOut, encoding) ) goto no_mem;
81076 assert( rc==SQLITE_OK );
81336 if( SQLITE_OK!=(rc = sqlite3VdbeCheckFk(p, 0)) ){
81359 assert( rc==SQLITE_OK );
82525 if( rc!=SQLITE_OK ) goto abort_due_to_error;
82595 assert( rc==SQLITE_OK );
82648 if( rc!=SQLITE_OK ) goto abort_due_to_error;
82946 if( rc!=SQLITE_OK ) goto abort_due_to_error;
83001 if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){
83022 if( rc!=SQLITE_OK ) goto abort_due_to_error;
83029 if( rc!=SQLITE_OK ){
83067 if( rc!=SQLITE_OK ) goto abort_due_to_error;
83109 }else if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){
83122 if( p->rc==SQLITE_OK ){
83193 if( rc!=SQLITE_OK ){
83213 if( rc==SQLITE_OK ){
83527 assert( rc==SQLITE_OK );
83577 if( rc==SQLITE_OK ){
83580 if( rc==SQLITE_OK ){
83590 if( rc==SQLITE_OK ){
83883 if( rc!=SQLITE_OK ){
83926 if( rc!=SQLITE_OK ){
83943 if( rc!=SQLITE_OK ){
83945 rc = SQLITE_OK;
83959 if( rc!=SQLITE_OK ){
83961 rc = SQLITE_OK;
84088 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
84109 if( rc!=SQLITE_OK ){
84202 assert( rc==SQLITE_OK || res==0 );
84210 assert( rc==SQLITE_OK );
84298 if( rc!=SQLITE_OK ){
84356 0, &res))==SQLITE_OK)
84696 assert( rc!=SQLITE_OK || (pOut->flags & MEM_Blob) );
84759 if( rc!=SQLITE_OK ) goto abort_due_to_error;
85111 VdbeBranchTaken(rc==SQLITE_OK,2);
85112 if( rc==SQLITE_OK ){
85121 rc = SQLITE_OK;
85283 if( NEVER(rc!=SQLITE_OK) ) goto abort_due_to_error;
85288 if( rc!=SQLITE_OK ){
85607 initData.rc = SQLITE_OK;
85610 if( rc==SQLITE_OK ) rc = initData.rc;
86324 rc = SQLITE_OK;
86406 if( rc==SQLITE_OK ){
86419 if( rc==SQLITE_OK ){
86471 rc = SQLITE_OK;
86570 assert( rc==SQLITE_OK );
86899 if( rc==SQLITE_OK && pOp->p1 ){
86905 rc = SQLITE_OK;
87273 assert( rc!=SQLITE_OK || nExtraDelete==0
87404 rc = SQLITE_OK;
87408 if( rc==SQLITE_OK ){
87416 assert( rc!=SQLITE_OK || zErr==0 );
87437 int rc = SQLITE_OK;
87641 if( rc==SQLITE_OK && db->mallocFailed==0 ){
87671 rc = SQLITE_OK;
87801 if( rc!=SQLITE_OK ){
87809 assert( rc==SQLITE_OK || p->pStmt==0 );
88314 return SQLITE_OK;
88338 if( rc!=SQLITE_OK ) return rc;
88381 if( rc!=SQLITE_OK ) return rc;
88390 return SQLITE_OK;
88418 return SQLITE_OK;
88431 int rc = SQLITE_OK;
88436 testcase( rc!=SQLITE_OK );
88453 int rc = SQLITE_OK;
88467 if( rc==SQLITE_OK && pReadr->aMap==0 ){
88475 if( rc==SQLITE_OK && iBuf ){
88483 testcase( rc!=SQLITE_OK );
88495 int rc = SQLITE_OK; /* Return Code */
88504 if( rc==SQLITE_OK && pIncr->bEof==0 ){
88515 testcase( rc!=SQLITE_OK );
88520 if( rc==SQLITE_OK ){
88523 if( rc==SQLITE_OK ){
88526 testcase( rc!=SQLITE_OK );
88556 if( rc==SQLITE_OK ){
88563 if( rc==SQLITE_OK ){
88754 int rc = SQLITE_OK;
88923 int rc = SQLITE_OK;
88970 if( rc==SQLITE_OK ) rc = rc2;
88976 # define vdbeSorterJoinThread(pTask) SQLITE_OK
89042 (void)vdbeSorterJoinAll(pSorter, SQLITE_OK);
89126 if( rc==SQLITE_OK ){
89148 return SQLITE_OK;
89218 if( rc!=SQLITE_OK ) return rc;
89258 assert( pTask->pUnpacked->errCode==SQLITE_OK
89364 int rc = SQLITE_OK; /* Return code */
89380 assert( rc!=SQLITE_OK || pTask->file.pFd );
89386 if( rc==SQLITE_OK ){
89391 if( rc==SQLITE_OK ){
89395 if( rc==SQLITE_OK ){
89414 assert( rc!=SQLITE_OK || pList->pList==0 );
89415 assert( rc!=SQLITE_OK || pTask->file.iEof==iSz );
89438 if( rc==SQLITE_OK ){
89490 return (rc==SQLITE_OK ? pTask->pUnpacked->errCode : rc);
89516 int rc = SQLITE_OK;
89539 if( rc!=SQLITE_OK || pTask->pThread==0 ) break;
89542 if( rc==SQLITE_OK ){
89583 int rc = SQLITE_OK; /* Return Code */
89634 assert( rc!=SQLITE_OK || pSorter->list.pList==0 );
89687 int rc = SQLITE_OK;
89699 while( rc==SQLITE_OK ){
89718 if( rc==SQLITE_OK ) rc = rc2;
89763 int rc = SQLITE_OK;
89769 if( rc==SQLITE_OK ){
89775 if( rc==SQLITE_OK ){
89806 int rc = SQLITE_OK;
89925 int rc = SQLITE_OK; /* Return code */
89949 if( rc!=SQLITE_OK ) return rc;
89992 int rc = SQLITE_OK;
90005 if( rc==SQLITE_OK ){
90010 if( rc==SQLITE_OK ){
90021 if( rc==SQLITE_OK ){
90030 if( rc==SQLITE_OK && pIncr->bUseThread ){
90046 if( rc==SQLITE_OK && (SQLITE_MAX_WORKER_THREADS==0 || eMode!=INCRINIT_TASK) ){
90081 int rc = SQLITE_OK; /* Return code */
90118 int rc = SQLITE_OK;
90123 for(i=0; i<nPMA && rc==SQLITE_OK; i++){
90130 if( rc!=SQLITE_OK ){
90173 int rc = SQLITE_OK;
90185 for(i=1; i<nDepth && rc==SQLITE_OK; i++){
90197 if( rc==SQLITE_OK ){
90203 if( rc==SQLITE_OK ){
90227 int rc = SQLITE_OK;
90241 for(iTask=0; rc==SQLITE_OK && iTask<pSorter->nTask; iTask++){
90256 for(i=0; i<pTask->nPMA && rc==SQLITE_OK; i += SORTER_MAX_MERGE_COUNT){
90262 if( rc==SQLITE_OK ){
90268 if( rc==SQLITE_OK ){
90284 if( rc!=SQLITE_OK ){
90315 if( rc==SQLITE_OK ){
90323 if( rc==SQLITE_OK ){
90328 if( rc==SQLITE_OK ){
90330 if( rc==SQLITE_OK ){
90339 for(iTask=0; rc==SQLITE_OK && iTask<pSorter->nTask; iTask++){
90359 if( rc==SQLITE_OK ){
90371 if( rc!=SQLITE_OK ){
90385 int rc = SQLITE_OK; /* Return code */
90419 if( rc==SQLITE_OK ){
90449 if( rc==SQLITE_OK && pSorter->pReader->pFd==0 ) rc = SQLITE_DONE;
90457 if( rc==SQLITE_OK && res ) rc = SQLITE_DONE;
90464 rc = pSorter->list.pList ? SQLITE_OK : SQLITE_DONE;
90514 return SQLITE_OK;
90561 return SQLITE_OK;
90566 return SQLITE_OK;
90703 return SQLITE_OK;
90729 if( rc==SQLITE_OK ){
90741 if( rc==SQLITE_OK ){
90746 if( rc!=SQLITE_OK ){
90775 if( rc==SQLITE_OK ){
90830 return SQLITE_OK;
90850 return SQLITE_OK;
90859 return SQLITE_OK;
90870 return SQLITE_OK;
90879 return SQLITE_OK;
90949 return SQLITE_OK;
90968 int rc = SQLITE_OK;
91868 if( auth!=SQLITE_OK ){
92596 if( pExpr==0 ) return SQLITE_OK;
93329 int rc = SQLITE_OK;
96830 v, OP_Halt, SQLITE_OK, OE_Ignore, 0, pExpr->u.zToken,0);
98470 if( SQLITE_OK!=isSystemTable(pParse, pTab->zName) ){
98473 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){ goto
98702 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
98703 if( rc!=SQLITE_OK ){
98794 if( SQLITE_OK!=isSystemTable(pParse, pTab->zName) ){
100251 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
100663 if( rc==SQLITE_OK ) initAvgEq(pPrevIdx);
100672 int rc = SQLITE_OK; /* Result codes from subroutines */
100683 if( rc==SQLITE_OK && sqlite3FindTable(db, "sqlite_stat3", zDb) ){
100719 int rc = SQLITE_OK;
100763 if( rc==SQLITE_OK && OptimizationEnabled(db, SQLITE_Stat34) ){
100822 int rc = SQLITE_OK;
100911 if( rc!=SQLITE_OK ){
100926 }else if( rc==SQLITE_OK ){
100949 if( rc==SQLITE_OK && pNew->zDbSName==0 ){
100955 if( rc==SQLITE_OK ){
100991 if( rc==SQLITE_OK ){
100997 if( rc==SQLITE_OK ){
101111 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pFilename)) ||
101112 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pDbname)) ||
101113 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pKey))
101127 if(rc!=SQLITE_OK ){
101443 return SQLITE_OK;
101474 if( db->init.busy ) return SQLITE_OK;
101485 }else if( rc!=SQLITE_IGNORE && rc!=SQLITE_OK ){
101571 return SQLITE_OK;
101575 return SQLITE_OK;
101597 }else if( rc!=SQLITE_OK && rc!=SQLITE_IGNORE ){
101774 if( pParse->rc==SQLITE_OK ) pParse->rc = SQLITE_ERROR;
101983 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
102439 return SQLITE_OK;
102515 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
102549 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
103250 if( pIdx->nColumn>=N ) return SQLITE_OK;
103265 return SQLITE_OK;
104568 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
104665 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
105133 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
105666 if( rc!=SQLITE_OK ){
105937 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
106156 return SQLITE_OK;
106228 return SQLITE_OK;
106902 assert( rcauth==SQLITE_OK || rcauth==SQLITE_DENY || rcauth==SQLITE_IGNORE );
106974 if( rcauth==SQLITE_OK
109202 assert( rc==SQLITE_NOMEM || rc==SQLITE_OK );
113105 sqlite3VdbeAddOp2(v, OP_Halt, SQLITE_OK, 0);
113153 int rc = SQLITE_OK; /* Return code */
113163 sqlite3Error(db, SQLITE_OK);
113164 while( rc==SQLITE_OK && zSql[0] ){
113170 assert( rc==SQLITE_OK || pStmt==0 );
113171 if( rc!=SQLITE_OK ){
113245 if( rc!=SQLITE_OK && pzErrMsg ){
114422 if( rc==SQLITE_OK_LOAD_PERMANENTLY ) return SQLITE_OK;
114443 return SQLITE_OK;
114484 return SQLITE_OK;
114525 int rc = SQLITE_OK;
114596 if( sqlite3_initialize()==SQLITE_OK )
115452 return SQLITE_OK;
115465 if( db->temp_store==ts ) return SQLITE_OK;
115466 if( invalidateTempStorage( pParse ) != SQLITE_OK ){
115470 return SQLITE_OK;
115709 if( rc==SQLITE_OK ){
116015 if( rc==SQLITE_OK && (eAuto==1 || eAuto==2) ){
116026 { OP_Halt, SQLITE_OK, OE_Abort, 0}, /* 3 */
116168 rc = SQLITE_OK;
116170 if( rc==SQLITE_OK ){
116217 if( rc!=SQLITE_OK || res==0 ){
116261 if( rc!=SQLITE_OK || res==0 ){
116306 if( res!=SQLITE_OK ){
117374 if( zRight && sqlite3DecOrHexToI64(zRight, &N)==SQLITE_OK ){
117391 && sqlite3DecOrHexToI64(zRight, &N)==SQLITE_OK
117419 SQLITE_FCNTL_LOCKSTATE, &j)==SQLITE_OK ){
117551 if( rc==SQLITE_OK ){
117576 return SQLITE_OK;
117593 if( pTab->nHidden==0 ){ return SQLITE_OK; }
117608 return SQLITE_OK;
117613 if( seen[1]==0 ) return SQLITE_OK;
117619 return SQLITE_OK;
117630 return SQLITE_OK;
117649 return SQLITE_OK;
117655 int rc = SQLITE_OK;
117711 if( rc!=SQLITE_OK ){
117741 return SQLITE_OK;
117750 return SQLITE_OK;
117889 if( SQLITE_OK!=rc ){
117967 initData.rc = SQLITE_OK;
117981 rc = SQLITE_OK;
117991 if( rc!=SQLITE_OK ){
118105 if( rc==SQLITE_OK ) rc = initData.rc;
118108 if( rc==SQLITE_OK ){
118117 if( rc==SQLITE_OK || (db->flags&SQLITE_WriteSchema)){
118127 rc = SQLITE_OK;
118185 return SQLITE_OK;
118193 int rc = SQLITE_OK;
118199 if( rc!=SQLITE_OK ){
118233 if( rc!=SQLITE_OK ) return;
118314 int rc = SQLITE_OK; /* Result code */
118396 if( sParse.rc==SQLITE_DONE ) sParse.rc = SQLITE_OK;
118409 if( rc==SQLITE_OK && sParse.pVdbe && sParse.explain ){
118434 if( sParse.pVdbe && (rc!=SQLITE_OK || db->mallocFailed) ){
118486 assert( rc==SQLITE_OK || *ppStmt==0 );
118531 return SQLITE_OK;
118552 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
118570 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 );
118592 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 );
118615 int rc = SQLITE_OK;
118668 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
118680 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
118695 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
120460 return SQLITE_OK;
120965 int rc = SQLITE_OK; /* Success code from a subroutine */
121056 testcase( rc!=SQLITE_OK );
121126 testcase( rc!=SQLITE_OK );
121204 testcase( rc!=SQLITE_OK );
122702 return SQLITE_OK;
122966 return SQLITE_OK;
124892 res.rc = SQLITE_OK;
124915 if( rc!=SQLITE_OK ){
125133 if( !zName || SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
125472 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
125849 if( SQLITE_OK==sqlite3ResolveExprNames(&sNC, pWhen)
127039 if( rc!=SQLITE_OK ) return rc;
127046 if( rc!=SQLITE_OK ) break;
127050 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
127131 int rc = SQLITE_OK; /* Return code from service routines */
127187 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127221 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127223 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127254 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127260 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127276 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127325 if( NEVER(rc!=SQLITE_OK) ) goto end_of_vacuum;
127329 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127331 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127337 assert( rc==SQLITE_OK );
127455 int rc = SQLITE_OK;
127464 if( rc!=SQLITE_OK && xDestroy ) xDestroy(pAux);
127928 if( SQLITE_OK!=rc ){
128009 return SQLITE_OK;
128023 if( rc!=SQLITE_OK ){
128051 return SQLITE_OK;
128073 int rc = SQLITE_OK;
128098 if( rc==SQLITE_OK && ALWAYS(sqlite3GetVTable(db, pTab)) ){
128100 if( rc==SQLITE_OK ){
128115 int rc = SQLITE_OK;
128139 if( SQLITE_OK==sqlite3RunParser(&sParse, zCreateTable, &zErr)
128199 int rc = SQLITE_OK;
128217 if( rc==SQLITE_OK ){
128266 int rc = SQLITE_OK;
128270 for(i=0; rc==SQLITE_OK && i<db->nVTrans; i++){
128288 return SQLITE_OK;
128297 return SQLITE_OK;
128309 int rc = SQLITE_OK;
128321 return SQLITE_OK;
128331 return SQLITE_OK;
128338 if( rc==SQLITE_OK ){
128340 if( rc==SQLITE_OK ){
128369 int rc = SQLITE_OK;
128375 for(i=0; rc==SQLITE_OK && i<db->nVTrans; i++){
128589 int rc = SQLITE_OK;
128613 if( rc!=SQLITE_OK ) sqlite3Error(db, rc);
133940 if( rc!=SQLITE_OK ){
134248 int rc = SQLITE_OK;
134261 if( pUpper && rc==SQLITE_OK ){
134269 for(i=0; rc==SQLITE_OK && i<p->nSample; i++){
134271 if( rc==SQLITE_OK && p1 ){
134275 if( rc==SQLITE_OK && p2 ){
134355 int rc = SQLITE_OK;
134424 if( rc==SQLITE_OK && n ){
134441 if( rc==SQLITE_OK && n ){
134454 if( rc==SQLITE_OK ){
134556 return SQLITE_OK;
134561 if( rc!=SQLITE_OK ) return rc;
134600 int rc = SQLITE_OK; /* Subfunction return code */
134606 for(i=0; rc==SQLITE_OK && i<pList->nExpr; i++){
134613 if( rc==SQLITE_OK ){
134767 if( p->nLSlot>=n ) return SQLITE_OK;
134775 return SQLITE_OK;
134794 return SQLITE_OK;
135034 return SQLITE_OK;
135051 return SQLITE_OK;
135293 int rc = SQLITE_OK; /* Return code */
135328 for(; rc==SQLITE_OK && pTerm!=0; pTerm = whereScanNext(&scan)){
135487 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
135488 if( rc!=SQLITE_OK ) break; /* Jump out of the pTerm loop */
135566 && (rc = whereLoopResize(db, pNew, pNew->nLTerm+1))==SQLITE_OK
135717 int rc = SQLITE_OK; /* Return code */
135779 for(pTerm=pWC->a; rc==SQLITE_OK && pTerm<pWCEnd; pTerm++){
135817 for(; rc==SQLITE_OK && pProbe;
135970 int rc = SQLITE_OK;
136136 int rc = SQLITE_OK; /* Return code */
136177 if( rc==SQLITE_OK && (mBest = (pNew->prereq & ~mPrereq))!=0 ){
136199 while( rc==SQLITE_OK ){
136225 if( rc==SQLITE_OK && seenZero==0 ){
136235 if( rc==SQLITE_OK && seenZeroNoIN==0 ){
136261 int rc = SQLITE_OK;
136275 for(pTerm=pWC->a; pTerm<pWCEnd && rc==SQLITE_OK; pTerm++){
136319 if( rc==SQLITE_OK ){
136322 assert( rc==SQLITE_OK || sCur.n==0 );
136348 for(i=0; rc==SQLITE_OK && i<sSum.n; i++){
136384 int rc = SQLITE_OK;
136415 if( rc==SQLITE_OK ){
137185 return SQLITE_OK;
142867 pParse->rc = SQLITE_OK;
142922 if( pParse->rc!=SQLITE_OK || db->mallocFailed ) break;
142942 if( pParse->rc!=SQLITE_OK && pParse->rc!=SQLITE_DONE && pParse->zErrMsg==0 ){
142988 assert( nErr==0 || pParse->rc!=SQLITE_OK );
143530 if( rc!=SQLITE_OK ){
143545 if( sqlite3GlobalConfig.isInit ) return SQLITE_OK;
143570 if( rc==SQLITE_OK ){
143580 if( rc==SQLITE_OK ){
143588 if( rc!=SQLITE_OK ){
143619 if( rc==SQLITE_OK ){
143623 if( rc==SQLITE_OK ){
143655 if ( rc==SQLITE_OK ){
143690 if( rc!=SQLITE_OK ){
143729 return SQLITE_OK;
143743 int rc = SQLITE_OK;
144098 return SQLITE_OK;
144135 return SQLITE_OK;
144144 int rc = SQLITE_OK;
144152 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
144159 rc = SQLITE_OK;
144165 return ((rc==SQLITE_OK && bSeenBusy) ? SQLITE_BUSY : rc);
144180 rc = SQLITE_OK;
144221 rc = SQLITE_OK;
144440 return SQLITE_OK;
144483 return SQLITE_OK;
144530 sqlite3RollbackAll(db, SQLITE_OK);
144596 sqlite3Error(db, SQLITE_OK); /* Deallocates any cached error strings. */
144685 case SQLITE_OK: zName = "SQLITE_OK"; break;
144922 return SQLITE_OK;
144972 return SQLITE_OK;
145038 if( rc==SQLITE_OK ){
145042 if( rc!=SQLITE_OK ){
145088 return SQLITE_OK;
145139 assert( rc!=SQLITE_OK );
145196 int rc = SQLITE_OK;
145262 return SQLITE_OK;
145412 return SQLITE_OK;
145441 return SQLITE_OK;
145483 return SQLITE_OK;
145565 int rc = SQLITE_OK; /* Return code */
145573 for(i=0; i<db->nDb && rc==SQLITE_OK; i++){
145580 rc = SQLITE_OK;
145585 return (rc==SQLITE_OK && bBusy) ? SQLITE_BUSY : rc;
145801 sqlite3Error(db, SQLITE_OK);
145802 return SQLITE_OK;
145950 int rc = SQLITE_OK;
146163 if( rc!=SQLITE_OK ){
146352 if( rc!=SQLITE_OK ){
146362 if( rc!=SQLITE_OK ){
146392 sqlite3Error(db, SQLITE_OK);
146400 if( !db->mallocFailed && rc==SQLITE_OK ){
146408 if( rc==SQLITE_OK ){
146411 if( rc!=SQLITE_OK ){
146424 if( !db->mallocFailed && rc==SQLITE_OK ){
146431 if( !db->mallocFailed && rc==SQLITE_OK ){
146437 if( !db->mallocFailed && rc==SQLITE_OK ){
146443 if( !db->mallocFailed && rc==SQLITE_OK){
146449 if( !db->mallocFailed && rc==SQLITE_OK){
146455 if( !db->mallocFailed && rc==SQLITE_OK){
146461 if( !db->mallocFailed && rc==SQLITE_OK){
146467 if( !db->mallocFailed && rc==SQLITE_OK){
146501 }else if( rc!=SQLITE_OK ){
146513 if( rc==SQLITE_OK ){
146580 if( rc==SQLITE_OK && !DbHasProperty(*ppDb, 0, DB_SchemaLoaded) ){
146640 int rc = SQLITE_OK;
146676 return SQLITE_OK;
146697 return SQLITE_OK;
146707 return SQLITE_OK;
146821 if( SQLITE_OK!=rc ){
146890 if( SQLITE_OK==rc && !pTab ){
146929 return SQLITE_OK;
146954 rc = SQLITE_OK;
146957 rc = SQLITE_OK;
146960 rc = SQLITE_OK;
147432 if( rc==SQLITE_OK ){
147468 if( rc==SQLITE_OK ){
147502 if( rc==SQLITE_OK ){
147727 int rc = SQLITE_OK;
148969 # define sqlite3Fts3DeferToken(x,y,z) SQLITE_OK
148970 # define sqlite3Fts3CacheDeferredDoclists(x) SQLITE_OK
148972 # define sqlite3Fts3DeferredTokenList(x,y,z) SQLITE_OK
149325 return SQLITE_OK;
149371 int rc = SQLITE_OK; /* Return code */
149388 return (rc==SQLITE_OK ? fts3DisconnectMethod(pVtab) : rc);
149402 if( *pRc==SQLITE_OK ){
149444 if( (*pRc)==SQLITE_OK ) p->bHasStat = 1;
149457 int rc = SQLITE_OK; /* Return code */
149522 if( *pRc==SQLITE_OK ){
149532 if( rc==SQLITE_OK ){
149538 rc = SQLITE_OK;
149541 assert( p->nPgsz>0 || rc!=SQLITE_OK );
149586 if( *pRc==SQLITE_OK ){
149762 return SQLITE_OK;
149823 return SQLITE_OK;
149860 int rc = SQLITE_OK; /* Return code */
149869 if( rc!=SQLITE_OK ){
149875 if( rc==SQLITE_OK ){
149937 int rc = SQLITE_OK; /* Return code */
149997 for(i=3; rc==SQLITE_OK && i<argc; i++){
150116 if( rc==SQLITE_OK && zContent ){
150128 if( rc==SQLITE_OK && zLanguageid ){
150141 if( rc!=SQLITE_OK ) goto fts3_init_out;
150152 if( rc!=SQLITE_OK ) goto fts3_init_out;
150161 if( rc!=SQLITE_OK ) goto fts3_init_out;
150248 if( rc==SQLITE_OK && (zCompress==0)!=(zUncompress==0) ){
150255 if( rc!=SQLITE_OK ) goto fts3_init_out;
150289 if( rc!=SQLITE_OK ){
150390 return SQLITE_OK;
150480 return SQLITE_OK;
150500 return SQLITE_OK;
150546 return SQLITE_OK;
150559 int rc = SQLITE_OK;
150572 if( rc==SQLITE_OK ) pCsr->bSeekStmt = 1;
150583 int rc = SQLITE_OK;
150586 if( rc==SQLITE_OK ){
150590 return SQLITE_OK;
150593 if( rc==SQLITE_OK && ((Fts3Table *)pCsr->base.pVtab)->zContentTbl==0 ){
150604 if( rc!=SQLITE_OK && pContext ){
150633 int rc = SQLITE_OK; /* Return code */
150756 int rc = SQLITE_OK; /* Return code */
150763 assert( !piLeaf2 || !piLeaf || rc!=SQLITE_OK || (*piLeaf<=*piLeaf2) );
150765 if( rc==SQLITE_OK && iHeight>1 ){
150771 if( rc==SQLITE_OK ){
150779 if( rc==SQLITE_OK ){
150782 if( rc==SQLITE_OK ){
151379 return SQLITE_OK;
151454 return SQLITE_OK;
151538 if( rc!=SQLITE_OK ){
151554 return SQLITE_OK;
151619 if( rc!=SQLITE_OK ){
151637 return SQLITE_OK;
151658 return SQLITE_OK;
151679 int rc = SQLITE_OK; /* Error code */
151692 if( rc==SQLITE_OK && pSeg ){
151698 if( rc==SQLITE_OK ){
151702 while( rc==SQLITE_OK && SQLITE_ROW==(rc = sqlite3_step(pStmt)) ){
151717 if( rc!=SQLITE_OK ) goto finished;
151726 if( rc!=SQLITE_OK ) goto finished;
151832 if( rc==SQLITE_OK ){
151889 while( SQLITE_OK==rc
151895 if( rc==SQLITE_OK ){
151898 if( rc==SQLITE_OK ){
151957 rc = SQLITE_OK;
152016 int rc = SQLITE_OK;
152073 if( rc!=SQLITE_OK ){
152079 if( rc!=SQLITE_OK ) return rc;
152109 if( rc==SQLITE_OK ){
152113 if( rc!=SQLITE_OK ) return rc;
152140 return SQLITE_OK;
152159 int rc = SQLITE_OK; /* Return Code */
152193 if( rc==SQLITE_OK && sqlite3_data_count(pCsr->pStmt)-1>iCol ){
152249 if( rc==SQLITE_OK
152257 assert( rc==SQLITE_OK || mxLevel==0 );
152274 int rc = SQLITE_OK;
152280 p->bHasStat = (res==SQLITE_OK);
152316 return SQLITE_OK;
152329 return SQLITE_OK;
152390 rc = SQLITE_OK;
152438 }else if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){
152458 if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){
152491 case SQLITE_OK:
152513 if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){
152581 if( rc==SQLITE_OK ){
152621 int rc = SQLITE_OK;
152644 return SQLITE_OK;
152659 return SQLITE_OK;
152725 int rc = SQLITE_OK;
152744 if( rc!=SQLITE_OK ) return rc;
152748 if( rc!=SQLITE_OK ) return rc;
152762 if( rc==SQLITE_OK ){
152778 if( rc==SQLITE_OK ){
152787 if( SQLITE_OK==rc
152789 && SQLITE_OK==(rc = sqlite3Fts3InitHashTable(db, pHash, "fts3_tokenizer"))
152791 && SQLITE_OK==(rc = sqlite3_overload_function(db, "snippet", -1))
152792 && SQLITE_OK==(rc = sqlite3_overload_function(db, "offsets", 1))
152793 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 1))
152794 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 2))
152795 && SQLITE_OK==(rc = sqlite3_overload_function(db, "optimize", 1))
152810 if( rc==SQLITE_OK ){
152815 if( rc==SQLITE_OK ){
152823 assert( rc!=SQLITE_OK );
152853 if( pExpr && SQLITE_OK==*pRc ){
152863 if( rc!=SQLITE_OK ){
152895 int rc = SQLITE_OK;
152958 int rc = SQLITE_OK;
152960 for(iToken=0; rc==SQLITE_OK && iToken<p->nToken; iToken++){
152968 if( rc==SQLITE_OK ){
153004 if( rc!=SQLITE_OK ) return rc;
153010 return SQLITE_OK;
153030 return SQLITE_OK;
153079 return SQLITE_OK;
153102 int rc = SQLITE_OK; /* Error code */
153129 for(i=0; rc==SQLITE_OK && i<p->nToken; i++){
153143 assert( rc!=SQLITE_OK || p->nToken<1 || p->aToken[0].pSegcsr==0 || p->bIncr );
153320 int rc = SQLITE_OK;
153370 int rc = SQLITE_OK;
153398 for(i=0; rc==SQLITE_OK && i<p->nToken && bEof==0; i++){
153405 assert( rc!=SQLITE_OK || (p->nToken>=1 && a[p->nToken-1].bIgnore==0) );
153406 assert( rc!=SQLITE_OK || bMaxSet );
153410 while( rc==SQLITE_OK && bEof==0
153470 int rc = SQLITE_OK;
153509 if( pExpr && SQLITE_OK==*pRc ){
153565 if( *pRc==SQLITE_OK ){
153569 for(i=0; *pRc==SQLITE_OK && i<pPhrase->nToken; i++){
153612 int rc = SQLITE_OK;
153633 if( rc!=SQLITE_OK ) return rc;
153679 int rc = SQLITE_OK; /* Return code */
153693 return SQLITE_OK;
153705 if( nOvfl==0 || nToken<2 ) return SQLITE_OK;
153709 assert( rc!=SQLITE_OK || nDocSize>0 );
153734 for(ii=0; ii<nToken && rc==SQLITE_OK; ii++){
153771 assert( rc==SQLITE_OK || pList==0 );
153772 if( rc==SQLITE_OK ){
153777 if( rc==SQLITE_OK ){
153806 int rc = SQLITE_OK;
153815 if( rc==SQLITE_OK && nToken>1 && pTab->bFts4 ){
153835 if( rc==SQLITE_OK ){
153837 for(ii=0; rc==SQLITE_OK && ii<nOr; ii++){
153964 if( *pRc==SQLITE_OK ){
153992 while( !pLeft->bEof && !pRight->bEof && *pRc==SQLITE_OK ){
154007 while( *pRc==SQLITE_OK && pRight->bEof==0 ){
154014 while( *pRc==SQLITE_OK && pLeft->bEof==0 ){
154058 assert( *pRc!=SQLITE_OK || pRight->bStart );
154124 if( *pRc==SQLITE_OK
154189 if( *pRc==SQLITE_OK ){
154297 if( rc==SQLITE_OK ){
154307 if( rc==SQLITE_OK ){
154317 return (rc==SQLITE_OK && bMiss);
154325 int rc = SQLITE_OK; /* Return Code */
154346 if( rc==SQLITE_OK && (
154370 if( pExpr && *pRc==SQLITE_OK ){
154455 int rc = SQLITE_OK; /* Return code */
154487 while( pCsr->isEof==0 && rc==SQLITE_OK ){
154505 if( rc==SQLITE_OK && pCsr->isEof==0 ){
154526 }while( pRoot->iDocid!=iDocid && rc==SQLITE_OK );
154568 int rc = SQLITE_OK;
154579 if( rc==SQLITE_OK ){
154627 return SQLITE_OK;
154633 int rc = SQLITE_OK;
154652 if( bOr==0 ) return SQLITE_OK;
154660 while( rc==SQLITE_OK && !pNear->bEof ){
154664 assert( rc!=SQLITE_OK || pPhrase->bIncr==0 );
154667 while( rc==SQLITE_OK && !pNear->bEof ){
154671 if( rc!=SQLITE_OK ) return rc;
154715 if( pIter==0 ) return SQLITE_OK;
154725 if( *pIter==0x00 ) return SQLITE_OK;
154734 return SQLITE_OK;
154885 if( rc!=SQLITE_OK ) return rc;
154903 return SQLITE_OK;
154926 return SQLITE_OK;
155000 return SQLITE_OK;
155016 return SQLITE_OK;
155032 return SQLITE_OK;
155048 return SQLITE_OK;
155063 if( pCsr->aStat[pCsr->iCol].nDoc>0 ) return SQLITE_OK;
155080 return SQLITE_OK;
155138 rc = SQLITE_OK;
155232 if( rc==SQLITE_OK ){
155236 if( rc==SQLITE_OK ) rc = fts3auxNextMethod(pCursor);
155286 return SQLITE_OK;
155298 return SQLITE_OK;
155483 assert( rc==SQLITE_OK || pCsr==0 );
155484 if( rc==SQLITE_OK ){
155488 if( rc!=SQLITE_OK ){
155538 if( rc==SQLITE_OK ){
155544 if( rc==SQLITE_OK ){
155580 rc = SQLITE_OK;
155652 if( rc==SQLITE_OK ){
155654 for(ii=0; rc==SQLITE_OK; ii++){
155658 if( rc==SQLITE_OK ){
155709 rc = SQLITE_OK;
155812 return SQLITE_OK;
155840 if( rc==SQLITE_OK && !*ppExpr ){ rc = SQLITE_DONE; }
155962 int rc = SQLITE_OK;
155965 while( rc==SQLITE_OK ){
155970 assert( nByte>0 || (rc!=SQLITE_OK && p==0) );
155971 if( rc==SQLITE_OK ){
156059 assert( rc!=SQLITE_OK || (nByte>0 && nByte<=nIn) );
156069 rc = SQLITE_OK;
156087 if( rc!=SQLITE_OK ){
156101 int rc = SQLITE_OK;
156107 if( rc==SQLITE_OK ){
156127 int rc = SQLITE_OK; /* Return code */
156136 if( rc==SQLITE_OK ){
156146 if( rc==SQLITE_OK ){
156169 if( rc!=SQLITE_OK ) break;
156216 if( rc==SQLITE_OK ){
156264 if( rc==SQLITE_OK ){
156268 if( rc!=SQLITE_OK ){
156281 if( rc!=SQLITE_OK ){
156323 return SQLITE_OK;
156329 assert( rc==SQLITE_OK || *ppExpr==0 );
156332 if( rc==SQLITE_OK && sParse.nNest ){
156380 if( rc==SQLITE_OK && *ppExpr ){
156382 if( rc==SQLITE_OK ){
156387 if( rc!=SQLITE_OK ){
156465 if( rc!=SQLITE_OK ){
156581 assert( rc==SQLITE_NOMEM || rc==SQLITE_OK );
156605 assert( rc==SQLITE_OK || pExpr==0 );
156613 if( rc!=SQLITE_OK && rc!=SQLITE_NOMEM ){
156640 if( rc==SQLITE_OK ){
157110 return SQLITE_OK;
157118 return SQLITE_OK;
157153 return SQLITE_OK;
157164 return SQLITE_OK;
157671 return SQLITE_OK;
157914 assert( rc!=SQLITE_OK || *ppTok );
157915 if( rc!=SQLITE_OK ){
158017 if( SQLITE_OK!=p->xCreate(argc-2, azArg, &pTokenizer) ){
158027 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){
158035 if( SQLITE_OK!=p->xClose(pCsr) ){
158039 if( SQLITE_OK!=p->xDestroy(pTokenizer) ){
158064 if( rc!=SQLITE_OK ){
158088 if( rc!=SQLITE_OK ){
158138 assert( rc==SQLITE_OK );
158148 assert( rc==SQLITE_OK );
158150 assert( rc==SQLITE_OK );
158181 int rc = SQLITE_OK;
158196 if( SQLITE_OK==rc ){
158199 if( SQLITE_OK==rc ){
158203 if( SQLITE_OK==rc ){
158206 if( SQLITE_OK==rc ){
158318 return SQLITE_OK;
158326 return SQLITE_OK;
158361 return SQLITE_OK;
158372 return SQLITE_OK;
158427 return SQLITE_OK;
158552 return SQLITE_OK;
158572 int rc = SQLITE_OK; /* Return code */
158633 if( rc!=SQLITE_OK ) return rc;
158638 if( rc==SQLITE_OK ){
158648 assert( (rc==SQLITE_OK)==(pMod!=0) );
158649 if( rc==SQLITE_OK ){
158654 if( rc==SQLITE_OK ){
158661 if( rc==SQLITE_OK ){
158686 return SQLITE_OK;
158708 return SQLITE_OK;
158715 return SQLITE_OK;
158732 return SQLITE_OK;
158763 return SQLITE_OK;
158780 if( rc!=SQLITE_OK ){
158782 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
158815 if( rc==SQLITE_OK ){
158821 if( rc!=SQLITE_OK ) return rc;
158862 return SQLITE_OK;
158874 return SQLITE_OK;
159001 sqlite3_log(SQLITE_OK, "%d-way merge from level %d", nMerge, (int)iAbsLevel);
159307 int rc = SQLITE_OK;
159329 assert( rc==SQLITE_OK || pStmt==0 );
159336 for(i=0; rc==SQLITE_OK && i<nParam; i++){
159354 if( rc==SQLITE_OK ){
159359 if( rc==SQLITE_OK ) rc = FTS_CORRUPT_VTAB;
159362 rc = SQLITE_OK;
159377 if( rc==SQLITE_OK ){
159383 if( rc==SQLITE_OK ) rc = FTS_CORRUPT_VTAB;
159417 if( rc==SQLITE_OK ){
159440 int rc = SQLITE_OK;
159445 if( rc==SQLITE_OK ){
159527 if( rc==SQLITE_OK ){
159536 if( rc==SQLITE_OK ){
159589 return SQLITE_OK;
159609 int rc = SQLITE_OK;
159620 if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iDelta)) ){
159628 if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, 1))
159629 || SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iCol))
159639 if( rc==SQLITE_OK ){
159672 int rc = SQLITE_OK;
159688 if( rc==SQLITE_OK ){
159730 return SQLITE_OK;
159734 if( rc!=SQLITE_OK ){
159739 while( SQLITE_OK==rc
159740 && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos))
159760 for(i=1; rc==SQLITE_OK && i<p->nIndex; i++){
159771 return (rc==SQLITE_DONE ? SQLITE_OK : rc);
159800 if( rc!=SQLITE_OK ) return rc;
159805 return SQLITE_OK;
159845 if( rc!=SQLITE_OK ){
159851 return SQLITE_OK;
159885 return SQLITE_OK;
159897 if( rc==SQLITE_OK && p->zLanguageid ){
159903 if( rc!=SQLITE_OK ) return rc;
159923 if( rc!=SQLITE_OK ) return rc;
159943 int rc = SQLITE_OK; /* Return code */
159990 if( rc==SQLITE_OK ){
159996 for(i=1; rc==SQLITE_OK && i<=p->nColumn; i++){
160004 if( rc!=SQLITE_OK ){
160055 if( rc==SQLITE_OK ){
160065 if( rc==SQLITE_OK ){
160134 if( rc==SQLITE_OK ){
160148 if( rc!=SQLITE_OK ){
160181 if( rc==SQLITE_OK ){
160194 int rc = SQLITE_OK;
160198 while( pReader->pBlob && rc==SQLITE_OK
160259 return SQLITE_OK;
160268 return SQLITE_OK;
160275 if( rc!=SQLITE_OK ) return rc;
160287 if( rc!=SQLITE_OK ) return rc;
160314 if( rc!=SQLITE_OK ) return rc;
160332 return SQLITE_OK;
160340 int rc = SQLITE_OK;
160353 if( rc==SQLITE_OK ){
160377 int rc = SQLITE_OK;
160420 if( rc!=SQLITE_OK ) return rc;
160444 if( rc==SQLITE_OK ){
160456 return SQLITE_OK;
160468 int rc = SQLITE_OK;
160474 for(ii=0; rc==SQLITE_OK && ii<pMsr->nSegment; ii++){
160483 if( rc!=SQLITE_OK ) break;
160554 return SQLITE_OK;
160610 int rc = SQLITE_OK; /* Return Code */
160826 if( rc==SQLITE_OK ){
160846 if( rc==SQLITE_OK ){
160872 if( rc==SQLITE_OK ){
160982 return SQLITE_OK;
161062 int rc = SQLITE_OK;
161074 for(pIter=pTree->pLeftmost; pIter && rc==SQLITE_OK; pIter=pIter->pRight){
161082 if( rc==SQLITE_OK ){
161153 if( rc!=SQLITE_OK ) return rc;
161159 if( rc!=SQLITE_OK ) return rc;
161178 if( rc!=SQLITE_OK ) return rc;
161195 if( rc!=SQLITE_OK ) return rc;
161254 return SQLITE_OK;
161278 if( rc==SQLITE_OK ){
161282 if( rc==SQLITE_OK ){
161324 rc = SQLITE_OK;
161327 if( rc==SQLITE_OK ){
161362 if( rc!=SQLITE_OK ) return rc;
161391 if( rc!=SQLITE_OK ) return rc;
161413 int rc = SQLITE_OK; /* Return code */
161417 if( rc==SQLITE_OK ){
161449 int rc = SQLITE_OK; /* Return Code */
161453 for(i=0; rc==SQLITE_OK && i<nReader; i++){
161456 if( rc!=SQLITE_OK ){
161463 if( rc==SQLITE_OK ){
161471 if( rc==SQLITE_OK ){
161478 if( rc==SQLITE_OK ){
161557 return SQLITE_OK;
161575 return SQLITE_OK;
161594 while( rc==SQLITE_OK
161602 if( rc!=SQLITE_OK ) return rc;
161607 if( rc!=SQLITE_OK ) return rc;
161625 return SQLITE_OK;
161648 if( rc!=SQLITE_OK ) return rc;
161657 return SQLITE_OK;
161688 if( rc!=SQLITE_OK ) return rc;
161702 if( rc!=SQLITE_OK ) return rc;
161709 return SQLITE_OK;
161740 return SQLITE_OK;
161748 int rc = SQLITE_OK;
161764 if( pCsr->nSegment==0 ) return SQLITE_OK;
161780 if( rc!=SQLITE_OK ) return rc;
161786 assert( rc==SQLITE_OK );
161830 if( rc==SQLITE_OK ) rc = SQLITE_ROW;
161916 }while( rc==SQLITE_OK );
161987 int rc = SQLITE_OK;
161992 if( rc==SQLITE_OK ){
162025 if( rc==SQLITE_OK ){
162028 if( rc==SQLITE_OK ){
162032 if( rc==SQLITE_OK ){
162050 if( rc!=SQLITE_OK ){
162056 if( rc==SQLITE_OK ){
162061 if( rc==SQLITE_OK ){
162107 if( rc!=SQLITE_OK || csr.nSegment==0 ) goto finished;
162111 if( rc!=SQLITE_OK ) goto finished;
162136 if( rc!=SQLITE_OK ) goto finished;
162147 while( SQLITE_OK==rc ){
162153 if( rc!=SQLITE_OK ) goto finished;
162160 if( rc!=SQLITE_OK ) goto finished;
162164 if( rc==SQLITE_OK ){
162182 int rc = SQLITE_OK;
162185 for(i=0; rc==SQLITE_OK && i<p->nIndex; i++){
162187 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
162194 if( rc==SQLITE_OK && p->bHasStat
162199 if( rc==SQLITE_OK ){
162336 if( rc!=SQLITE_OK ){
162379 if( rc==SQLITE_OK ){
162386 for(i=0; rc==SQLITE_OK && i<p->nIndex; i++){
162390 rc = SQLITE_OK;
162395 if( rc==SQLITE_OK ) rc = rc2;
162401 return (rc==SQLITE_OK && bReturnDone && bSeenDone) ? SQLITE_DONE : rc;
162418 if( rc==SQLITE_OK ){
162434 if( rc==SQLITE_OK ){
162446 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
162451 for(iCol=0; rc==SQLITE_OK && iCol<p->nColumn; iCol++){
162461 if( rc!=SQLITE_OK ){
162478 if( rc==SQLITE_OK ){
162515 if( rc==SQLITE_OK ){
162520 for(i=0; rc==SQLITE_OK && sqlite3_step(pStmt)==SQLITE_ROW && i<nSeg; i++){
162532 if( rc==SQLITE_OK ) rc = rc2;
162611 if( *pRc==SQLITE_OK && nMin>pBlob->nAlloc ){
162637 int rc = SQLITE_OK; /* Return code */
162654 if( rc==SQLITE_OK ){
162726 int rc = SQLITE_OK;
162748 if( rc==SQLITE_OK ){
162756 if( rc==SQLITE_OK ){
162782 if( rc!=SQLITE_OK || iNextPtr==0 ) return rc;
162822 int rc = SQLITE_OK; /* Return code */
162833 if( rc!=SQLITE_OK ) return rc;
162855 return SQLITE_OK;
162873 int rc = SQLITE_OK; /* Return code */
162906 if( rc==SQLITE_OK ){
162923 if( rc==SQLITE_OK ){
162993 if( rc==SQLITE_OK ){
163006 if( pNode->block.n>0 && rc==SQLITE_OK ){
163014 if( rc==SQLITE_OK ){
163071 if( rc==SQLITE_OK ){
163108 if( rc==SQLITE_OK ){
163138 if( rc==SQLITE_OK && bAppendable ){
163143 if( rc==SQLITE_OK ){
163146 rc==SQLITE_OK && reader.aNode;
163159 if( rc==SQLITE_OK && bAppendable ){
163179 if( rc==SQLITE_OK ){
163184 for(i=nHeight; i>=0 && rc==SQLITE_OK; i--){
163189 while( reader.aNode && rc==SQLITE_OK ) rc = nodeReaderNext(&reader);
163191 if( rc==SQLITE_OK ){
163201 if( rc==SQLITE_OK ){
163213 if( rc==SQLITE_OK ) rc = rc2;
163237 if( rc==SQLITE_OK ){
163288 if( rc==SQLITE_OK ){
163296 if( rc!=SQLITE_OK ) return rc;
163300 if( rc==SQLITE_OK ){
163308 if( rc!=SQLITE_OK ) return rc;
163314 if( rc!=SQLITE_OK ) return rc;
163324 return SQLITE_OK;
163347 if( rc==SQLITE_OK ){
163375 if( rc==SQLITE_OK ){
163392 if( rc==SQLITE_OK ) rc = rc2;
163395 if( rc==SQLITE_OK ){
163398 if( rc==SQLITE_OK ){
163404 for(i=0; rc==SQLITE_OK && i<nIdx; i++){
163447 int rc = SQLITE_OK; /* Return code */
163452 if( rc!=SQLITE_OK ) return rc;
163457 rc==SQLITE_OK && reader.aNode;
163470 if( rc!=SQLITE_OK ) break;
163499 int rc = SQLITE_OK; /* Return code */
163508 if( rc==SQLITE_OK ){
163519 if( rc==SQLITE_OK ) rc = rc2;
163522 while( rc==SQLITE_OK && iBlock ){
163528 if( rc==SQLITE_OK ){
163531 if( rc==SQLITE_OK ){
163538 if( rc==SQLITE_OK && iNewStart ){
163541 if( rc==SQLITE_OK ){
163549 if( rc==SQLITE_OK ){
163552 if( rc==SQLITE_OK ){
163585 int rc = SQLITE_OK;
163587 for(i=pCsr->nSegment-1; i>=0 && rc==SQLITE_OK; i--){
163602 if( rc==SQLITE_OK ){
163617 if( rc==SQLITE_OK && nRem!=pCsr->nSegment ){
163633 if( rc==SQLITE_OK ){
163657 if( rc==SQLITE_OK ){
163665 if( rc==SQLITE_OK ){
163672 if( rc==SQLITE_OK ) rc = rc2;
163694 if( *pRc==SQLITE_OK ){
163721 return SQLITE_OK;
163753 while( rc==SQLITE_OK && nRem>0 ){
163781 if( rc==SQLITE_OK && hint.n ){
163813 if( rc==SQLITE_OK ){
163825 if( rc==SQLITE_OK ){
163828 if( SQLITE_OK==rc && pCsr->nSegment==nSeg
163829 && SQLITE_OK==(rc = sqlite3Fts3SegReaderStart(p, pCsr, pFilter))
163840 if( rc==SQLITE_OK && pWriter->nLeafEst ){
163844 if( rc==SQLITE_OK ) rc = sqlite3Fts3SegReaderStep(p, pCsr);
163845 if( pWriter->nWork>=nRem && rc==SQLITE_ROW ) rc = SQLITE_OK;
163849 if( rc==SQLITE_OK ){
163872 if( bDirtyHint && rc==SQLITE_OK ){
163928 rc = SQLITE_OK;
163933 if( rc==SQLITE_OK ){
163953 int rc = SQLITE_OK;
164018 assert( *pRc==SQLITE_OK );
164028 if( rc==SQLITE_OK ){
164032 if( rc==SQLITE_OK ){
164082 int rc = SQLITE_OK; /* Return code */
164089 if( rc==SQLITE_OK ){
164093 while( rc==SQLITE_OK && sqlite3_step(pAllLangid)==SQLITE_ROW ){
164101 if( rc==SQLITE_OK ) rc = rc2;
164105 if( rc==SQLITE_OK ){
164118 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
164123 for(iCol=0; rc==SQLITE_OK && iCol<p->nColumn; iCol++){
164130 while( rc==SQLITE_OK ){
164137 if( rc==SQLITE_OK ){
164152 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
164201 if( rc==SQLITE_OK && bOk==0 ) rc = FTS_CORRUPT_VTAB;
164233 rc = SQLITE_OK;
164236 rc = SQLITE_OK;
164239 rc = SQLITE_OK;
164285 int rc = SQLITE_OK; /* Return code */
164298 for(i=0; i<p->nColumn && rc==SQLITE_OK; i++){
164304 while( rc==SQLITE_OK ){
164311 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
164323 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
164327 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
164350 return SQLITE_OK;
164361 return SQLITE_OK;
164386 return SQLITE_OK;
164401 int rc = SQLITE_OK; /* Return code */
164405 if( bFound && rc==SQLITE_OK ){
164408 if( rc==SQLITE_OK ){
164451 int rc = SQLITE_OK; /* Return Code */
164495 if( rc!=SQLITE_OK ) goto update_out;
164542 if( rc!=SQLITE_OK ){
164554 if( nArg>1 && rc==SQLITE_OK ){
164562 if( rc==SQLITE_OK && (!isRemove || *pRowid!=p->iPrevDocid ) ){
164565 if( rc==SQLITE_OK ){
164593 if( rc==SQLITE_OK ){
164595 if( rc==SQLITE_OK || rc==SQLITE_DONE ){
164597 if( rc2!=SQLITE_OK ) rc = rc2;
164866 if( rc==SQLITE_OK && eType!=FTSQUERY_NOT ){
164902 int rc = SQLITE_OK;
164941 return SQLITE_OK;
165083 assert( rc==SQLITE_OK || pCsr==0 );
165094 assert( rc!=SQLITE_OK || (
165139 if( rc!=SQLITE_OK ){
165162 if( rc==SQLITE_OK ){
165232 return SQLITE_OK;
165294 if( rc!=SQLITE_OK ){
165297 while( rc==SQLITE_OK && iCurrent<(nSnippet+nDesired) ){
165302 if( rc!=SQLITE_OK && rc!=SQLITE_DONE ){ return rc; }
165312 return SQLITE_OK;
165348 return SQLITE_OK;
165355 if( rc!=SQLITE_OK ){
165359 while( rc==SQLITE_OK ){
165378 if( rc!=SQLITE_OK ){
165401 if( rc==SQLITE_OK ){
165408 if( rc!=SQLITE_OK || iCurrent<iPos ) continue;
165422 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zOpen, -1);
165423 if( rc==SQLITE_OK ) rc = fts3StringAppend(pOut, &zDoc[iBegin], iFin-iBegin);
165424 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zClose, -1);
165564 int rc = SQLITE_OK;
165569 for(i=0; i<p->nCol && rc==SQLITE_OK; i++){
165597 return SQLITE_OK;
165648 if( rc!=SQLITE_OK ) return rc;
165659 return SQLITE_OK;
165689 return SQLITE_OK;
165753 if( rc!=SQLITE_OK ) return rc;
165789 return SQLITE_OK;
165815 int rc = SQLITE_OK;
165820 for(i=0; rc==SQLITE_OK && zArg[i]; i++){
165845 if( rc==SQLITE_OK ){
165861 if( rc==SQLITE_OK ){
165876 if( rc==SQLITE_OK ){
165894 if( rc!=SQLITE_OK ) break;
165898 if( rc!=SQLITE_OK ) break;
165902 if( rc!=SQLITE_OK ) break;
165928 int rc = SQLITE_OK;
165978 if( rc==SQLITE_OK ){
165985 if( rc==SQLITE_OK ){
165994 if( rc!=SQLITE_OK ){
166016 int rc = SQLITE_OK;
166067 if( rc!=SQLITE_OK ){
166088 for(i=0; i<nSnippet && rc==SQLITE_OK; i++){
166096 if( rc!=SQLITE_OK ){
166176 if( rc!=SQLITE_OK ) goto offsets_out;
166228 if( rc!=SQLITE_OK ) goto offsets_out;
166231 while( rc==SQLITE_OK ){
166254 while( rc==SQLITE_OK && iCurrent<iMinPos ){
166257 if( rc==SQLITE_OK ){
166269 rc = SQLITE_OK;
166273 if( rc!=SQLITE_OK ) goto offsets_out;
166280 if( rc!=SQLITE_OK ){
166429 return SQLITE_OK;
166498 return SQLITE_OK;
166544 int rc = SQLITE_OK;
166551 for(i=0; rc==SQLITE_OK && i<nArg; i++){
166573 if( rc!=SQLITE_OK ){
166612 return SQLITE_OK;
166623 return SQLITE_OK;
166691 return SQLITE_OK;
167702 int rc = SQLITE_OK;
167716 return SQLITE_OK;
167776 if( pNode && rc==SQLITE_OK ){
167782 if( rc==SQLITE_OK ){
167858 int rc = SQLITE_OK;
167870 if( pNode->iNode==0 && rc==SQLITE_OK ){
167883 int rc = SQLITE_OK;
167894 if( rc==SQLITE_OK ){
168023 return SQLITE_OK;
168047 if( rc==SQLITE_OK ){
168066 rc = SQLITE_OK;
168107 return SQLITE_OK;
168331 return SQLITE_OK;
168347 return SQLITE_OK;
168573 int rc = SQLITE_OK;
168632 return SQLITE_OK;
168640 int rc = SQLITE_OK;
168655 int rc = SQLITE_OK;
168657 if( rc==SQLITE_OK && p ){
168671 int rc = SQLITE_OK;
168675 if( p==0 ) return SQLITE_OK;
168690 return SQLITE_OK;
168750 return SQLITE_OK;
168765 int rc = SQLITE_OK;
168784 if( rc==SQLITE_OK && pLeaf!=0 ){
168801 if( rc==SQLITE_OK && argc>0 ){
168821 if( rc!=SQLITE_OK ){
168837 if( rc==SQLITE_OK ){
168893 int rc = SQLITE_OK;
168937 return SQLITE_OK;
169110 for(ii=0; rc==SQLITE_OK && ii<(pRtree->iDepth-iHeight); ii++){
169182 return SQLITE_OK;
169444 return SQLITE_OK;
169476 int rc = SQLITE_OK;
169526 if( rc!=SQLITE_OK ){
169535 if( SQLITE_OK!=(rc = nodeWrite(pRtree, pRight))
169536 || (0==pLeft->iNode && SQLITE_OK!=(rc = nodeWrite(pRtree, pLeft)))
169546 if( rc!=SQLITE_OK ){
169553 if( rc==SQLITE_OK ){
169557 if( rc!=SQLITE_OK ){
169571 if( rc!=SQLITE_OK ){
169579 if( rc!=SQLITE_OK ){
169587 if( rc==SQLITE_OK ){
169591 if( rc==SQLITE_OK ){
169615 int rc = SQLITE_OK;
169617 while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){
169618 int rc2 = SQLITE_OK; /* sqlite3_reset() return code */
169637 if( rc==SQLITE_OK ) rc = rc2;
169638 if( rc==SQLITE_OK && !pChild->pParent ) rc = SQLITE_CORRUPT_VTAB;
169656 if( rc==SQLITE_OK ){
169662 if( rc==SQLITE_OK ){
169665 if( rc!=SQLITE_OK ){
169672 if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteNode)) ){
169679 if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteParent)) ){
169692 return SQLITE_OK;
169697 int rc = SQLITE_OK;
169710 if( rc==SQLITE_OK ){
169726 if( SQLITE_OK!=(rc = fixLeafParent(pRtree, pNode)) ){
169767 int rc = SQLITE_OK;
169819 for(ii=0; rc==SQLITE_OK && ii<(nCell-(RTREE_MINCELLS(pRtree)+1)); ii++){
169830 if( rc==SQLITE_OK ){
169833 for(; rc==SQLITE_OK && ii<nCell; ii++){
169840 if( rc==SQLITE_OK ){
169844 if( rc==SQLITE_OK ){
169864 int rc = SQLITE_OK;
169882 if( rc==SQLITE_OK ){
169895 int rc = SQLITE_OK;
169898 for(ii=0; rc==SQLITE_OK && ii<nCell; ii++){
169907 if( rc==SQLITE_OK ){
169911 if( rc==SQLITE_OK ){
169948 if( rc==SQLITE_OK ){
169953 if( rc==SQLITE_OK ){
169956 if( rc==SQLITE_OK ){
169960 if( rc==SQLITE_OK ){
169966 if( rc==SQLITE_OK ){
169980 if( rc==SQLITE_OK && pRtree->iDepth>0 && NCELL(pRoot)==1 ){
169985 if( rc==SQLITE_OK ){
169989 if( rc==SQLITE_OK ) rc = rc2;
169990 if( rc==SQLITE_OK ){
169999 if( rc==SQLITE_OK ){
170007 if( rc==SQLITE_OK ){
170072 if( rc==SQLITE_OK ){
170088 return (rc==SQLITE_OK ? SQLITE_CONSTRAINT : rc);
170103 int rc = SQLITE_OK;
170195 if( rc==SQLITE_OK && nData>1 ){
170205 if( rc==SQLITE_OK ){
170208 if( rc==SQLITE_OK ){
170213 if( rc==SQLITE_OK ){
170231 return SQLITE_OK;
170242 return SQLITE_OK;
170288 return SQLITE_OK;
170306 if( rc!=SQLITE_OK ){
170308 return rc==SQLITE_ERROR ? SQLITE_OK : rc;
170315 if( rc==SQLITE_OK ){
170319 rc = SQLITE_OK;
170322 if( rc==SQLITE_OK ){
170368 int rc = SQLITE_OK;
170405 if( rc!=SQLITE_OK ){
170420 for(i=0; i<N_STATEMENT && rc==SQLITE_OK; i++){
170446 if( rc==SQLITE_OK ){
170483 if( rc==SQLITE_OK ){
170497 if( rc!=SQLITE_OK ){
170527 int rc = SQLITE_OK;
170574 if( rc==SQLITE_OK ){
170593 }else if( SQLITE_OK!=(rc = sqlite3_declare_vtab(db, zSql)) ){
170600 if( rc==SQLITE_OK ){
170722 if( pCheck->rc==SQLITE_OK ) pCheck->rc = rc;
170744 if( pCheck->rc==SQLITE_OK ){
170765 if( pCheck->rc==SQLITE_OK && pCheck->nErr<RTREE_CHECK_MAX_ERROR ){
170799 assert( pCheck->rc==SQLITE_OK );
170807 if( pCheck->rc==SQLITE_OK ){
170821 if( pCheck->rc==SQLITE_OK && pRet==0 ){
170860 if( pCheck->rc!=SQLITE_OK ) return;
171003 if( pCheck->rc==SQLITE_OK ){
171066 if( check.rc==SQLITE_OK ){
171081 if( check.rc==SQLITE_OK ) check.rc = rc;
171141 if( rc==SQLITE_OK ){
171161 if( rc==SQLITE_OK ){
171164 if( rc==SQLITE_OK ){
171167 if( rc==SQLITE_OK ){
171175 if( rc==SQLITE_OK ){
171814 if( rc!=SQLITE_OK ){
171846 int rc = SQLITE_OK;
171849 for(i=0; rc==SQLITE_OK && i<(int)(sizeof(scalars)/sizeof(scalars[0])); i++){
171954 return SQLITE_OK;
171963 return SQLITE_OK;
172038 return SQLITE_OK;
172049 return SQLITE_OK;
172114 return SQLITE_OK;
173454 if( rc!=SQLITE_OK ){
173471 if( rc!=SQLITE_OK ){
173579 if( rc==SQLITE_OK ){
173593 if( rc==SQLITE_OK ){
173604 rc = (pIter->zDataTbl && pIter->zTbl) ? SQLITE_OK : SQLITE_NOMEM;
173611 if( rc==SQLITE_OK ){
173621 rc = pIter->zIdx ? SQLITE_OK : SQLITE_NOMEM;
173628 if( rc!=SQLITE_OK ){
173705 if( rc==SQLITE_OK ){
173732 if( p->rc==SQLITE_OK ){
173757 if( p->rc==SQLITE_OK ){
173781 if( p->rc==SQLITE_OK ){
173827 assert( *pRc==SQLITE_OK );
173851 if( p->rc==SQLITE_OK && rc!=SQLITE_OK ){
173914 assert( p->rc==SQLITE_OK );
173921 if( p->rc!=SQLITE_OK || sqlite3_step(aStmt[0])!=SQLITE_ROW ){
173943 if( p->rc==SQLITE_OK ){
173958 if( p->rc==SQLITE_OK ){
173984 if( p->rc==SQLITE_OK ){
173992 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pList) ){
173999 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
174039 if( p->rc==SQLITE_OK && pIter->eType==RBU_PK_NOTABLE ){
174057 if( p->rc==SQLITE_OK ){
174061 for(i=0; p->rc==SQLITE_OK && i<nCol; i++){
174075 if( p->rc==SQLITE_OK
174089 if( p->rc==SQLITE_OK ){
174094 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
174194 if( rc==SQLITE_OK ){
174201 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
174247 if( rc==SQLITE_OK ) rc = rc2;
174249 if( rc!=SQLITE_OK ){
174285 if( p->rc==SQLITE_OK && pIter->abIndexed ){
174390 if( p->rc==SQLITE_OK ){
174468 if( p->rc==SQLITE_OK ){
174476 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXList) ){
174490 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
174525 if( p->rc==SQLITE_OK && pIter->eType==RBU_PK_EXTERNAL ){
174540 if( p->rc==SQLITE_OK ){
174553 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
174599 if( p->rc==SQLITE_OK && pIter->eType!=RBU_PK_VTAB ){
174606 for(iCol=0; p->rc==SQLITE_OK && iCol<pIter->nTblCol; iCol++){
174678 int rc = SQLITE_OK;
174689 for(i=0; rc==SQLITE_OK && i<nVal; i++){
174692 if( rc==SQLITE_OK ){
174697 if( rc!=SQLITE_OK ){
174713 if( pIter->pSelect==0 && rbuObjIterCacheTableInfo(p, pIter)==SQLITE_OK ){
174750 if( p->rc==SQLITE_OK ){
174758 if( rbuIsVacuum(p)==0 && p->rc==SQLITE_OK ){
174766 if( p->rc==SQLITE_OK ){
174823 if( p->rc==SQLITE_OK ){
174835 if( rbuIsVacuum(p)==0 && p->rc==SQLITE_OK ){
174892 if( p->rc==SQLITE_OK ){
174953 return SQLITE_OK;
175003 if( p->rc==SQLITE_OK ){
175047 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
175097 if( rc==SQLITE_OK ) rc = rc2;
175115 if( p->rc==SQLITE_OK && rbuIsVacuum(p) ){
175133 if( p->rc==SQLITE_OK && rbuIsVacuum(p) ){
175143 if( p->rc==SQLITE_OK ){
175150 if( p->rc==SQLITE_OK
175157 if( p->rc==SQLITE_OK ) p->rc = rc2;
175159 if( p->rc==SQLITE_OK && bOk==0 ){
175164 if( p->rc==SQLITE_OK ){
175171 if( p->rc==SQLITE_OK && rbuIsVacuum(p) ){
175191 if( p->rc==SQLITE_OK && p->dbMain==0 ){
175231 if( p->rc==SQLITE_OK ){
175237 if( p->rc==SQLITE_OK ){
175243 if( p->rc==SQLITE_OK ){
175249 if( p->rc==SQLITE_OK ){
175257 if( p->rc==SQLITE_OK ){
175310 if( p->rc==SQLITE_OK ){
175314 if( p->rc==SQLITE_OK ){
175344 if( p->rc==SQLITE_OK ){
175377 if( p->rc==SQLITE_OK ){
175384 if( p->rc==SQLITE_OK && p->nFrame>0 ){
175391 if( p->rc==SQLITE_OK ){
175445 return SQLITE_OK;
175455 return SQLITE_OK;
175468 assert( p->rc==SQLITE_OK );
175483 assert( p->rc==SQLITE_OK );
175485 if( p->rc==SQLITE_OK ){
175534 assert( p->rc==SQLITE_OK && p->zErrmsg==0 );
175546 if( p->rc==SQLITE_OK ){
175567 p->rc = SQLITE_OK;
175581 p->rc = rename(zOal, zWal) ? SQLITE_IOERR : SQLITE_OK;
175584 if( p->rc==SQLITE_OK ){
175674 assert( p->rc==SQLITE_OK );
175734 if( p->rc==SQLITE_OK ){
175771 if( p->rc==SQLITE_OK ) rbuStepOneOp(p, RBU_INSERT);
175784 for(i=0; p->rc==SQLITE_OK && i<pIter->nCol; i++){
175791 if( p->rc==SQLITE_OK
175799 if( p->rc==SQLITE_OK ){
175817 if( p->rc==SQLITE_OK ){
175825 if( p->rc==SQLITE_OK ){
175836 if( p->rc==SQLITE_OK ){
175848 if( p->rc==SQLITE_OK || p->rc==SQLITE_DONE ){
175878 assert( pInsert==0 || rc==SQLITE_OK );
175880 if( rc==SQLITE_OK ){
175884 if( rc!=SQLITE_OK ) p->rc = rc;
175907 if( p->rc==SQLITE_OK ){
175912 if( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pPragma) ){
175932 if( p->rc==SQLITE_OK ){
175940 while( p->rc==SQLITE_OK && sqlite3_step(pSql)==SQLITE_ROW ){
175945 if( p->rc!=SQLITE_OK ) return;
175947 if( p->rc==SQLITE_OK ){
175953 if( p->rc==SQLITE_OK ){
175959 while( p->rc==SQLITE_OK && sqlite3_step(pSql)==SQLITE_ROW ){
175967 if( p->rc==SQLITE_OK ){
175986 if( rbuIsVacuum(p) && p->nProgress==0 && p->rc==SQLITE_OK ){
175992 while( p->rc==SQLITE_OK && pIter->zTbl ){
176007 if( p->rc==SQLITE_OK ){
176022 if( p->rc==SQLITE_OK ){
176026 if( p->rc==SQLITE_OK ){
176029 if( p->rc==SQLITE_OK ){
176038 if( p->rc==SQLITE_OK ){
176046 if( p->rc==SQLITE_OK ){
176054 if( p->rc==SQLITE_OK ){
176057 if( p->rc==SQLITE_OK ){
176062 if( p->rc==SQLITE_OK ){
176085 && p->rc==SQLITE_OK
176124 assert( p->rc==SQLITE_OK );
176127 int rc = SQLITE_OK;
176129 while( rc==SQLITE_OK && pIter->zTbl && (pIter->bCleanup
176136 if( rc==SQLITE_OK && !pIter->zTbl ){
176141 if( rc==SQLITE_OK ){
176159 assert( pVfs && p->rc==SQLITE_OK && p->zErrmsg==0 );
176175 assert( p->rc==SQLITE_OK );
176179 if( p->rc==SQLITE_OK ){
176219 if( rc!=SQLITE_OK ){
176227 if( rc==SQLITE_OK ){
176253 if( p->rc==SQLITE_OK ){
176265 if( p->rc==SQLITE_OK ){
176270 if( p->rc==SQLITE_OK ){
176277 if( p->rc==SQLITE_OK && bExists ){
176282 if( p->rc==SQLITE_OK ){
176312 if( p->rc==SQLITE_OK ){
176340 if( p->rc==SQLITE_OK ){
176342 assert( pState || p->rc!=SQLITE_OK );
176343 if( p->rc==SQLITE_OK ){
176357 assert( p->rc!=SQLITE_OK || p->eStage!=0 );
176359 if( p->rc==SQLITE_OK && p->pTargetFd->pWalFd ){
176369 if( p->rc==SQLITE_OK
176386 if( p->rc==SQLITE_OK ){
176392 if( p->rc==SQLITE_OK ){
176398 if( p->rc==SQLITE_OK && p->objiter.zTbl==0 ){
176402 if( p->rc==SQLITE_OK && pState->eStage==0 && rbuIsVacuum(p) ){
176409 if( p->rc==SQLITE_OK ){
176416 if( p->rc==SQLITE_OK ){
176418 if( frc==SQLITE_OK ){
176424 if( p->rc==SQLITE_OK ){
176524 if( p->rc==SQLITE_OK && p->eStage==RBU_STAGE_OAL ){
176529 if( p->rc==SQLITE_OK && p->eStage==RBU_STAGE_CKPT ){
176536 if( p->rc==SQLITE_OK && p->eStage==RBU_STAGE_OAL ){
176548 if( rbuIsVacuum(p) && p->rc!=SQLITE_OK && p->dbRbu ){
176550 if( p->rc==SQLITE_DONE && rc2!=SQLITE_OK ) p->rc = rc2;
176640 if( p->rc!=SQLITE_OK && p->rc!=SQLITE_DONE ){
176655 if( rc==SQLITE_DONE ) return SQLITE_OK;
176660 if( rc==SQLITE_OK ) rc = sqlite3_exec(p->dbMain, "COMMIT", 0, 0, 0);
176664 if( rc==SQLITE_OK && p->eStage==RBU_STAGE_CKPT ){
176675 if( rc==SQLITE_OK ) rc = sqlite3_exec(p->dbRbu, "COMMIT", 0, 0, 0);
176676 if( rc==SQLITE_OK ) rc = sqlite3_exec(p->dbRbu, "BEGIN IMMEDIATE", 0, 0, 0);
176677 if( rc==SQLITE_OK ) rc = sqlite3_exec(p->dbMain, "BEGIN IMMEDIATE", 0, 0,0);
176766 return SQLITE_OK;
176912 rc = SQLITE_OK;
176924 && pRbu->rc==SQLITE_OK
176928 if( rc==SQLITE_OK ){
176946 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
176984 if( rc!=SQLITE_OK ) return rc;
176989 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
177007 if( rc!=SQLITE_OK ) return rc;
177021 return SQLITE_OK;
177038 if( rc==SQLITE_OK && *pSize==0
177053 int rc = SQLITE_OK;
177109 if( rc==SQLITE_OK ){
177119 rc = SQLITE_OK;
177132 if( rc==SQLITE_OK && op==SQLITE_FCNTL_VFSNAME ){
177165 int rc = SQLITE_OK;
177189 if( bCapture && rc==SQLITE_OK ){
177209 int rc = SQLITE_OK;
177229 if( rc==SQLITE_OK && p->apShm[iRegion]==0 ){
177239 if( rc==SQLITE_OK ){
177265 int rc = SQLITE_OK;
177339 int rc = SQLITE_OK;
177400 if( rc==SQLITE_OK ){
177456 if( rc==SQLITE_OK && flags==SQLITE_ACCESS_EXISTS ){
177611 int rc = SQLITE_OK;
177644 if( rc!=SQLITE_OK ){
177821 int rc = SQLITE_OK;
177836 if( rc==SQLITE_OK ){
177841 assert( rc==SQLITE_OK || pTab==0 );
177842 if( rc==SQLITE_OK ){
177857 return SQLITE_OK;
177907 return SQLITE_OK;
177927 return SQLITE_OK;
177963 return SQLITE_OK;
178065 if( rc!=SQLITE_OK ){
178077 return SQLITE_OK;
178100 if( fd->pMethods!=0 && sqlite3OsFileControl(fd, 230440, &x)==SQLITE_OK ){
178172 return z==0 ? SQLITE_NOMEM_BKPT : SQLITE_OK;
178203 if( rc==SQLITE_OK ){
178210 if( rc==SQLITE_OK ){
178255 int rc = SQLITE_OK;
178286 if( rc==SQLITE_OK ){
178336 return SQLITE_OK;
178342 return SQLITE_OK;
178377 SQLITE_PRIVATE int sqlite3DbstatRegister(sqlite3 *db){ return SQLITE_OK; }
178455 int rc = SQLITE_OK;
178459 if( rc==SQLITE_OK ){
178464 assert( rc==SQLITE_OK || pTab==0 );
178465 if( rc==SQLITE_OK ){
178479 return SQLITE_OK;
178505 return SQLITE_OK;
178540 return SQLITE_OK;
178559 return SQLITE_OK;
178569 return SQLITE_OK;
178576 int rc = SQLITE_OK;
178617 if( pCsr->iDb<0 ) return SQLITE_OK;
178622 if( pBt==0 ) return SQLITE_OK;
178649 int rc = SQLITE_OK;
178658 if( rc==SQLITE_OK ){
178671 return SQLITE_OK;
178677 return SQLITE_OK;
178689 int rc = SQLITE_OK;
178726 if( rc==SQLITE_OK ){
178728 if( rc==SQLITE_OK ){
178755 return SQLITE_OK;
178791 SQLITE_PRIVATE int sqlite3DbpageRegister(sqlite3 *db){ return SQLITE_OK; }
179187 return SQLITE_OK;
179269 if( rc!=SQLITE_OK ) return rc;
179303 return SQLITE_OK;
179608 assert( rc==SQLITE_OK );
179668 return SQLITE_OK;
179689 return SQLITE_OK;
179742 if( rc==SQLITE_OK ){
179761 if( rc!=SQLITE_OK ) return rc;
179770 if( rc==SQLITE_OK ){
179777 if( rc==SQLITE_OK ){
179806 if( rc==SQLITE_OK ){
179840 if( pSession->rc==SQLITE_OK ){
179871 if( rc==SQLITE_OK && iCol==1 && sqlite3_value_type(pVal)==SQLITE_NULL ){
179881 if( rc==SQLITE_OK && iCol==1 && sqlite3_value_type(pVal)==SQLITE_NULL ){
179912 int rc = SQLITE_OK;
179956 if( rc!=SQLITE_OK ) goto error_out;
179973 assert( rc==SQLITE_OK );
179982 assert( trc==SQLITE_OK );
179985 assert( trc==SQLITE_OK );
179991 if( rc!=SQLITE_OK ) goto error_out;
180044 if( rc!=SQLITE_OK ){
180054 int rc = SQLITE_OK;
180070 if( rc==SQLITE_OK ){
180077 assert( rc==SQLITE_OK || pRet==0 );
180111 assert( pSession->rc==SQLITE_OK );
180162 return SQLITE_OK;
180167 return SQLITE_OK;
180270 int rc = SQLITE_OK;
180278 if( rc==SQLITE_OK ){
180299 int rc = SQLITE_OK;
180317 if( rc==SQLITE_OK ){
180348 if( rc==SQLITE_OK ){
180362 if( rc==SQLITE_OK ){
180369 if( rc==SQLITE_OK ){
180392 if( rc==SQLITE_OK ){
180399 if( rc==SQLITE_OK ){
180404 if( rc==SQLITE_OK ){
180409 if( rc==SQLITE_OK ){
180457 return SQLITE_OK;
180540 int rc = SQLITE_OK;
180589 if( *pRc==SQLITE_OK && p->nAlloc-p->nBuf<nByte ){
180604 return (*pRc!=SQLITE_OK);
180617 if( rc==SQLITE_OK ){
180621 if( rc==SQLITE_OK ){
180753 if( *pRc==SQLITE_OK ){
180816 int rc = SQLITE_OK;
180915 int rc = SQLITE_OK;
180972 int rc = SQLITE_OK;
181004 if( rc==SQLITE_OK ){
181026 int rc = SQLITE_OK;
181029 for(i=0; i<nCol && rc==SQLITE_OK; i++){
181138 if( rc!=SQLITE_OK ) return rc;
181142 for(pTab=pSession->pTable; rc==SQLITE_OK && pTab; pTab=pTab->pNext){
181163 if( rc==SQLITE_OK ){
181169 for(i=0; i<pTab->nChange && rc==SQLITE_OK; i++){
181172 for(p=pTab->apChange[i]; rc==SQLITE_OK && p; p=p->pNext){
181174 if( rc!=SQLITE_OK ) continue;
181189 if( rc==SQLITE_OK ){
181196 && rc==SQLITE_OK
181216 if( rc==SQLITE_OK ){
181360 return SQLITE_OK;
181410 int rc = SQLITE_OK;
181412 while( !pIn->bEof && (pIn->iNext+nByte)>=pIn->nData && rc==SQLITE_OK ){
181416 if( SQLITE_OK==sessionBufferGrow(&pIn->buf, nNew, &rc) ){
181477 return SQLITE_OK;
181511 int rc = SQLITE_OK;
181513 for(i=0; i<nCol && rc==SQLITE_OK; i++){
181517 if( rc==SQLITE_OK ){
181527 if( rc==SQLITE_OK ){
181533 if( rc==SQLITE_OK ){
181570 int rc = SQLITE_OK;
181575 if( rc==SQLITE_OK ){
181581 while( rc==SQLITE_OK ){
181606 int rc = SQLITE_OK;
181609 for(i=0; rc==SQLITE_OK && i<nCol; i++){
181612 if( rc==SQLITE_OK ){
181648 assert( p->rc==SQLITE_OK );
181651 if( rc==SQLITE_OK ){
181662 if( rc==SQLITE_OK ){
181702 if( p->rc!=SQLITE_OK ) return p->rc;
181717 if( p->rc!=SQLITE_OK ) return p->rc;
181754 if( p->rc!=SQLITE_OK ) return p->rc;
181763 if( p->rc!=SQLITE_OK ) return p->rc;
181769 if( p->rc!=SQLITE_OK ) return p->rc;
181819 return SQLITE_OK;
181835 return SQLITE_OK;
181863 return SQLITE_OK;
181891 return SQLITE_OK;
181925 return SQLITE_OK;
181944 return SQLITE_OK;
181955 int rc = SQLITE_OK;
181976 int rc = SQLITE_OK; /* Return value */
182035 assert( rc==SQLITE_OK );
182064 if( rc==SQLITE_OK ){
182088 if( rc!=SQLITE_OK ){
182100 assert( rc==SQLITE_OK );
182104 if( rc!=SQLITE_OK ) goto finished_invert;
182108 assert( rc==SQLITE_OK );
182205 int rc = SQLITE_OK;
182242 if( rc==SQLITE_OK ){
182286 int rc = SQLITE_OK;
182338 if( rc==SQLITE_OK ){
182383 int rc = SQLITE_OK;
182401 if( rc==SQLITE_OK ){
182420 if( rc==SQLITE_OK ){
182427 if( rc==SQLITE_OK ){
182438 if( rc==SQLITE_OK ){
182445 assert( rc==SQLITE_OK );
182494 int rc = SQLITE_OK;
182502 for(i=0; rc==SQLITE_OK && i<nCol; i++){
182546 if( rc==SQLITE_OK ){
182613 rc = SQLITE_OK;
182622 }else if( rc==SQLITE_OK ){
182637 if( rc==SQLITE_OK ){
182695 int rc = SQLITE_OK;
182718 if( rc==SQLITE_OK && sqlite3_bind_parameter_count(p->pDelete)>nCol ){
182721 if( rc!=SQLITE_OK ) return rc;
182725 if( rc==SQLITE_OK && sqlite3_changes(p->db)==0 ){
182739 for(i=0; rc==SQLITE_OK && i<nCol; i++){
182747 if( rc==SQLITE_OK && pNew ){
182751 if( rc==SQLITE_OK ){
182754 if( rc!=SQLITE_OK ) return rc;
182761 if( rc==SQLITE_OK && sqlite3_changes(p->db)==0 ){
182790 if( rc==SQLITE_OK ){
182792 if( rc!=SQLITE_OK ) return rc;
182830 assert( rc==SQLITE_OK || (bRetry==0 && bReplace==0) );
182852 if( rc==SQLITE_OK ){
182857 if( rc==SQLITE_OK ){
182861 if( rc==SQLITE_OK ){
182864 if( rc==SQLITE_OK ){
182883 int rc = SQLITE_OK;
182891 if( rc==SQLITE_OK ){
182900 if( rc==SQLITE_OK ) memset(pIter2->apValue, 0, nByte);
182902 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3changeset_next(pIter2) ){
182907 if( rc==SQLITE_OK ) rc = rc2;
182912 if( rc!=SQLITE_OK ) break;
182956 if( rc==SQLITE_OK ){
182959 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3changeset_next(pIter) ){
182972 if( rc!=SQLITE_OK ) break;
183003 if( rc!=SQLITE_OK ) break;
183058 if( rc==SQLITE_OK ){
183064 if( rc==SQLITE_OK ){
183068 if( rc==SQLITE_OK ){
183084 if( rc==SQLITE_OK ){
183123 if( rc==SQLITE_OK ){
183151 if( rc==SQLITE_OK ){
183287 return SQLITE_OK;
183300 int rc = SQLITE_OK;
183395 if( rc==SQLITE_OK ) rc = pIter->rc;
183424 int rc = SQLITE_OK;
183432 for(pTab=pGrp->pList; rc==SQLITE_OK && pTab; pTab=pTab->pNext){
183446 if( rc==SQLITE_OK && xOutput && buf.nBuf>=SESSIONS_STRM_CHUNK_SIZE ){
183452 if( rc==SQLITE_OK ){
183470 int rc = SQLITE_OK; /* Return code */
183491 if( rc==SQLITE_OK ){
183522 if( rc==SQLITE_OK ){
183565 if( rc==SQLITE_OK ){
183568 if( rc==SQLITE_OK ){
183571 if( rc==SQLITE_OK ){
183594 if( rc==SQLITE_OK ){
183597 if( rc==SQLITE_OK ){
183600 if( rc==SQLITE_OK ){
183861 return SQLITE_OK;
184584 return SQLITE_OK;
185534 if( rc==SQLITE_OK ){
185545 return SQLITE_OK;
185557 return SQLITE_OK;
185563 if( rc==SQLITE_OK ){
185589 return SQLITE_OK;
185636 return SQLITE_OK;
185762 return SQLITE_OK;
185769 return SQLITE_OK;
185812 return SQLITE_OK;
185829 if( idxNum==0 ) return SQLITE_OK;
185831 if( z==0 ) return SQLITE_OK;
185853 if( zRoot==0 ) return SQLITE_OK;
185869 return SQLITE_OK;
185891 return SQLITE_OK;
185956 int rc = SQLITE_OK;
186004 for(i=0; i<sizeof(aFunc)/sizeof(aFunc[0]) && rc==SQLITE_OK; i++){
186010 for(i=0; i<sizeof(aAgg)/sizeof(aAgg[0]) && rc==SQLITE_OK; i++){
186016 for(i=0; i<sizeof(aMod)/sizeof(aMod[0]) && rc==SQLITE_OK; i++){
188889 int rc = SQLITE_OK;
188893 while( rc==SQLITE_OK && pIter->iInst<pIter->nInst ){
188896 if( rc==SQLITE_OK ){
188933 if( rc==SQLITE_OK ){
188973 if( *pRc==SQLITE_OK ){
188992 int rc = SQLITE_OK;
188997 if( tflags & FTS5_TOKEN_COLOCATED ) return SQLITE_OK;
189001 if( iPos<p->iRangeStart || iPos>p->iRangeEnd ) return SQLITE_OK;
189018 if( rc==SQLITE_OK ){
189061 if( rc==SQLITE_OK ){
189065 if( rc==SQLITE_OK ){
189070 if( rc==SQLITE_OK ){
189075 if( rc!=SQLITE_OK ){
189111 return SQLITE_OK;
189127 int rc = SQLITE_OK;
189174 for(i=0; i<nInst && rc==SQLITE_OK; i++){
189176 if( rc==SQLITE_OK && ic==iCol && iOff>=iPos && iOff<(iPos+nToken) ){
189216 int rc = SQLITE_OK; /* Return code */
189251 if( rc==SQLITE_OK ){
189264 if( rc!=SQLITE_OK ) break;
189268 if( rc!=SQLITE_OK ) break;
189270 if( rc!=SQLITE_OK ) break;
189272 for(ii=0; rc==SQLITE_OK && ii<nInst; ii++){
189279 if( ic!=i || rc!=SQLITE_OK ) continue;
189284 if( rc==SQLITE_OK && nScore>nBestScore ){
189291 if( rc==SQLITE_OK && sFinder.nFirst && nDocsize>nToken ){
189303 if( rc==SQLITE_OK && nScore>nBestScore ){
189315 if( rc==SQLITE_OK ){
189318 if( rc==SQLITE_OK && nColSize==0 ){
189322 if( rc==SQLITE_OK ){
189335 while( ctx.iter.iStart>=0 && ctx.iter.iStart<iBestStart && rc==SQLITE_OK ){
189339 if( rc==SQLITE_OK ){
189348 if( rc==SQLITE_OK ){
189384 return SQLITE_OK;
189397 int rc = SQLITE_OK; /* Return code */
189422 if( rc==SQLITE_OK ) rc = pApi->xRowCount(pFts, &nRow);
189423 if( rc==SQLITE_OK ) rc = pApi->xColumnTotalSize(pFts, -1, &nToken);
189424 if( rc==SQLITE_OK ) p->avgdl = (double)nToken / (double)nRow;
189427 for(i=0; rc==SQLITE_OK && i<nPhrase; i++){
189430 if( rc==SQLITE_OK ){
189450 if( rc!=SQLITE_OK ){
189455 if( rc!=SQLITE_OK ) p = 0;
189473 int rc = SQLITE_OK; /* Error code */
189484 if( rc==SQLITE_OK ){
189489 for(i=0; rc==SQLITE_OK && i<nInst; i++){
189492 if( rc==SQLITE_OK ){
189499 if( rc==SQLITE_OK ){
189506 for(i=0; rc==SQLITE_OK && i<pData->nPhrase; i++){
189515 if( rc==SQLITE_OK ){
189533 int rc = SQLITE_OK; /* Return code */
189536 for(i=0; rc==SQLITE_OK && i<ArraySize(aBuiltin); i++){
189654 if( *pRc==SQLITE_OK ){
189672 if( *pRc==SQLITE_OK ){
189793 return SQLITE_OK;
189798 if( *pRc==SQLITE_OK ){
189819 if( *pRc==SQLITE_OK ){
189876 int rc = SQLITE_OK;
189887 int rc = SQLITE_OK;
190166 return iVal<0 ? SQLITE_ERROR : SQLITE_OK;
190185 int rc = SQLITE_OK;
190375 assert( *pRc==SQLITE_OK );
190410 int rc = SQLITE_OK;
190434 int rc = SQLITE_OK;
190473 int rc = SQLITE_OK; /* Return code */
190494 if( rc==SQLITE_OK && sqlite3_stricmp(pRet->zName, FTS5_RANK_NAME)==0 ){
190499 for(i=3; rc==SQLITE_OK && i<nArg; i++){
190521 if( rc==SQLITE_OK ){
190542 if( rc==SQLITE_OK && pRet->pTok==0 ){
190547 if( rc==SQLITE_OK && pRet->zContent==0 ){
190565 if( rc==SQLITE_OK && pRet->zContentRowid==0 ){
190570 if( rc==SQLITE_OK ){
190574 if( rc!=SQLITE_OK ){
190613 int rc = SQLITE_OK;
190664 if( pText==0 ) return SQLITE_OK;
190712 int rc = SQLITE_OK;
190731 if( rc==SQLITE_OK ){
190736 if( rc==SQLITE_OK ){
190752 if( rc!=SQLITE_OK ){
190768 int rc = SQLITE_OK;
190837 if( rc==SQLITE_OK ){
190843 rc = SQLITE_OK;
190859 int rc = SQLITE_OK;
190875 assert( rc==SQLITE_OK || p==0 );
190876 if( rc==SQLITE_OK ){
190890 if( rc==SQLITE_OK && iVersion!=FTS5_CURRENT_VERSION ){
190901 if( rc==SQLITE_OK ){
191041 if( pParse->rc==SQLITE_OK ){
191146 }while( sParse.rc==SQLITE_OK && t!=FTS5_EOF );
191151 if( iCol<pConfig->nCol && sParse.pExpr && sParse.rc==SQLITE_OK ){
191161 assert( sParse.rc!=SQLITE_OK || sParse.zErr==0 );
191162 if( sParse.rc==SQLITE_OK ){
191255 int rc = SQLITE_OK;
191301 if( iMin==FTS5_LARGEST_INT64 || rc!=SQLITE_OK ) break;
191305 if( rc==SQLITE_OK ){
191337 int rc = SQLITE_OK;
191395 if( rc!=SQLITE_OK ) goto ismatch_out;
191485 if( rc!=SQLITE_OK ){
191597 int rc = SQLITE_OK;
191602 for(p=pTerm; rc==SQLITE_OK && p; p=p->pSynonym){
191611 if( rc!=SQLITE_OK ){
191648 for(i=0; rc==SQLITE_OK && i<pNear->nPhrase; i++){
191692 return SQLITE_OK;
191713 assert( (rc==SQLITE_OK)==(p->pIter!=0) );
191714 if( rc!=SQLITE_OK ) return rc;
191722 return SQLITE_OK;
191729 return SQLITE_OK;
191823 int rc = SQLITE_OK;
191874 pNode->bNomatch = ((0==fts5ExprNearTest(&rc, pExpr, pNode)) && rc==SQLITE_OK);
191894 int rc = SQLITE_OK;
191917 if( rc!=SQLITE_OK ) break;
191944 assert( rc==SQLITE_OK );
191974 return SQLITE_OK;
191995 if( rc==SQLITE_OK && sqlite3Fts5IterEof(pIter)==0 ){
192040 if( rc!=SQLITE_OK ){
192049 return SQLITE_OK;
192061 int rc = SQLITE_OK;
192074 if( rc!=SQLITE_OK ){
192104 return SQLITE_OK;
192114 if( rc==SQLITE_OK ){
192126 int rc = SQLITE_OK;
192131 while( rc==SQLITE_OK && p1->bEof==0 ){
192137 assert( rc!=SQLITE_OK || cmp<=0 );
192157 if( rc==SQLITE_OK ){
192160 if( rc!=SQLITE_OK ){
192175 int rc = SQLITE_OK;
192217 int rc = SQLITE_OK;
192229 for(i=0; i<pNode->nChild && rc==SQLITE_OK; i++){
192253 if( rc==SQLITE_OK ){
192285 if( rc==SQLITE_OK
192294 assert( pRoot->bEof==0 && rc==SQLITE_OK );
192312 assert( pRoot->bNomatch==0 || (rc==SQLITE_OK && pRoot->bEof==0) );
192329 int rc = SQLITE_OK;
192384 if( pParse->rc==SQLITE_OK ){
192410 assert( pParse->rc!=SQLITE_OK );
192451 int rc = SQLITE_OK;
192459 if( pCtx->rc!=SQLITE_OK ) return pCtx->rc;
192493 if( rc==SQLITE_OK ){
192551 if( rc==SQLITE_OK ){
192602 int rc = SQLITE_OK; /* Return code */
192609 if( rc==SQLITE_OK ){
192613 if( rc==SQLITE_OK ){
192617 if( rc==SQLITE_OK ){
192621 if( rc==SQLITE_OK ){
192635 for(i=0; rc==SQLITE_OK && i<pOrig->nTerm; i++){
192638 for(p=&pOrig->aTerm[i]; p && rc==SQLITE_OK; p=p->pSynonym){
192644 if( rc==SQLITE_OK ){
192655 if( rc==SQLITE_OK ){
192742 assert( pParse->rc==SQLITE_OK );
192808 if( pParse->rc==SQLITE_OK ){
192823 assert( pParse->rc!=SQLITE_OK );
192887 if( pParse->rc==SQLITE_OK ){
192993 if( pParse->rc==SQLITE_OK ){
193035 assert( pParse->rc==SQLITE_OK );
193054 assert( pParse->rc!=SQLITE_OK );
193390 if( rc==SQLITE_OK ){
193393 if( rc==SQLITE_OK ){
193410 if( rc!=SQLITE_OK ){
193492 int rc = SQLITE_OK;
193495 for(i=0; rc==SQLITE_OK && i<ArraySize(aFunc); i++){
193619 return SQLITE_OK;
193722 int rc = SQLITE_OK;
193835 int rc = SQLITE_OK;
193936 return SQLITE_OK;
194017 if( rc!=SQLITE_OK ) return rc;
194123 return SQLITE_OK;
194217 return SQLITE_OK;
194247 return SQLITE_OK;
194926 if( p->rc==SQLITE_OK ){
194927 int rc = SQLITE_OK;
194938 if( rc!=SQLITE_OK ){
194941 if( rc==SQLITE_ABORT ) rc = SQLITE_OK;
194946 if( p->pReader==0 && rc==SQLITE_OK ){
194960 if( rc==SQLITE_OK ){
194972 if( rc==SQLITE_OK ){
194975 if( rc!=SQLITE_OK ){
194987 assert( (pRet==0)==(p->rc!=SQLITE_OK) );
195016 if( p->rc==SQLITE_OK ){
195033 if( p->rc!=SQLITE_OK ) return;
195056 if( p->rc!=SQLITE_OK ) return;
195072 if( rc!=SQLITE_OK ){
195098 if( p->rc==SQLITE_OK ){
195142 int rc = SQLITE_OK;
195170 for(iLvl=0; rc==SQLITE_OK && iLvl<nLevel; iLvl++){
195186 if( rc==SQLITE_OK ){
195199 if( rc!=SQLITE_OK ){
195213 if( *pRc==SQLITE_OK ){
195243 if( *pRc==SQLITE_OK ){
195272 if( p->rc==SQLITE_OK ){
195276 if( p->rc==SQLITE_OK && pConfig->iCookie!=iCookie ){
195280 if( p->rc!=SQLITE_OK ){
195292 if( p->rc==SQLITE_OK ){
195324 if( p->rc==SQLITE_OK ){
195352 if( p->rc!=SQLITE_OK ) return 0;
195403 if( p->rc==SQLITE_OK ){
195445 int rc = SQLITE_OK;
195514 if( p->rc==SQLITE_OK ){
195637 return p->rc!=SQLITE_OK || pIter->aLvl[0].bEof;
195644 for(i=pIter->nLvl-1; p->rc==SQLITE_OK && i>=0; i--){
195762 for(i=0; p->rc==SQLITE_OK && bDone==0; i++){
195782 if( p->rc==SQLITE_OK ){
195791 if( p->rc!=SQLITE_OK ){
195869 if( p->rc==SQLITE_OK ){
195905 if( p->rc==SQLITE_OK ) p->rc = FTS5_CORRUPT;
195995 if( p->rc==SQLITE_OK ){
196003 if( p->rc==SQLITE_OK ){
196087 while( p->rc==SQLITE_OK && pIter->iLeafPgno>pIter->iTermLeafPgno ){
196135 return (p->rc==SQLITE_OK && pSeg->pLeaf && pSeg->nPos==0);
196184 assert( p->rc==SQLITE_OK );
196363 assert( p->rc==SQLITE_OK );
196523 assert( p->rc==SQLITE_OK );
196689 if( p->rc==SQLITE_OK && bGe==0 ){
196714 assert( p->rc!=SQLITE_OK /* 1 */
196741 assert( p->rc==SQLITE_OK );
196839 if( p->rc==SQLITE_OK ){
196951 assert( p->rc!=SQLITE_OK || pIter->iLeafPgno==iLeafPgno );
196953 if( p->rc==SQLITE_OK ){
197017 if( bMove && p->rc==SQLITE_OK ) pIter->xNext(p, pIter, 0);
197022 }while( p->rc==SQLITE_OK );
197048 for(i=(pIter->nSeg+iChanged)/2; i>=iMinset && p->rc==SQLITE_OK; i=i/2){
197052 assert( p->rc==SQLITE_OK );
197133 while( p->rc==SQLITE_OK ){
197137 assert( p->rc==SQLITE_OK );
197169 if( p->rc==SQLITE_OK ){
197176 assert( p->rc==SQLITE_OK );
197455 if( *pRc==SQLITE_OK ){
197607 if( *pRc==SQLITE_OK ){
197668 if( p->rc==SQLITE_OK ){
197689 if( p->rc==SQLITE_OK ){
197721 if( p->rc==SQLITE_OK ){
197726 if( p->rc==SQLITE_OK ) pSeg->xNext(p, pSeg, 0);
197847 if( p->rc==SQLITE_OK ){
197882 if( p->rc==SQLITE_OK ){
197954 if( p->rc==SQLITE_OK && nLvl>=pWriter->nDlidx ){
198006 if( p->rc==SQLITE_OK ){
198079 for(i=0; p->rc==SQLITE_OK && bDone==0; i++){
198096 if( p->rc==SQLITE_OK && pDlidx[1].buf.n==0 ){
198186 assert( p->rc==SQLITE_OK );
198260 if( p->rc==SQLITE_OK ){
198299 while( p->rc==SQLITE_OK
198329 if( p->rc==SQLITE_OK ){
198380 if( p->rc==SQLITE_OK ){
198427 if( p->rc==SQLITE_OK ){
198550 if( p->rc==SQLITE_OK && bTermWritten==0 ){
198624 while( nRem>0 && p->rc==SQLITE_OK ){
198658 if( p->rc==SQLITE_OK && pStruct->aLevel[iBestLvl].nMerge==0 ){
198679 if( p->rc==SQLITE_OK && p->pConfig->nAutomerge>0 ){
198703 assert( p->rc!=SQLITE_OK || pStruct->nLevel>0 );
198704 while( p->rc==SQLITE_OK && pStruct->aLevel[iLvl].nSeg>=nCrisis ){
198706 assert( p->rc!=SQLITE_OK || pStruct->nLevel>(iLvl+1) );
198715 p->rc = SQLITE_OK;
198783 if( p->rc==SQLITE_OK ){
198786 while( p->rc==SQLITE_OK && 0==sqlite3Fts5HashScanEof(pHash) ){
198807 while( p->rc==SQLITE_OK && iOff<nDoclist ){
198848 while( p->rc==SQLITE_OK ){
198884 if( p->rc==SQLITE_OK ){
198978 assert( p->rc==SQLITE_OK );
198992 while( p->rc==SQLITE_OK && pNew->aLevel[iLvl].nSeg>0 ){
199048 if( p->rc==SQLITE_OK && 0==fts5BufferGrow(&p->rc, pBuf, nData+9+9) ){
199363 for(i=0; p->rc==SQLITE_OK && doclist.n; i++){
199381 if( p->rc==SQLITE_OK ){
199408 assert( p->rc==SQLITE_OK );
199432 assert( p->rc==SQLITE_OK );
199449 return SQLITE_OK;
199479 int rc = SQLITE_OK;
199483 if( rc==SQLITE_OK ){
199491 if( rc==SQLITE_OK ){
199497 if( rc==SQLITE_OK ){
199503 assert( rc!=SQLITE_OK || p->rc==SQLITE_OK );
199515 int rc = SQLITE_OK;
199586 int rc = SQLITE_OK; /* Return code */
199589 assert( p->rc==SQLITE_OK );
199597 for(i=0; i<pConfig->nPrefix && rc==SQLITE_OK; i++){
199671 assert( p->rc!=SQLITE_OK || pRet->pColset==0 );
199673 if( p->rc==SQLITE_OK ){
199699 assert( pIter->pIndex->rc==SQLITE_OK );
199711 assert( pIter->pIndex->rc==SQLITE_OK );
199714 if( p->rc==SQLITE_OK ){
199772 if( p->rc==SQLITE_OK && pData->nn ){
199790 assert( p->rc==SQLITE_OK );
199816 assert( p->rc==SQLITE_OK );
199822 if( rc==SQLITE_OK ){
199906 if( p->rc==SQLITE_OK && cksum1!=cksum2 ) p->rc = FTS5_CORRUPT;
199922 while( rc==SQLITE_OK && 0==sqlite3Fts5IterEof(pIter) ){
199938 if( rc==SQLITE_OK ){
199964 if( rc==SQLITE_OK && (pPrev->n!=n || memcmp(pPrev->p, z, n)) ){
199976 if( rc==SQLITE_OK ){
199980 if( rc==SQLITE_OK && ck1!=ck2 ) rc = FTS5_CORRUPT;
199990 if( iIdx>0 && rc==SQLITE_OK ){
199994 if( rc==SQLITE_OK && ck1!=ck2 ) rc = FTS5_CORRUPT;
199996 if( iIdx>0 && rc==SQLITE_OK ){
200000 if( rc==SQLITE_OK && ck1!=ck2 ) rc = FTS5_CORRUPT;
200007 if( rc==SQLITE_OK && cksum3!=expected ){
200039 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){
200057 while( ii<pLeaf->nn && p->rc==SQLITE_OK ){
200087 if( p->rc==SQLITE_OK ){
200117 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
200222 if( p->rc==SQLITE_OK ) p->rc = rc2;
200226 if( p->rc==SQLITE_OK && iter.iLeaf!=pSeg->pgnoLast ){
200314 if( p->rc==SQLITE_OK && cksum!=cksum2 ) p->rc = FTS5_CORRUPT;
200409 if( rc!=SQLITE_OK ){
200545 int rc = SQLITE_OK; /* Return code */
200711 if( rc==SQLITE_OK ){
200766 if( rc==SQLITE_OK ){
200773 if( rc==SQLITE_OK ){
201119 return SQLITE_OK;
201128 if( rc==SQLITE_OK ){
201156 int rc = SQLITE_OK; /* Return code */
201162 if( rc==SQLITE_OK ){
201164 assert( (rc==SQLITE_OK && *pzErr==0) || pConfig==0 );
201166 if( rc==SQLITE_OK ){
201172 if( rc==SQLITE_OK ){
201177 if( rc==SQLITE_OK ){
201184 if( rc==SQLITE_OK ){
201189 if( rc==SQLITE_OK ){
201197 if( rc!=SQLITE_OK ){
201343 return SQLITE_OK;
201397 return SQLITE_OK;
201403 if( pCsr->base.pVtab==(sqlite3_vtab*)pTab ) return SQLITE_OK;
201419 if( rc==SQLITE_OK ){
201514 return SQLITE_OK;
201523 rc = SQLITE_OK;
201531 rc = SQLITE_OK;
201584 int rc = SQLITE_OK;
201592 if( rc==SQLITE_OK && iRowid!=sqlite3Fts5ExprRowid(pCsr->pExpr) ){
201634 rc = SQLITE_OK;
201649 rc = SQLITE_OK;
201677 if( rc!=SQLITE_OK ){
201720 if( rc==SQLITE_OK ){
201727 if( rc!=SQLITE_OK ){
201758 int rc = SQLITE_OK; /* Return code */
201803 int rc = SQLITE_OK;
201815 assert( rc==SQLITE_OK || pCsr->pRankArgStmt==0 );
201816 if( rc==SQLITE_OK ){
201822 if( rc==SQLITE_OK ){
201831 assert( rc!=SQLITE_OK );
201837 if( rc==SQLITE_OK ){
201856 int rc = SQLITE_OK;
201867 if( rc==SQLITE_OK ){
201919 int rc = SQLITE_OK; /* Error code */
201999 if( rc==SQLITE_OK ){
202008 if( rc==SQLITE_OK ){
202031 if( rc==SQLITE_OK ){
202097 return SQLITE_OK;
202108 int rc = SQLITE_OK;
202117 assert( rc!=SQLITE_OK || pTab->base.zErrMsg==0 );
202121 if( rc==SQLITE_OK && CsrFlagTest(pCsr, FTS5CSR_REQUIRE_CONTENT) ){
202127 rc = SQLITE_OK;
202131 if( rc==SQLITE_OK ){
202168 int rc = SQLITE_OK;
202203 if( rc==SQLITE_OK ){
202206 if( rc==SQLITE_OK ){
202221 int rc = SQLITE_OK;
202237 if( rc==SQLITE_OK ){
202240 if( rc==SQLITE_OK ){
202269 int rc = SQLITE_OK; /* Return code */
202354 if( rc==SQLITE_OK ){
202360 if( rc==SQLITE_OK ){
202363 if( rc==SQLITE_OK ){
202398 return SQLITE_OK;
202409 return SQLITE_OK;
202481 int rc = SQLITE_OK;
202488 if( rc==SQLITE_OK ){
202503 int rc = SQLITE_OK;
202513 for(i=0; i<pConfig->nCol && rc==SQLITE_OK; i++){
202516 if( rc==SQLITE_OK ){
202549 int rc = SQLITE_OK;
202565 for(i=0; i<nIter && rc==SQLITE_OK; i++){
202569 if( rc==SQLITE_OK ){
202574 if( rc==SQLITE_OK ){
202617 int rc = SQLITE_OK;
202619 || SQLITE_OK==(rc = fts5CacheInstArray(pCsr)) ){
202633 int rc = SQLITE_OK;
202635 || SQLITE_OK==(rc = fts5CacheInstArray(pCsr))
202672 return SQLITE_OK;
202679 int rc = SQLITE_OK;
202694 for(i=0; rc==SQLITE_OK && i<pConfig->nCol; i++){
202700 if( rc==SQLITE_OK ){
202747 int rc = SQLITE_OK;
202760 return SQLITE_OK;
202814 if( rc==SQLITE_OK ){
202859 int rc = SQLITE_OK;
202873 if( rc==SQLITE_OK ){
202881 if( rc==SQLITE_OK ){
202939 if( rc==SQLITE_OK ){
202947 if( rc==SQLITE_OK ){
202949 rc==SQLITE_OK && CsrFlagTest(pNew, FTS5CSR_EOF)==0;
202953 if( rc!=SQLITE_OK ){
202954 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
203049 int rc = SQLITE_OK;
203076 for(i=0; rc==SQLITE_OK && i<(nPhrase-1); i++){
203084 for(i=0; rc==SQLITE_OK && i<nPhrase; i++){
203112 int rc = SQLITE_OK;
203137 if( pCsr->pRank || SQLITE_OK==(rc = fts5FindRankFunction(pCsr)) ){
203143 if( rc==SQLITE_OK ){
203239 if( rc==SQLITE_OK ){
203280 int rc = SQLITE_OK;
203331 int rc = SQLITE_OK;
203355 int rc = SQLITE_OK;
203365 if( rc!=SQLITE_OK && pzErr ){
203370 if( rc!=SQLITE_OK ){
203466 if( rc==SQLITE_OK ) rc = sqlite3Fts5IndexInit(db);
203467 if( rc==SQLITE_OK ) rc = sqlite3Fts5ExprInit(pGlobal, db);
203468 if( rc==SQLITE_OK ) rc = sqlite3Fts5AuxInit(&pGlobal->api);
203469 if( rc==SQLITE_OK ) rc = sqlite3Fts5TokenizerInit(&pGlobal->api);
203470 if( rc==SQLITE_OK ) rc = sqlite3Fts5VocabInit(pGlobal, db);
203471 if( rc==SQLITE_OK ){
203476 if( rc==SQLITE_OK ){
203487 if( rc==SQLITE_OK ){
203596 int rc = SQLITE_OK;
203678 if( rc!=SQLITE_OK && pzErrMsg ){
203727 if( rc==SQLITE_OK && pConfig->bColumnsize ){
203733 if( rc==SQLITE_OK && pConfig->eContent==FTS5_CONTENT_NORMAL ){
203748 if( *pRc==SQLITE_OK ){
203818 int rc = SQLITE_OK;
203852 if( rc==SQLITE_OK && pConfig->bColumnsize ){
203857 if( rc==SQLITE_OK ){
203862 if( rc==SQLITE_OK ){
203878 int rc = SQLITE_OK;
203939 if( rc!=SQLITE_OK ) return rc;
203949 for(iCol=1; rc==SQLITE_OK && iCol<=pConfig->nCol; iCol++){
203970 if( rc==SQLITE_OK ) rc = rc2;
203988 int rc = SQLITE_OK;
203992 if( rc==SQLITE_OK ){
204013 int rc = SQLITE_OK;
204032 int rc = SQLITE_OK;
204039 if( rc==SQLITE_OK ){
204059 if( rc==SQLITE_OK ){
204064 if( rc==SQLITE_OK && pConfig->bColumnsize ){
204066 if( rc==SQLITE_OK ){
204075 if( rc==SQLITE_OK ){
204078 if( rc==SQLITE_OK ){
204102 if( rc==SQLITE_OK && pConfig->bColumnsize ){
204111 if( rc==SQLITE_OK ){
204114 if( rc==SQLITE_OK ){
204130 if( rc==SQLITE_OK ){
204134 if( rc==SQLITE_OK ){
204138 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pScan) ){
204143 for(ctx.iCol=0; rc==SQLITE_OK && ctx.iCol<pConfig->nCol; ctx.iCol++){
204159 if( rc==SQLITE_OK ){
204166 if( rc==SQLITE_OK ){
204198 if( rc==SQLITE_OK ){
204204 if( rc==SQLITE_OK ){
204220 int rc = SQLITE_OK;
204233 for(i=1; rc==SQLITE_OK && i<=pConfig->nCol+1; i++){
204236 if( rc==SQLITE_OK ){
204255 int rc = SQLITE_OK; /* Return code */
204263 if( rc==SQLITE_OK ){
204266 for(ctx.iCol=0; rc==SQLITE_OK && ctx.iCol<pConfig->nCol; ctx.iCol++){
204283 if( rc==SQLITE_OK ){
204304 if( rc==SQLITE_OK ){
204345 int rc = SQLITE_OK;
204375 if( rc==SQLITE_OK && bPresent==0 ){
204381 for(ii=0; rc==SQLITE_OK && ii<pCtx->pConfig->nPrefix; ii++){
204421 if( rc==SQLITE_OK ){
204430 if( rc==SQLITE_OK && pConfig->eDetail==FTS5_DETAIL_NONE ){
204433 for(i=0; rc==SQLITE_OK && i<pConfig->nCol; i++){
204440 if( rc==SQLITE_OK ){
204449 if( rc==SQLITE_OK && pConfig->bColumnsize && ctx.szCol!=aColSize[i] ){
204461 if( rc!=SQLITE_OK ) break;
204464 if( rc==SQLITE_OK ) rc = rc2;
204468 if( rc==SQLITE_OK ){
204471 for(i=0; rc==SQLITE_OK && i<pConfig->nCol; i++){
204478 if( rc==SQLITE_OK && pConfig->eContent==FTS5_CONTENT_NORMAL ){
204481 if( rc==SQLITE_OK && nRow!=p->nTotalRow ) rc = FTS5_CORRUPT;
204483 if( rc==SQLITE_OK && pConfig->bColumnsize ){
204486 if( rc==SQLITE_OK && nRow!=p->nTotalRow ) rc = FTS5_CORRUPT;
204492 if( rc==SQLITE_OK ){
204516 if( rc==SQLITE_OK ){
204573 if( rc==SQLITE_OK ){
204584 if( bCorrupt && rc==SQLITE_OK ){
204594 if( rc==SQLITE_OK ){
204612 if( rc==SQLITE_OK ){
204622 int rc = SQLITE_OK;
204628 if( rc==SQLITE_OK ){
204648 if( rc==SQLITE_OK ){
204658 if( rc==SQLITE_OK && pVal ){
204661 if( rc==SQLITE_OK ){
204736 int rc = SQLITE_OK;
204749 for(i=0; rc==SQLITE_OK && i<nArg; i+=2){
204760 if( rc!=SQLITE_OK ){
204792 int rc = SQLITE_OK;
204803 while( is<nText && rc==SQLITE_OK ){
204837 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
204914 int rc = SQLITE_OK;
205000 int rc = SQLITE_OK; /* Return code */
205019 for(i=0; rc==SQLITE_OK && i<nArg; i+=2){
205039 if( rc!=SQLITE_OK ){
205066 int rc = SQLITE_OK;
205081 while( rc==SQLITE_OK ){
205158 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
205199 int rc = SQLITE_OK;
205215 if( rc==SQLITE_OK ){
205221 if( rc!=SQLITE_OK ){
205894 int rc = SQLITE_OK; /* Return code */
205897 for(i=0; rc==SQLITE_OK && i<ArraySize(aBuiltin); i++){
206721 int rc = SQLITE_OK;
206723 if( rc==SQLITE_OK ){
206752 return SQLITE_OK;
206761 return SQLITE_OK;
206800 int rc = SQLITE_OK; /* Return code */
206818 if( rc==SQLITE_OK ){
206936 return SQLITE_OK;
206950 int rc = SQLITE_OK;
206962 assert( rc==SQLITE_OK || pStmt==0 );
206963 if( rc==SQLITE_ERROR ) rc = SQLITE_OK;
206970 if( rc==SQLITE_OK && pIndex==0 ){
206973 if( rc==SQLITE_OK ){
206981 if( rc==SQLITE_OK ){
207019 return SQLITE_OK;
207023 int rc = SQLITE_OK;
207046 int rc = SQLITE_OK;
207058 if( rc==SQLITE_OK ){
207077 int rc = SQLITE_OK;
207105 return SQLITE_OK;
207115 while( rc==SQLITE_OK ){
207169 if( rc==SQLITE_OK ){
207174 if( rc==SQLITE_OK ){
207185 if( rc==SQLITE_OK && pCsr->bEof==0 && pTab->eType==FTS5_VOCAB_COL ){
207205 int rc = SQLITE_OK;
207244 if( rc==SQLITE_OK ){
207247 if( rc==SQLITE_OK && eType==FTS5_VOCAB_INSTANCE ){
207250 if( rc==SQLITE_OK
207333 return SQLITE_OK;
207347 return SQLITE_OK;
207482 if( rc==SQLITE_OK ){
207497 return SQLITE_OK;
207510 return SQLITE_OK;
207518 return SQLITE_OK;
207529 return SQLITE_OK;
207575 return SQLITE_OK;
207585 return SQLITE_OK;
207626 return SQLITE_OK;
207662 int rc = SQLITE_OK;
207678 int rc = SQLITE_OK;