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;
30725 #define IS_LOCK_ERROR(x) ((x != SQLITE_OK) && (x != SQLITE_BUSY))
31302 rc = SQLITE_OK;
31317 rc = SQLITE_OK;
31549 rc = SQLITE_OK;
32106 return SQLITE_OK;
32167 int rc = SQLITE_OK;
32316 int rc = SQLITE_OK;
32335 return SQLITE_OK;
32406 assert( rc==SQLITE_OK );
32420 if( unixFileLock(pFile, &lock) && rc==SQLITE_OK ){
32473 if( rc==SQLITE_OK
32484 if( rc==SQLITE_OK ){
32495 rc==SQLITE_OK ? "ok" : "failed"));
32530 int rc = SQLITE_OK;
32539 return SQLITE_OK;
32675 if( rc==SQLITE_OK ) pFile->eFileLock = eFileLock;
32737 return SQLITE_OK;
32744 int rc = SQLITE_OK;
32791 return SQLITE_OK;
32795 return SQLITE_OK;
32799 return SQLITE_OK;
32851 int rc = SQLITE_OK;
32894 int rc = SQLITE_OK;
32908 return SQLITE_OK;
32953 return SQLITE_OK;
32961 return SQLITE_OK;
32970 rc = SQLITE_OK;
32978 return SQLITE_OK;
33031 int rc = SQLITE_OK;
33073 rc = SQLITE_OK;
33111 int rc = SQLITE_OK;
33120 return SQLITE_OK;
33137 rc==SQLITE_OK ? "ok" : "failed"));
33164 return SQLITE_OK;
33170 return SQLITE_OK;
33176 return SQLITE_OK;
33181 return SQLITE_OK;
33218 int rc = SQLITE_OK;
33287 int rc = SQLITE_OK;
33293 rc = SQLITE_OK;
33329 return SQLITE_OK;
33335 return SQLITE_OK;
33348 return SQLITE_OK;
33364 return SQLITE_OK;
33449 return SQLITE_OK;
33460 int rc = SQLITE_OK;
33471 return SQLITE_OK;
33485 if( SQLITE_OK==lrc ){
33530 int rc = SQLITE_OK;
33547 return SQLITE_OK;
33634 } else if( lrc1 != SQLITE_OK ) {
33667 int failed2 = SQLITE_OK;
33689 if( rc==SQLITE_OK ){
33700 rc==SQLITE_OK ? "ok" : "failed"));
33712 int rc = SQLITE_OK;
33728 return SQLITE_OK;
33756 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1) ){
33764 if( rc==SQLITE_OK && pFile->eFileLock>=PENDING_LOCK ){
33767 if( rc==SQLITE_OK && pFile->eFileLock>=RESERVED_LOCK && context->reserved ){
33773 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1)){
33777 if( rc==SQLITE_OK && eFileLock==NO_LOCK ){
33797 if( rc==SQLITE_OK ){
33807 if( rc==SQLITE_OK ) pFile->eFileLock = eFileLock;
33815 int rc = SQLITE_OK;
33968 return SQLITE_OK;
33981 return SQLITE_OK;
34103 return SQLITE_OK;
34132 return SQLITE_OK;
34304 if( fd>=0 ) return SQLITE_OK;
34358 if( rc==SQLITE_OK ){
34363 rc = SQLITE_OK;
34416 return SQLITE_OK;
34444 return SQLITE_OK;
34521 return SQLITE_OK;
34552 return rc ? SQLITE_IOERR_BEGIN_ATOMIC : SQLITE_OK;
34556 return rc ? SQLITE_IOERR_COMMIT_ATOMIC : SQLITE_OK;
34560 return rc ? SQLITE_IOERR_ROLLBACK_ATOMIC : SQLITE_OK;
34566 return SQLITE_OK;
34570 return SQLITE_OK;
34574 return SQLITE_OK;
34585 return SQLITE_OK;
34589 return SQLITE_OK;
34593 return SQLITE_OK;
34601 return SQLITE_OK;
34605 return SQLITE_OK;
34610 int rc = SQLITE_OK;
34641 return SQLITE_OK;
34908 int rc = SQLITE_OK; /* Result code form fcntl() */
34929 rc = (rc!=(-1)) ? SQLITE_OK : SQLITE_BUSY;
34937 if( rc==SQLITE_OK ){
35029 int rc = SQLITE_OK;
35061 if( rc==SQLITE_OK && robust_ftruncate(pShmNode->h, 0) ){
35069 if( rc==SQLITE_OK ){
35114 int rc = SQLITE_OK; /* Result code */
35197 if( rc!=SQLITE_OK && rc!=SQLITE_READONLY_CANTINIT ) goto shm_open_err;
35260 int rc = SQLITE_OK;
35267 if( rc!=SQLITE_OK ) return rc;
35275 if( rc!=SQLITE_OK ) goto shmpage_out;
35380 if( pShmNode->isReadonly && rc==SQLITE_OK ) rc = SQLITE_READONLY;
35403 int rc = SQLITE_OK; /* Result code */
35435 rc = SQLITE_OK;
35439 if( rc==SQLITE_OK ){
35459 if( rc==SQLITE_OK ){
35463 rc = SQLITE_OK;
35468 if( rc==SQLITE_OK ){
35485 if( rc==SQLITE_OK ){
35487 if( rc==SQLITE_OK ){
35532 if( p==0 ) return SQLITE_OK;
35562 return SQLITE_OK;
35667 unixLogError(SQLITE_OK, zErr, pFd->zPath);
35697 if( pFd->nFetchOut>0 ) return SQLITE_OK;
35715 return SQLITE_OK;
35741 if( rc!=SQLITE_OK ) return rc;
35749 return SQLITE_OK;
35787 return SQLITE_OK;
36101 int rc = SQLITE_OK;
36151 if( rc!=SQLITE_OK ){
36194 if( rc!=SQLITE_OK ){
36228 if( (rc==SQLITE_OK) && (pNew->pInode->pSem==NULL) ){
36247 if( rc!=SQLITE_OK ){
36254 if( rc!=SQLITE_OK ){
36324 return SQLITE_OK;
36406 int rc = SQLITE_OK;
36445 int rc = SQLITE_OK; /* Return Code */
36471 if( nDb==0 || zPath[nDb]=='.' ) return SQLITE_OK;
36527 int rc = SQLITE_OK; /* Function Return Code */
36618 if( rc!=SQLITE_OK ){
36643 if( rc!=SQLITE_OK ){
36668 if( rc==SQLITE_OK ) rc = rc2;
36748 if( rc==SQLITE_OK ){
36750 if( rc!=SQLITE_OK ){
36770 if( rc!=SQLITE_OK ){
36786 int rc = SQLITE_OK;
36805 if( rc==SQLITE_OK ){
36812 rc = SQLITE_OK;
36849 return SQLITE_OK;
36876 return SQLITE_OK;
36897 int rc = SQLITE_OK;
36935 if( rc==SQLITE_OK ){
36958 assert( rc!=SQLITE_OK || zIn!=zOut || zIn[0]=='/' );
36959 if( rc==SQLITE_OK && zIn!=zOut ){
36964 }while( rc==SQLITE_OK );
37126 int rc = SQLITE_OK;
37398 return SQLITE_OK;
37451 int rc = SQLITE_OK;
37476 if( proxyCreateLockPath(path) == SQLITE_OK ){
37515 if( rc==SQLITE_OK ){
37517 return SQLITE_OK;
37565 return SQLITE_OK;
37644 int rc = SQLITE_OK;
37699 rc = SQLITE_OK;
37723 return SQLITE_OK;
37731 int rc = SQLITE_OK;
37748 if( rc!=SQLITE_OK ){
37830 if( rc==SQLITE_OK ){
37849 if( rc==SQLITE_OK && createConch ){
37881 if( rc==SQLITE_OK && pFile->openFlags ){
37896 if( rc==SQLITE_OK && !pCtx->lockProxy ){
37899 if( rc!=SQLITE_OK && rc!=SQLITE_NOMEM && tryOldLockPath ){
37908 if( rc==SQLITE_OK ){
37919 if( rc==SQLITE_OK ){
37931 rc==SQLITE_OK?"ok":"failed"));
37942 int rc = SQLITE_OK; /* Subroutine return code */
37956 (rc==SQLITE_OK ? "ok" : "failed")));
38001 return SQLITE_OK;
38011 int rc = SQLITE_OK;
38020 return SQLITE_OK;
38064 return SQLITE_OK;
38079 int rc = SQLITE_OK;
38101 if( rc==SQLITE_OK ){
38121 rc = SQLITE_OK;
38125 if( rc==SQLITE_OK && lockPath ){
38129 if( rc==SQLITE_OK ){
38135 if( rc==SQLITE_OK ){
38153 (rc==SQLITE_OK ? "ok" : "failed")));
38177 return SQLITE_OK;
38181 int rc = SQLITE_OK;
38192 rc = SQLITE_OK;
38203 rc = SQLITE_OK;
38238 if( rc==SQLITE_OK ){
38277 if( rc==SQLITE_OK ){
38301 if( rc==SQLITE_OK ){
38323 int rc = SQLITE_OK;
38351 return SQLITE_OK;
38468 return SQLITE_OK;
38479 return SQLITE_OK;
39879 rc = SQLITE_OK;
39894 rc = SQLITE_OK;
39952 int rc = SQLITE_OK;
40016 assert( rc!=SQLITE_OK || winMemGetHeap()!=NULL );
40017 assert( rc!=SQLITE_OK || winMemGetOwned() );
40018 assert( rc!=SQLITE_OK || sqlite3_memory_used()==0 );
40315 return SQLITE_OK;
40644 return SQLITE_OK;
40757 assert( errcode!=SQLITE_OK );
40999 return SQLITE_OK;
41370 return rc ? SQLITE_OK
41409 return SQLITE_OK;
41453 return SQLITE_OK;
41487 return SQLITE_OK;
41563 return SQLITE_OK;
41571 int rc = SQLITE_OK; /* Return code for this function */
41674 return SQLITE_OK;
41697 return SQLITE_OK;
41713 int rc = SQLITE_OK;
41872 int rc = SQLITE_OK; /* Return code from subroutines */
41889 return SQLITE_OK;
41996 rc = SQLITE_OK;
42036 return SQLITE_OK;
42053 int rc = SQLITE_OK;
42103 return SQLITE_OK;
42109 return SQLITE_OK;
42115 return SQLITE_OK;
42152 return SQLITE_OK;
42157 return SQLITE_OK;
42162 return SQLITE_OK;
42168 if( rc==SQLITE_OK ){
42180 return SQLITE_OK;
42185 return SQLITE_OK;
42190 return SQLITE_OK;
42195 return SQLITE_OK;
42210 return SQLITE_OK;
42216 return SQLITE_OK;
42226 return SQLITE_OK;
42232 if( rc==SQLITE_OK ){
42241 int rc = SQLITE_OK;
42444 rc = SQLITE_OK;
42521 if( rc==SQLITE_OK ){
42533 if( rc==SQLITE_OK ){
42550 int rc = SQLITE_OK; /* Result code */
42609 if( rc!=SQLITE_OK ){
42617 if( rc!=SQLITE_OK && rc!=SQLITE_READONLY_CANTINIT ) goto shm_open_err;
42667 if( p==0 ) return SQLITE_OK;
42691 return SQLITE_OK;
42707 int rc = SQLITE_OK; /* Result code */
42735 rc = SQLITE_OK;
42739 if( rc==SQLITE_OK ){
42759 if( rc==SQLITE_OK ){
42763 rc = SQLITE_OK;
42768 if( rc==SQLITE_OK ){
42785 if( rc==SQLITE_OK ){
42787 if( rc==SQLITE_OK ){
42846 int rc = SQLITE_OK;
42850 if( rc!=SQLITE_OK ) return rc;
42858 if( rc!=SQLITE_OK ) goto shmpage_out;
42875 if( rc!=SQLITE_OK ){
42890 if( rc!=SQLITE_OK ){
42971 if( pShmNode->isReadonly && rc==SQLITE_OK ) rc = SQLITE_READONLY;
43018 return SQLITE_OK;
43045 if( pFd->nFetchOut>0 ) return SQLITE_OK;
43093 return SQLITE_OK;
43111 return SQLITE_OK;
43120 return SQLITE_OK;
43149 if( rc!=SQLITE_OK ){
43164 return SQLITE_OK;
43207 return SQLITE_OK;
43576 return SQLITE_OK;
43646 int rc = SQLITE_OK; /* Function Return Code */
43711 if( rc!=SQLITE_OK ){
43804 if( rc2==SQLITE_OK && isRO ) break;
43821 if( rc2==SQLITE_OK && isRO ) break;
43841 if( rc2==SQLITE_OK && isRO ) break;
43884 && (rc = winceCreateLock(zName, pFile))!=SQLITE_OK
43994 rc = SQLITE_OK; /* Deleted OK. */
44022 rc = SQLITE_OK; /* Deleted OK. */
44116 return SQLITE_OK;
44244 return SQLITE_OK;
44263 return SQLITE_OK;
44282 return SQLITE_OK;
44343 return SQLITE_OK;
44365 if( winFullPathname(pVfs, zFilename, nFull, zFull)!=SQLITE_OK ){
44562 return SQLITE_OK;
44748 return SQLITE_OK;
44758 return SQLITE_OK;
44935 if( p==0 ) return SQLITE_OK;
44950 return SQLITE_OK;
44966 if( p->u.aHash[h]==i ) return SQLITE_OK;
44995 return SQLITE_OK;
45512 return SQLITE_OK;
45618 if( rc!=SQLITE_OK && rc!=SQLITE_BUSY ){
45624 return *ppPage==0 ? SQLITE_NOMEM_BKPT : SQLITE_OK;
46778 return SQLITE_OK;
48812 # define pagerOpenWalIfPresent(z) SQLITE_OK
48813 # define pagerBeginReadTransaction(z) SQLITE_OK
48878 assert( pPager->errCode==SQLITE_OK );
48883 assert( pPager->errCode==SQLITE_OK );
48890 assert( pPager->errCode==SQLITE_OK );
48902 assert( pPager->errCode==SQLITE_OK );
48921 assert( pPager->errCode==SQLITE_OK );
48934 assert( pPager->errCode==SQLITE_OK );
48948 assert( pPager->errCode!=SQLITE_OK );
49077 if( rc==SQLITE_OK ){
49109 int rc = SQLITE_OK;
49116 rc = pPager->noLock ? SQLITE_OK : sqlite3OsUnlock(pPager->fd, eLock);
49136 int rc = SQLITE_OK;
49140 rc = pPager->noLock ? SQLITE_OK : sqlite3OsLock(pPager->fd, eLock);
49141 if( rc==SQLITE_OK && (pPager->eLock!=UNKNOWN_LOCK||eLock==EXCLUSIVE_LOCK) ){
49282 if( SQLITE_OK!=(rc = sqlite3OsFileSize(pJrnl, &szJ))
49284 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-16, &len))
49288 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-12, &cksum))
49289 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, aMagic, 8, szJ-8))
49291 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, zMaster, len, szJ-16-len))
49310 return SQLITE_OK;
49362 int rc = SQLITE_OK; /* Return code */
49375 if( rc==SQLITE_OK && !pPager->noSync ){
49385 if( rc==SQLITE_OK && iLimit>0 ){
49388 if( rc==SQLITE_OK && sz>iLimit ){
49412 int rc = SQLITE_OK; /* Return code */
49502 for(nWrite=0; rc==SQLITE_OK&&nWrite<JOURNAL_HDR_SZ(pPager); nWrite+=nHeader){
49571 if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+8, pNRec))
49572 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+12, &pPager->cksumInit))
49573 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+16, pDbSize))
49583 if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+20, &iSectorSize))
49584 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+24, &iPageSize))
49619 testcase( rc!=SQLITE_OK );
49668 return SQLITE_OK;
49711 if( SQLITE_OK==(rc = sqlite3OsFileSize(pPager->jfd, &jrnlSize))
49762 int rc = SQLITE_OK; /* Result code */
49769 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
49834 if( rc!=SQLITE_OK && pPager->eState==PAGER_ERROR ){
49852 assert( pPager->errCode==SQLITE_OK || !MEMDB );
49862 pPager->errCode = SQLITE_OK;
49892 assert( rc==SQLITE_OK || !MEMDB );
49895 pPager->errCode==SQLITE_OK ||
49985 int rc = SQLITE_OK; /* Error code from journal finalization operation */
49986 int rc2 = SQLITE_OK; /* Error code from db file unlock operation */
50004 return SQLITE_OK;
50020 rc = SQLITE_OK;
50023 if( rc==SQLITE_OK && pPager->fullSync ){
50071 if( rc==SQLITE_OK ){
50086 assert( rc2==SQLITE_OK );
50087 }else if( rc==SQLITE_OK && bCommit && pPager->dbFileSize>pPager->dbSize ){
50098 if( rc==SQLITE_OK && bCommit && isOpen(pPager->fd) ){
50100 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
50112 return (rc==SQLITE_OK?rc2:rc);
50287 if( rc!=SQLITE_OK ) return rc;
50289 if( rc!=SQLITE_OK ) return rc;
50302 return SQLITE_OK;
50315 if( pDone && (rc = sqlite3BitvecSet(pDone, pgno))!=SQLITE_OK ){
50436 if( rc!=SQLITE_OK ) return rc;
50536 if( rc!=SQLITE_OK ) goto delmaster_out;
50544 if( rc!=SQLITE_OK ) goto delmaster_out;
50553 if( rc!=SQLITE_OK ) goto delmaster_out;
50560 if( rc!=SQLITE_OK ){
50571 if( rc!=SQLITE_OK ){
50577 if( rc!=SQLITE_OK ){
50625 int rc = SQLITE_OK;
50638 if( rc==SQLITE_OK && currentSize!=newSize ){
50648 if( rc==SQLITE_OK ){
50785 if( rc!=SQLITE_OK ){
50802 if( rc==SQLITE_OK && zMaster[0] ){
50806 if( rc!=SQLITE_OK || !res ){
50823 if( rc!=SQLITE_OK ){
50825 rc = SQLITE_OK;
50864 if( rc!=SQLITE_OK ){
50879 if( rc==SQLITE_OK ){
50891 rc = SQLITE_OK;
50908 if( rc==SQLITE_OK ){
50933 if( rc==SQLITE_OK ){
50936 testcase( rc!=SQLITE_OK );
50938 if( rc==SQLITE_OK
50943 if( rc==SQLITE_OK ){
50945 testcase( rc!=SQLITE_OK );
50947 if( rc==SQLITE_OK && zMaster[0] && res ){
50952 testcase( rc!=SQLITE_OK );
50982 int rc = SQLITE_OK; /* Return code */
51002 rc = SQLITE_OK;
51073 int rc = SQLITE_OK;
51084 if( rc==SQLITE_OK ){
51121 while( pList && rc==SQLITE_OK ){
51182 if( rc==SQLITE_OK && pPager->pBackup ){
51221 if( rc!=SQLITE_OK || changed ){
51262 if( rc!=SQLITE_OK ){
51277 return SQLITE_OK;
51300 int rc = SQLITE_OK;
51309 if( rc==SQLITE_OK ){
51369 int rc = SQLITE_OK; /* Return code */
51411 while( rc==SQLITE_OK && pPager->journalOff<iHdrOff ){
51424 while( rc==SQLITE_OK && pPager->journalOff<szJ ){
51441 for(ii=0; rc==SQLITE_OK && ii<nJRec && pPager->journalOff<szJ; ii++){
51446 assert( rc!=SQLITE_OK || pPager->journalOff>=szJ );
51459 for(ii=pSavepoint->iSubRec; rc==SQLITE_OK && ii<pPager->nSubRec; ii++){
51467 if( rc==SQLITE_OK ){
51647 assert( rc!=SQLITE_OK || isOpen(pFile) );
51719 int rc = SQLITE_OK;
51743 if( rc==SQLITE_OK ){
51748 if( rc==SQLITE_OK ){
51752 if( rc==SQLITE_OK ){
51763 if( rc==SQLITE_OK ){
51840 int rc = SQLITE_OK;
51854 rc = SQLITE_OK;
51984 int rc = SQLITE_OK;
51988 if( rc==SQLITE_OK ){
52041 return SQLITE_OK;
52140 return SQLITE_OK;
52204 if( rc!=SQLITE_OK ) return rc;
52244 if( rc==SQLITE_OK && 0==memcmp(aMagic, aJournalMagic, 8) ){
52248 if( rc!=SQLITE_OK && rc!=SQLITE_IOERR_SHORT_READ ){
52267 if( rc!=SQLITE_OK ) return rc;
52273 if( rc!=SQLITE_OK ) return rc;
52281 if( rc!=SQLITE_OK ) return rc;
52288 if( rc!=SQLITE_OK ) return rc;
52302 return SQLITE_OK;
52338 int rc = SQLITE_OK; /* Return code */
52351 assert( pPager->tempFile && rc==SQLITE_OK );
52358 assert( rc!=SQLITE_OK || isOpen(pPager->fd) );
52359 if( rc==SQLITE_OK
52368 while( rc==SQLITE_OK && pList ){
52430 int rc = SQLITE_OK;
52456 int rc = SQLITE_OK;
52472 if( rc==SQLITE_OK ){
52485 if( rc==SQLITE_OK ){
52490 if( rc==SQLITE_OK ){
52501 return SQLITE_OK;
52526 int rc = SQLITE_OK;
52547 if( NEVER(pPager->errCode) ) return SQLITE_OK;
52555 return SQLITE_OK;
52562 if( rc==SQLITE_OK ){
52570 if( rc!=SQLITE_OK ) return pager_error(pPager, rc);
52582 if( rc==SQLITE_OK ){
52589 if( rc==SQLITE_OK ){
52605 while( rc==SQLITE_OK && pList ){
52660 int rc = SQLITE_OK; /* Return code */
52713 if( rc==SQLITE_OK && nPathname+8>pVfs->mxPathname ){
52722 if( rc!=SQLITE_OK ){
52800 if( rc==SQLITE_OK ){
52855 if( rc==SQLITE_OK ){
52858 testcase( rc!=SQLITE_OK );
52862 if( rc==SQLITE_OK ){
52871 if( rc!=SQLITE_OK ){
52932 return SQLITE_OK;
52945 if( pPager->tempFile ) return SQLITE_OK;
52946 if( pPager->dbSize==0 ) return SQLITE_OK;
52953 rc = SQLITE_OK;
52954 }else if( rc==SQLITE_OK && bHasMoved ){
52994 int rc = SQLITE_OK; /* Return code */
53010 if( rc==SQLITE_OK && exists ){
53022 if( rc==SQLITE_OK && !locked ){
53027 if( rc==SQLITE_OK ){
53038 if( pagerLockDb(pPager, RESERVED_LOCK)==SQLITE_OK ){
53054 if( rc==SQLITE_OK ){
53058 rc = SQLITE_OK;
53075 rc = SQLITE_OK;
53113 int rc = SQLITE_OK; /* Return code */
53122 assert( pPager->errCode==SQLITE_OK );
53131 if( rc!=SQLITE_OK ){
53142 if( rc!=SQLITE_OK ){
53167 if( rc!=SQLITE_OK ){
53189 if( rc==SQLITE_OK && bExists ){
53194 assert( rc!=SQLITE_OK || isOpen(pPager->jfd) );
53195 if( rc==SQLITE_OK && fout&SQLITE_OPEN_READONLY ){
53211 assert( rc==SQLITE_OK );
53213 if( rc==SQLITE_OK ){
53221 if( rc!=SQLITE_OK ){
53269 if( rc!=SQLITE_OK ){
53296 assert( pPager->pWal==0 || rc==SQLITE_OK );
53301 assert( rc==SQLITE_OK );
53305 if( pPager->tempFile==0 && pPager->eState==PAGER_OPEN && rc==SQLITE_OK ){
53310 if( rc!=SQLITE_OK ){
53399 int rc = SQLITE_OK;
53404 assert( pPager->errCode==SQLITE_OK );
53414 if( rc!=SQLITE_OK ) goto pager_acquire_err;
53431 return SQLITE_OK;
53475 if( rc!=SQLITE_OK ){
53481 return SQLITE_OK;
53484 assert( rc!=SQLITE_OK );
53501 int rc = SQLITE_OK;
53528 assert( pPager->errCode==SQLITE_OK );
53532 if( rc!=SQLITE_OK ){
53542 if( rc==SQLITE_OK && pData ){
53552 assert( rc==SQLITE_OK );
53554 return SQLITE_OK;
53557 if( rc!=SQLITE_OK ){
53575 assert( pPager->errCode!=SQLITE_OK );
53674 int rc = SQLITE_OK; /* Return code */
53711 if( rc==SQLITE_OK ){
53717 assert( rc!=SQLITE_OK || isOpen(pPager->jfd) );
53724 if( rc==SQLITE_OK ){
53734 if( rc!=SQLITE_OK ){
53763 int rc = SQLITE_OK;
53778 if( rc!=SQLITE_OK ){
53797 if( rc==SQLITE_OK && exFlag ){
53802 if( rc==SQLITE_OK ){
53819 assert( rc==SQLITE_OK || pPager->eState==PAGER_READER );
53820 assert( rc!=SQLITE_OK || pPager->eState==PAGER_WRITER_LOCKED );
53857 if( rc!=SQLITE_OK ) return rc;
53859 if( rc!=SQLITE_OK ) return rc;
53861 if( rc!=SQLITE_OK ) return rc;
53875 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
53877 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
53890 int rc = SQLITE_OK;
53916 if( rc!=SQLITE_OK ) return rc;
53935 if( rc!=SQLITE_OK ){
53981 int rc = SQLITE_OK; /* Return code */
54016 for(ii=0; ii<nPage && rc==SQLITE_OK; ii++){
54022 if( rc==SQLITE_OK ){
54044 if( rc==SQLITE_OK && needSync ){
54081 return SQLITE_OK;
54158 int rc = SQLITE_OK;
54190 assert( pPgHdr==0 || rc==SQLITE_OK );
54197 if( !DIRECT_MODE && ALWAYS(rc==SQLITE_OK) ){
54201 if( rc==SQLITE_OK ){
54210 if( rc==SQLITE_OK ){
54214 if( rc==SQLITE_OK ){
54241 int rc = SQLITE_OK;
54246 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
54248 if( rc==SQLITE_OK && !pPager->noSync ){
54269 if( rc==SQLITE_OK ){
54313 int rc = SQLITE_OK; /* Return code */
54332 if( pPager->eState<PAGER_WRITER_CACHEMOD ) return SQLITE_OK;
54352 assert( rc==SQLITE_OK );
54357 if( rc==SQLITE_OK ){
54419 if( rc==SQLITE_OK ){
54428 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54433 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54440 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54454 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54462 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54466 if( rc==SQLITE_OK ){
54473 if( rc!=SQLITE_OK ){
54489 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
54501 if( rc==SQLITE_OK && !pagerUseWal(pPager) ){
54524 int rc = SQLITE_OK; /* Return code */
54554 return SQLITE_OK;
54590 int rc = SQLITE_OK; /* Return code */
54599 if( pPager->eState<=PAGER_READER ) return SQLITE_OK;
54605 if( rc==SQLITE_OK ) rc = rc2;
54623 assert( pPager->eState==PAGER_READER || rc!=SQLITE_OK );
54624 assert( rc==SQLITE_OK || rc==SQLITE_FULL || rc==SQLITE_CORRUPT
54734 int rc = SQLITE_OK; /* Return code */
54785 return SQLITE_OK;
54824 if( op==SAVEPOINT_RELEASE ) rc = SQLITE_OK;
54830 if( rc==SQLITE_OK && iSavepoint<pPager->nSavepoint ){
54851 assert( rc==SQLITE_OK );
55045 && SQLITE_OK!=(rc = subjournalPageIfRequired(pPg))
55117 if( rc!=SQLITE_OK ){
55129 return SQLITE_OK;
55270 int rc = SQLITE_OK;
55277 assert( rc==SQLITE_OK );
55280 if( rc==SQLITE_OK ){
55283 if( rc==SQLITE_OK && state==PAGER_READER ){
55368 int rc = SQLITE_OK;
55403 if( rc!=SQLITE_OK ){
55419 int rc = SQLITE_OK;
55436 if( rc==SQLITE_OK ){
55467 int rc = SQLITE_OK; /* Return code */
55482 if( rc==SQLITE_OK ){
55503 int rc = SQLITE_OK;
55514 if( rc==SQLITE_OK ){
55519 if( rc==SQLITE_OK && logexists ){
55527 if( rc==SQLITE_OK && pPager->pWal ){
55529 if( rc==SQLITE_OK ){
55559 int rc = SQLITE_OK;
56159 int rc = SQLITE_OK;
56185 assert( pWal->apWiData[iPage]!=0 || rc!=SQLITE_OK || pWal->writeLock==0 );
56186 testcase( pWal->apWiData[iPage]==0 && rc==SQLITE_OK );
56190 rc = SQLITE_OK;
56197 assert( iPage==0 || *ppPage || rc!=SQLITE_OK );
56425 if( pWal->exclusiveMode ) return SQLITE_OK;
56430 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
56441 if( pWal->exclusiveMode ) return SQLITE_OK;
56446 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
56496 assert( rc==SQLITE_OK || iHash>0 );
56498 if( rc==SQLITE_OK ){
56630 if( rc==SQLITE_OK ){
56726 if( rc==SQLITE_OK ){
56728 if( rc!=SQLITE_OK ){
56741 if( rc!=SQLITE_OK ){
56759 if( rc!=SQLITE_OK ){
56818 if( rc!=SQLITE_OK ) break;
56822 if( rc!=SQLITE_OK ) break;
56840 if( rc==SQLITE_OK ){
56960 if( rc==SQLITE_OK && flags&SQLITE_OPEN_READONLY ){
56964 if( rc!=SQLITE_OK ){
57193 int rc = SQLITE_OK; /* Return Code */
57223 for(i=0; rc==SQLITE_OK && i<nSegment; i++){
57229 if( rc==SQLITE_OK ){
57255 if( rc!=SQLITE_OK ){
57363 int rc = SQLITE_OK; /* Return code */
57381 if( rc!=SQLITE_OK ){
57410 if( rc==SQLITE_OK ){
57423 && (rc = walBusyLock(pWal, xBusy, pBusyArg, WAL_READ_LOCK(0),1))==SQLITE_OK
57436 if( rc==SQLITE_OK ){
57439 if( rc==SQLITE_OK && nSize<nReq ){
57446 while( rc==SQLITE_OK && 0==walIteratorNext(pIter, &iDbpage, &iFrame) ){
57459 if( rc!=SQLITE_OK ) break;
57463 if( rc!=SQLITE_OK ) break;
57467 if( rc==SQLITE_OK ){
57472 if( rc==SQLITE_OK ){
57476 if( rc==SQLITE_OK ){
57488 rc = SQLITE_OK;
57497 if( rc==SQLITE_OK && eMode!=SQLITE_CHECKPOINT_PASSIVE ){
57506 if( rc==SQLITE_OK ){
57543 if( rx==SQLITE_OK && (sz > nMax ) ){
57562 int rc = SQLITE_OK;
57575 && SQLITE_OK==(rc = sqlite3OsLock(pWal->pDbFd, SQLITE_LOCK_EXCLUSIVE))
57583 if( rc==SQLITE_OK ){
57710 if( rc!=SQLITE_OK ){
57748 if( SQLITE_OK==(rc = walLockShared(pWal, WAL_WRITE_LOCK)) ){
57752 }else if( SQLITE_OK==(rc = walLockExclusive(pWal, WAL_WRITE_LOCK, 1)) ){
57754 if( SQLITE_OK==(rc = walIndexPage(pWal, 0, &page0)) ){
57778 if( rc!=SQLITE_OK ){
57839 if( rc!=SQLITE_OK ){
57868 assert( rc!=SQLITE_OK ); /* SQLITE_OK not possible for read-only connection */
57884 if( rc!=SQLITE_OK ){
57895 rc = (pWal->hdr.mxFrame==0 ? SQLITE_OK : WAL_RETRY);
57901 if( rc!=SQLITE_OK ){
57936 if( rc!=SQLITE_OK ) break;
57952 if( rc!=SQLITE_OK ){
58020 int rc = SQLITE_OK; /* Return code */
58056 assert( rc==SQLITE_OK );
58078 }else if( SQLITE_OK==(rc = walLockShared(pWal, WAL_RECOVER_LOCK)) ){
58085 if( rc!=SQLITE_OK ){
58106 if( rc==SQLITE_OK ){
58125 return SQLITE_OK;
58157 if( rc==SQLITE_OK ){
58249 if( rc==SQLITE_OK ){
58255 if( rc==SQLITE_OK ){
58271 if( rc!=SQLITE_OK ) break;
58279 if( rc==SQLITE_OK ){
58283 if( rc!=SQLITE_OK || 0==memcmp(pBuf1, pBuf2, szPage) ){
58334 testcase( rc==SQLITE_OK );
58337 if( rc==SQLITE_OK ){
58371 if( rc==SQLITE_OK ){
58393 if( rc!=SQLITE_OK ){
58443 return SQLITE_OK;
58481 if( rc!=SQLITE_OK ){
58516 return SQLITE_OK;
58610 return SQLITE_OK;
58626 int rc = SQLITE_OK;
58637 ALWAYS(rc==SQLITE_OK) && iFrame<=iMax;
58680 int rc = SQLITE_OK;
58717 int rc = SQLITE_OK;
58727 if( rc==SQLITE_OK ){
58753 testcase( rc==SQLITE_OK );
58836 int rc = SQLITE_OK; /* Return code */
58862 for(; rc==SQLITE_OK && iRead<=iLast; iRead++){
58865 if( rc==SQLITE_OK ){
58924 if( SQLITE_OK!=(rc = walRestartLog(pWal)) ){
58955 if( rc!=SQLITE_OK ){
58993 assert( rc==SQLITE_OK || iWrite==0 );
59057 assert( rc==SQLITE_OK );
59081 for(p=pList; p && rc==SQLITE_OK; p=p->pDirty){
59086 while( rc==SQLITE_OK && nExtra>0 ){
59092 if( rc==SQLITE_OK ){
59177 if( rc==SQLITE_OK ){
59182 rc = SQLITE_OK;
59187 if( rc==SQLITE_OK ){
59195 if( rc==SQLITE_OK ){
59204 if( rc==SQLITE_OK || rc==SQLITE_BUSY ){
59225 return (rc==SQLITE_OK && eMode!=eMode2 ? SQLITE_BUSY : rc);
59283 if( walLockShared(pWal, WAL_READ_LOCK(pWal->readLock))!=SQLITE_OK ){
59318 int rc = SQLITE_OK;
60204 if( sqlite3_mutex_try(p->pBt->mutex)==SQLITE_OK ){
60494 return SQLITE_OK;
60510 #define querySharedCacheTableLock(a,b,c) SQLITE_OK
60511 #define setSharedCacheTableLock(a,b,c) SQLITE_OK
60696 return SQLITE_OK;
60728 return SQLITE_OK;
60768 assert( SQLITE_OK==querySharedCacheTableLock(p, iTable, eLock) );
60801 return SQLITE_OK;
60994 int rc = SQLITE_OK;
61002 if( rc==SQLITE_OK && pgno<=sqlite3BitvecSize(pBt->pHasContent) ){
61057 int rc = SQLITE_OK;
61072 if( rc==SQLITE_OK ){
61106 if( rc==SQLITE_OK ){
61148 return SQLITE_OK;
61165 if( SQLITE_OK!=rc ){
61175 return SQLITE_OK;
61240 if( rc==SQLITE_OK ){
61255 SQLITE_OK)
61313 return SQLITE_OK;
61390 if( rc!=SQLITE_OK ){
61405 if( rc==SQLITE_OK ){
61450 return SQLITE_OK;
61455 #define ptrmapGet(w,x,y,z) SQLITE_OK
61902 return SQLITE_OK;
61984 int rc = SQLITE_OK; /* Integer return code */
62025 return SQLITE_OK;
62054 return SQLITE_OK;
62161 return SQLITE_OK;
62222 return SQLITE_OK;
62365 return SQLITE_OK;
62447 return SQLITE_OK;
62517 if( rc!=SQLITE_OK ){
62532 return SQLITE_OK;
62589 if( rc==SQLITE_OK ){
62672 int rc = SQLITE_OK; /* Result code from this function */
62806 if( rc==SQLITE_OK ){
62810 if( rc!=SQLITE_OK ){
62918 if( rc!=SQLITE_OK ){
62945 assert( rc!=SQLITE_OK || sqlite3BtreeConnectionCount(*ppBtree)>0 );
63054 sqlite3BtreeRollback(p, SQLITE_OK, 0);
63086 return SQLITE_OK;
63102 return SQLITE_OK;
63136 return SQLITE_OK;
63158 return SQLITE_OK;
63183 int rc = SQLITE_OK;
63315 int rc = SQLITE_OK;
63396 if( rc!=SQLITE_OK ) return rc;
63398 if( rc!=SQLITE_OK ) return rc;
63446 if( rc!=SQLITE_OK ){
63452 return SQLITE_OK;
63549 return SQLITE_OK;
63613 return SQLITE_OK;
63642 return SQLITE_OK;
63696 int rc = SQLITE_OK;
63748 if( SQLITE_OK!=rc ) goto trans_begun;
63760 while( pBt->pPage1==0 && SQLITE_OK==(rc = lockBtree(pBt)) );
63762 if( rc==SQLITE_OK && wrflag ){
63767 if( rc==SQLITE_OK ){
63773 if( rc!=SQLITE_OK ){
63779 if( rc==SQLITE_OK ){
63812 if( rc==SQLITE_OK ){
63821 if( rc==SQLITE_OK && wrflag ){
63849 rc = pPage->isInit ? SQLITE_OK : btreeInitPage(pPage);
63850 if( rc!=SQLITE_OK ) return rc;
63900 rc = pPage->isInit ? SQLITE_OK : btreeInitPage(pPage);
63934 return SQLITE_OK;
63969 if( rc!=SQLITE_OK ){
63984 if( rc!=SQLITE_OK ){
63991 if( rc!=SQLITE_OK ){
64003 if( rc!=SQLITE_OK ){
64007 if( rc!=SQLITE_OK ){
64013 if( rc==SQLITE_OK ){
64057 if( rc!=SQLITE_OK ){
64074 if( rc!=SQLITE_OK ){
64087 if( rc!=SQLITE_OK ){
64105 if( rc!=SQLITE_OK ){
64115 if( rc!=SQLITE_OK ){
64128 return SQLITE_OK;
64179 if( rc==SQLITE_OK ){
64183 if( rc==SQLITE_OK ){
64205 int rc = SQLITE_OK;
64233 for(iFree=nOrig; iFree>nFin && rc==SQLITE_OK; iFree--){
64236 if( (rc==SQLITE_DONE || rc==SQLITE_OK) && nFree>0 ){
64244 if( rc!=SQLITE_OK ){
64254 # define setChildPtrmaps(x) SQLITE_OK
64284 int rc = SQLITE_OK;
64291 if( rc!=SQLITE_OK ){
64374 if( p->inTrans==TRANS_NONE ) return SQLITE_OK;
64387 if( rc!=SQLITE_OK && bCleanup==0 ){
64398 return SQLITE_OK;
64408 if( rc==SQLITE_OK ){
64443 int rc = SQLITE_OK;
64452 if( rc!=SQLITE_OK ){
64486 assert( tripCode==SQLITE_ABORT_ROLLBACK || tripCode==SQLITE_OK );
64488 if( tripCode==SQLITE_OK ){
64492 rc = SQLITE_OK;
64496 assert( rc==SQLITE_OK || (writeOnly==0 && rc2==SQLITE_OK) );
64497 if( rc2!=SQLITE_OK ) rc = rc2;
64506 if( rc2!=SQLITE_OK ){
64513 if( btreeGetPage(pBt, 1, &pPage1, 0)==SQLITE_OK ){
64581 int rc = SQLITE_OK;
64590 if( rc==SQLITE_OK ){
64593 if( rc==SQLITE_OK ){
64710 return SQLITE_OK;
64782 return SQLITE_OK;
64898 int rc = SQLITE_OK;
64921 if( rc==SQLITE_OK && eType==PTRMAP_OVERFLOW2 && pgno==ovfl ){
64930 if( rc==SQLITE_OK ){
64932 assert( rc==SQLITE_OK || pPage==0 );
64933 if( rc==SQLITE_OK ){
64944 return (rc==SQLITE_DONE ? SQLITE_OK : rc);
64968 if( rc!=SQLITE_OK ){
64976 return SQLITE_OK;
65016 int rc = SQLITE_OK;
65059 if( rc==SQLITE_OK && amt>0 ){
65099 assert( rc==SQLITE_OK && amt>0 );
65170 if( rc==SQLITE_OK ){
65187 if( rc==SQLITE_OK && amt>0 ){
65413 int rc = SQLITE_OK;
65438 assert( pCur->skipNext!=SQLITE_OK );
65445 if( rc!=SQLITE_OK ){
65500 int rc = SQLITE_OK;
65505 while( rc==SQLITE_OK && !(pPage = pCur->pPage)->leaf ){
65525 int rc = SQLITE_OK;
65539 return SQLITE_OK;
65552 if( rc==SQLITE_OK ){
65559 rc = SQLITE_OK;
65586 return SQLITE_OK;
65590 if( rc==SQLITE_OK ){
65594 if( rc==SQLITE_OK ){
65602 rc = SQLITE_OK;
65660 return SQLITE_OK;
65665 return SQLITE_OK;
65674 if( rc==SQLITE_OK ){
65677 return SQLITE_OK;
65680 rc = SQLITE_OK;
65704 return SQLITE_OK;
65762 return SQLITE_OK;
65843 rc = SQLITE_OK;
65859 rc = SQLITE_OK;
65949 if( rc!=SQLITE_OK ){
65960 return SQLITE_OK;
65994 return SQLITE_OK;
65998 return SQLITE_OK;
66018 return SQLITE_OK;
66054 if( rc!=SQLITE_OK ){
66065 return SQLITE_OK;
66094 rc = SQLITE_OK;
66113 return SQLITE_OK;
66268 if( rc!=SQLITE_OK ){
66286 if( rc!=SQLITE_OK ){
66290 if( rc!=SQLITE_OK ){
66366 if( rc==SQLITE_OK ){
66368 if( rc!=SQLITE_OK ){
66415 if( rc==SQLITE_OK ){
66431 if( rc!=SQLITE_OK ){
66443 assert( rc!=SQLITE_OK || sqlite3PagerPageRefcount((*ppPage)->pDbPage)<=1 );
66444 assert( rc!=SQLITE_OK || (*ppPage)->isInit==0 );
66518 if( rc!=SQLITE_OK ){
66549 if( rc==SQLITE_OK ){
66568 if( pPage==0 && SQLITE_OK!=(rc = btreeGetPage(pBt, iPage, &pPage, 0)) ){
66572 if( rc!=SQLITE_OK ){
66589 if( (*pRC)==SQLITE_OK ){
66613 return SQLITE_OK; /* No overflow pages. Return without doing anything */
66665 return SQLITE_OK;
66734 return SQLITE_OK;
66827 if( pBt->autoVacuum && rc==SQLITE_OK ){
66859 return SQLITE_OK;
66939 assert( *pRC==SQLITE_OK );
66977 if( rc!=SQLITE_OK ){
67114 return SQLITE_OK;
67332 return SQLITE_OK;
67398 if( rc==SQLITE_OK ){
67448 if( rc==SQLITE_OK ){
67524 if( (*pRC)==SQLITE_OK ){
67550 if( rc!=SQLITE_OK ){
67617 int rc = SQLITE_OK; /* The return code */
68023 if( rc!=SQLITE_OK ){
68205 if( rc!=SQLITE_OK ) goto balance_cleanup;
68292 testcase( rc!=SQLITE_OK );
68295 || rc!=SQLITE_OK
68320 if( ISAUTOVACUUM && rc==SQLITE_OK && apNew[0]->isInit ){
68379 if( rc==SQLITE_OK ){
68409 return SQLITE_OK;
68423 int rc = SQLITE_OK;
68445 if( rc==SQLITE_OK ){
68463 if( rc==SQLITE_OK ){
68533 }while( rc==SQLITE_OK );
68591 assert( pCur->skipNext!=SQLITE_OK );
68702 assert( rc==SQLITE_OK ); /* clearCell never fails when nLocal==nPayload */
68705 return SQLITE_OK;
68717 assert( pPage->nOverflow==0 || rc==SQLITE_OK );
68718 assert( rc!=SQLITE_OK || pPage->nCell>0 || pPage->nOverflow>0 );
68742 assert( rc==SQLITE_OK );
68752 if( (flags & BTREE_SAVEPOSITION) && rc==SQLITE_OK ){
68897 if( rc==SQLITE_OK ){
68920 if( rc==SQLITE_OK && pCur->iPage>iCellDepth ){
68930 if( rc==SQLITE_OK ){
68948 if( rc==SQLITE_EMPTY ) rc = SQLITE_OK;
69015 if( rc!=SQLITE_OK ){
69034 if( rc!=SQLITE_OK ){
69040 if( rc!=SQLITE_OK ){
69047 if( rc!=SQLITE_OK ){
69057 if( rc!=SQLITE_OK ){
69061 if( rc!=SQLITE_OK ){
69065 if( rc!=SQLITE_OK ){
69106 return SQLITE_OK;
69195 if( SQLITE_OK==rc ){
69268 if( rc!=SQLITE_OK ){
69279 if( rc!=SQLITE_OK ){
69284 if( rc!=SQLITE_OK ){
69291 if( rc!=SQLITE_OK ){
69351 assert( SQLITE_OK==querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK) );
69386 if( rc==SQLITE_OK ){
69416 return SQLITE_OK;
69422 while( rc==SQLITE_OK ){
69570 if( rc!=SQLITE_OK ){
70144 int rc = SQLITE_OK;
70215 assert( rc==SQLITE_OK || rc==SQLITE_LOCKED_SHAREDCACHE );
70228 int rc = SQLITE_OK;
70237 if( rc==SQLITE_OK ){
70264 if( rc!=SQLITE_OK ){
70281 assert( rc==SQLITE_OK );
70329 if( rc==SQLITE_OK ){
70333 if( rc==SQLITE_OK ){
70335 if( rc==SQLITE_OK ){
70517 return SQLITE_OK;
70580 || checkReadTransaction(pDestDb, p->pDest)!=SQLITE_OK
70606 return (rc!=SQLITE_OK && rc!=SQLITE_BUSY && ALWAYS(rc!=SQLITE_LOCKED));
70632 int rc = SQLITE_OK;
70664 if( rc==SQLITE_OK && newPgsz!=nSrcPgsz ) rc = SQLITE_READONLY;
70672 for(iOff=iEnd-(i64)nSrcPgsz; rc==SQLITE_OK && iOff<iEnd; iOff+=nDestPgsz){
70676 if( SQLITE_OK==(rc = sqlite3PagerGet(pDestPager, iDest, &pDestPg, 0))
70677 && SQLITE_OK==(rc = sqlite3PagerWrite(pDestPg))
70713 if( rc==SQLITE_OK && iCurrent>iSize ){
70764 rc = SQLITE_OK;
70771 if( rc==SQLITE_OK && 0==sqlite3BtreeIsInReadTrans(p->pSrc) ){
70782 if( p->bDestLocked==0 && rc==SQLITE_OK && setDestPgsz(p)==SQLITE_NOMEM ){
70787 if( SQLITE_OK==rc && p->bDestLocked==0
70788 && SQLITE_OK==(rc = sqlite3BtreeBeginTrans(p->pDest, 2))
70799 if( SQLITE_OK==rc && destMode==PAGER_JOURNALMODE_WAL && pgszSrc!=pgszDest ){
70813 if( rc==SQLITE_OK ){
70820 if( rc==SQLITE_OK ){
70840 if( rc==SQLITE_OK || rc==SQLITE_DONE ){
70843 if( rc==SQLITE_OK ){
70851 if( rc==SQLITE_OK ){
70909 for(iPg=nDestTruncate; rc==SQLITE_OK && iPg<=(Pgno)nDstPage; iPg++){
70913 if( rc==SQLITE_OK ){
70919 if( rc==SQLITE_OK ){
70927 rc==SQLITE_OK && iOff<iEnd;
70933 if( rc==SQLITE_OK ){
70939 if( rc==SQLITE_OK ){
70944 if( rc==SQLITE_OK ){
70953 if( SQLITE_OK==rc
70954 && SQLITE_OK==(rc = sqlite3BtreeCommitPhaseTwo(p->pDest, 0))
70970 assert( rc2==SQLITE_OK );
70995 if( p==0 ) return SQLITE_OK;
71016 sqlite3BtreeRollback(p->pDest, SQLITE_OK, 0);
71019 rc = (p->rc==SQLITE_DONE) ? SQLITE_OK : p->rc;
71096 if( rc!=SQLITE_OK ){
71146 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
71172 assert( b.rc!=SQLITE_OK );
71175 if( rc==SQLITE_OK ){
71308 return SQLITE_OK;
71319 assert(rc==SQLITE_OK || rc==SQLITE_NOMEM);
71320 assert(rc==SQLITE_OK || pMem->enc!=desiredEnc);
71375 return SQLITE_OK;
71400 return SQLITE_OK;
71414 return SQLITE_OK;
71438 return SQLITE_OK;
71465 return SQLITE_OK;
71477 return SQLITE_OK; /* Nothing to do */
71531 return SQLITE_OK;
71759 return SQLITE_OK;
71772 return SQLITE_OK;
71804 return SQLITE_OK;
72049 int rc = SQLITE_OK;
72114 return SQLITE_OK;
72178 return SQLITE_OK;
72204 if( SQLITE_OK==(rc = sqlite3VdbeMemClearAndResize(pMem, amt+1)) ){
72206 if( rc==SQLITE_OK ){
72224 int rc = SQLITE_OK; /* Return code */
72265 if( sqlite3VdbeMemMakeWriteable(pVal)!=SQLITE_OK ){
72416 int rc = SQLITE_OK; /* Return code */
72429 return SQLITE_OK;
72440 if( apVal[i]==0 || rc!=SQLITE_OK ) goto value_from_function_out;
72450 assert( pCtx->pParse->rc==SQLITE_OK );
72460 assert( rc==SQLITE_OK );
72462 if( rc==SQLITE_OK && sqlite3VdbeMemTooBig(pVal) ){
72470 if( rc!=SQLITE_OK ){
72484 # define valueFromFunction(a,b,c,d,e,f) SQLITE_OK
72510 int rc = SQLITE_OK;
72529 testcase( rc!=SQLITE_OK );
72569 if( SQLITE_OK==valueFromExpr(db,pExpr->pLeft,enc,affinity,&pVal,pCtx)
72722 int rc = SQLITE_OK;
72799 int rc = SQLITE_OK;
72889 return SQLITE_OK;
73096 return (pNew ? SQLITE_OK : SQLITE_NOMEM_BKPT);
74602 int rc = SQLITE_OK; /* Return code */
74609 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY || p->rc==SQLITE_NOMEM );
74654 p->rc = SQLITE_OK;
74686 if( p->rc!=SQLITE_OK ){
74699 if( rc==SQLITE_OK ){
74773 p->rc = SQLITE_OK;
74897 p->rc = SQLITE_OK;
75201 int rc = SQLITE_OK;
75225 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
75254 if( rc!=SQLITE_OK ){
75278 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
75290 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
75296 if( rc==SQLITE_OK ){
75340 }while( rc==SQLITE_OK && res );
75341 if( rc==SQLITE_OK ){
75348 if( rc!=SQLITE_OK ){
75369 if( rc!=SQLITE_OK ){
75382 && SQLITE_OK!=(rc = sqlite3OsSync(pMaster, SQLITE_SYNC_NORMAL))
75400 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
75408 if( rc!=SQLITE_OK ){
75493 int rc = SQLITE_OK;
75502 int rc2 = SQLITE_OK;
75508 if( rc2==SQLITE_OK ){
75511 if( rc==SQLITE_OK ){
75519 if( rc==SQLITE_OK ){
75523 if( rc==SQLITE_OK ){
75541 return SQLITE_OK;
75566 return SQLITE_OK;
75604 return SQLITE_OK;
75655 if( p->rc==SQLITE_OK ){
75669 if( p->rc==SQLITE_OK || (p->errorAction==OE_Fail && !isSpecialError) ){
75671 if( rc!=SQLITE_OK ){
75687 }else if( rc!=SQLITE_OK ){
75689 sqlite3RollbackAll(db, SQLITE_OK);
75698 sqlite3RollbackAll(db, SQLITE_OK);
75703 if( p->rc==SQLITE_OK || p->errorAction==OE_Fail ){
75724 if( p->rc==SQLITE_OK || (p->rc&0xff)==SQLITE_CONSTRAINT ){
75776 return (p->rc==SQLITE_BUSY ? SQLITE_BUSY : SQLITE_OK);
75785 p->rc = SQLITE_OK;
75819 if( sqlite3GlobalConfig.xSqllog && v->rc==SQLITE_OK && v->zSql && v->pc>=0 ){
75934 int rc = SQLITE_OK;
76060 return SQLITE_OK;
76090 return SQLITE_OK;
76114 return SQLITE_OK;
76121 return SQLITE_OK;
77435 return SQLITE_OK;
77484 return SQLITE_OK;
77807 rc = SQLITE_OK;
77832 rc = SQLITE_OK;
77852 int rc = SQLITE_OK;
77878 if( ExpandBlob(p)!=SQLITE_OK ){
77995 if( sqlite3VdbeMemMakeWriteable(pNew)!=SQLITE_OK ){
78190 return SQLITE_OK;
78227 int rc = SQLITE_OK;
78237 if( nEntry>0 && db->xWalCallback && rc==SQLITE_OK ){
78329 p->rcApp = SQLITE_OK;
78348 assert( p->rc==SQLITE_OK );
78350 if( p->rc!=SQLITE_OK ){
78390 int rc = SQLITE_OK; /* Result from sqlite3Step() */
78405 if( rc!=SQLITE_OK ){
79020 sqlite3Error(p->db, SQLITE_OK);
79035 return SQLITE_OK;
79054 if( rc==SQLITE_OK ){
79058 if( rc==SQLITE_OK && encoding!=0 ){
79107 if( rc==SQLITE_OK ){
79120 if( rc==SQLITE_OK ){
79130 if( rc==SQLITE_OK ){
79145 if( rc==SQLITE_OK ){
79224 if( rc==SQLITE_OK ){
79293 return SQLITE_OK;
79466 int rc = SQLITE_OK;
79491 if( rc==SQLITE_OK ){
79495 if( rc!=SQLITE_OK ){
79555 int rc = SQLITE_OK;
79577 if( rc!=SQLITE_OK ) goto preupdate_new_out;
79612 if( rc!=SQLITE_OK ) goto preupdate_new_out;
80113 if( SQLITE_OK==sqlite3VdbeMemClearAndResize(pMem, nByte) ){
80549 int rc = SQLITE_OK; /* Value to return */
80575 assert( p->rc==SQLITE_OK || (p->rc&0xff)==SQLITE_BUSY );
80622 assert( rc==SQLITE_OK );
80932 if( pOp->p1==SQLITE_OK && p->pFrame ){
80974 assert( rc==SQLITE_BUSY || rc==SQLITE_OK || rc==SQLITE_ERROR );
80978 assert( rc==SQLITE_OK || (p->rc&0xff)==SQLITE_CONSTRAINT );
80979 assert( rc==SQLITE_OK || db->nDeferredCons>0 || db->nDeferredImmCons>0 );
81042 assert( rc==SQLITE_OK || rc==SQLITE_TOOBIG );
81043 if( SQLITE_OK!=sqlite3VdbeChangeEncoding(pOut, encoding) ) goto no_mem;
81060 assert( rc==SQLITE_OK );
81320 if( SQLITE_OK!=(rc = sqlite3VdbeCheckFk(p, 0)) ){
81343 assert( rc==SQLITE_OK );
82509 if( rc!=SQLITE_OK ) goto abort_due_to_error;
82579 assert( rc==SQLITE_OK );
82632 if( rc!=SQLITE_OK ) goto abort_due_to_error;
82930 if( rc!=SQLITE_OK ) goto abort_due_to_error;
82985 if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){
83006 if( rc!=SQLITE_OK ) goto abort_due_to_error;
83013 if( rc!=SQLITE_OK ){
83051 if( rc!=SQLITE_OK ) goto abort_due_to_error;
83093 }else if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){
83106 if( p->rc==SQLITE_OK ){
83177 if( rc!=SQLITE_OK ){
83197 if( rc==SQLITE_OK ){
83511 assert( rc==SQLITE_OK );
83561 if( rc==SQLITE_OK ){
83564 if( rc==SQLITE_OK ){
83574 if( rc==SQLITE_OK ){
83867 if( rc!=SQLITE_OK ){
83910 if( rc!=SQLITE_OK ){
83927 if( rc!=SQLITE_OK ){
83929 rc = SQLITE_OK;
83943 if( rc!=SQLITE_OK ){
83945 rc = SQLITE_OK;
84072 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
84093 if( rc!=SQLITE_OK ){
84186 assert( rc==SQLITE_OK || res==0 );
84194 assert( rc==SQLITE_OK );
84282 if( rc!=SQLITE_OK ){
84340 0, &res))==SQLITE_OK)
84680 assert( rc!=SQLITE_OK || (pOut->flags & MEM_Blob) );
84743 if( rc!=SQLITE_OK ) goto abort_due_to_error;
85095 VdbeBranchTaken(rc==SQLITE_OK,2);
85096 if( rc==SQLITE_OK ){
85105 rc = SQLITE_OK;
85267 if( NEVER(rc!=SQLITE_OK) ) goto abort_due_to_error;
85272 if( rc!=SQLITE_OK ){
85591 initData.rc = SQLITE_OK;
85594 if( rc==SQLITE_OK ) rc = initData.rc;
86308 rc = SQLITE_OK;
86390 if( rc==SQLITE_OK ){
86403 if( rc==SQLITE_OK ){
86455 rc = SQLITE_OK;
86554 assert( rc==SQLITE_OK );
86883 if( rc==SQLITE_OK && pOp->p1 ){
86889 rc = SQLITE_OK;
87257 assert( rc!=SQLITE_OK || nExtraDelete==0
87388 rc = SQLITE_OK;
87392 if( rc==SQLITE_OK ){
87400 assert( rc!=SQLITE_OK || zErr==0 );
87421 int rc = SQLITE_OK;
87625 if( rc==SQLITE_OK && db->mallocFailed==0 ){
87655 rc = SQLITE_OK;
87785 if( rc!=SQLITE_OK ){
87793 assert( rc==SQLITE_OK || p->pStmt==0 );
88298 return SQLITE_OK;
88322 if( rc!=SQLITE_OK ) return rc;
88365 if( rc!=SQLITE_OK ) return rc;
88374 return SQLITE_OK;
88402 return SQLITE_OK;
88415 int rc = SQLITE_OK;
88420 testcase( rc!=SQLITE_OK );
88437 int rc = SQLITE_OK;
88451 if( rc==SQLITE_OK && pReadr->aMap==0 ){
88459 if( rc==SQLITE_OK && iBuf ){
88467 testcase( rc!=SQLITE_OK );
88479 int rc = SQLITE_OK; /* Return Code */
88488 if( rc==SQLITE_OK && pIncr->bEof==0 ){
88499 testcase( rc!=SQLITE_OK );
88504 if( rc==SQLITE_OK ){
88507 if( rc==SQLITE_OK ){
88510 testcase( rc!=SQLITE_OK );
88540 if( rc==SQLITE_OK ){
88547 if( rc==SQLITE_OK ){
88738 int rc = SQLITE_OK;
88907 int rc = SQLITE_OK;
88954 if( rc==SQLITE_OK ) rc = rc2;
88960 # define vdbeSorterJoinThread(pTask) SQLITE_OK
89026 (void)vdbeSorterJoinAll(pSorter, SQLITE_OK);
89110 if( rc==SQLITE_OK ){
89132 return SQLITE_OK;
89202 if( rc!=SQLITE_OK ) return rc;
89242 assert( pTask->pUnpacked->errCode==SQLITE_OK
89348 int rc = SQLITE_OK; /* Return code */
89364 assert( rc!=SQLITE_OK || pTask->file.pFd );
89370 if( rc==SQLITE_OK ){
89375 if( rc==SQLITE_OK ){
89379 if( rc==SQLITE_OK ){
89398 assert( rc!=SQLITE_OK || pList->pList==0 );
89399 assert( rc!=SQLITE_OK || pTask->file.iEof==iSz );
89422 if( rc==SQLITE_OK ){
89474 return (rc==SQLITE_OK ? pTask->pUnpacked->errCode : rc);
89500 int rc = SQLITE_OK;
89523 if( rc!=SQLITE_OK || pTask->pThread==0 ) break;
89526 if( rc==SQLITE_OK ){
89567 int rc = SQLITE_OK; /* Return Code */
89618 assert( rc!=SQLITE_OK || pSorter->list.pList==0 );
89671 int rc = SQLITE_OK;
89683 while( rc==SQLITE_OK ){
89702 if( rc==SQLITE_OK ) rc = rc2;
89747 int rc = SQLITE_OK;
89753 if( rc==SQLITE_OK ){
89759 if( rc==SQLITE_OK ){
89790 int rc = SQLITE_OK;
89909 int rc = SQLITE_OK; /* Return code */
89933 if( rc!=SQLITE_OK ) return rc;
89976 int rc = SQLITE_OK;
89989 if( rc==SQLITE_OK ){
89994 if( rc==SQLITE_OK ){
90005 if( rc==SQLITE_OK ){
90014 if( rc==SQLITE_OK && pIncr->bUseThread ){
90030 if( rc==SQLITE_OK && (SQLITE_MAX_WORKER_THREADS==0 || eMode!=INCRINIT_TASK) ){
90065 int rc = SQLITE_OK; /* Return code */
90102 int rc = SQLITE_OK;
90107 for(i=0; i<nPMA && rc==SQLITE_OK; i++){
90114 if( rc!=SQLITE_OK ){
90157 int rc = SQLITE_OK;
90169 for(i=1; i<nDepth && rc==SQLITE_OK; i++){
90181 if( rc==SQLITE_OK ){
90187 if( rc==SQLITE_OK ){
90211 int rc = SQLITE_OK;
90225 for(iTask=0; rc==SQLITE_OK && iTask<pSorter->nTask; iTask++){
90240 for(i=0; i<pTask->nPMA && rc==SQLITE_OK; i += SORTER_MAX_MERGE_COUNT){
90246 if( rc==SQLITE_OK ){
90252 if( rc==SQLITE_OK ){
90268 if( rc!=SQLITE_OK ){
90299 if( rc==SQLITE_OK ){
90307 if( rc==SQLITE_OK ){
90312 if( rc==SQLITE_OK ){
90314 if( rc==SQLITE_OK ){
90323 for(iTask=0; rc==SQLITE_OK && iTask<pSorter->nTask; iTask++){
90343 if( rc==SQLITE_OK ){
90355 if( rc!=SQLITE_OK ){
90369 int rc = SQLITE_OK; /* Return code */
90403 if( rc==SQLITE_OK ){
90433 if( rc==SQLITE_OK && pSorter->pReader->pFd==0 ) rc = SQLITE_DONE;
90441 if( rc==SQLITE_OK && res ) rc = SQLITE_DONE;
90448 rc = pSorter->list.pList ? SQLITE_OK : SQLITE_DONE;
90498 return SQLITE_OK;
90545 return SQLITE_OK;
90550 return SQLITE_OK;
90687 return SQLITE_OK;
90713 if( rc==SQLITE_OK ){
90725 if( rc==SQLITE_OK ){
90730 if( rc!=SQLITE_OK ){
90759 if( rc==SQLITE_OK ){
90814 return SQLITE_OK;
90834 return SQLITE_OK;
90843 return SQLITE_OK;
90854 return SQLITE_OK;
90863 return SQLITE_OK;
90933 return SQLITE_OK;
90952 int rc = SQLITE_OK;
91852 if( auth!=SQLITE_OK ){
92580 if( pExpr==0 ) return SQLITE_OK;
93313 int rc = SQLITE_OK;
96814 v, OP_Halt, SQLITE_OK, OE_Ignore, 0, pExpr->u.zToken,0);
98454 if( SQLITE_OK!=isSystemTable(pParse, pTab->zName) ){
98457 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){ goto
98686 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
98687 if( rc!=SQLITE_OK ){
98778 if( SQLITE_OK!=isSystemTable(pParse, pTab->zName) ){
100235 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
100647 if( rc==SQLITE_OK ) initAvgEq(pPrevIdx);
100656 int rc = SQLITE_OK; /* Result codes from subroutines */
100667 if( rc==SQLITE_OK && sqlite3FindTable(db, "sqlite_stat3", zDb) ){
100703 int rc = SQLITE_OK;
100747 if( rc==SQLITE_OK && OptimizationEnabled(db, SQLITE_Stat34) ){
100806 int rc = SQLITE_OK;
100895 if( rc!=SQLITE_OK ){
100910 }else if( rc==SQLITE_OK ){
100933 if( rc==SQLITE_OK && pNew->zDbSName==0 ){
100939 if( rc==SQLITE_OK ){
100975 if( rc==SQLITE_OK ){
100981 if( rc==SQLITE_OK ){
101095 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pFilename)) ||
101096 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pDbname)) ||
101097 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pKey))
101111 if(rc!=SQLITE_OK ){
101427 return SQLITE_OK;
101458 if( db->init.busy ) return SQLITE_OK;
101469 }else if( rc!=SQLITE_IGNORE && rc!=SQLITE_OK ){
101555 return SQLITE_OK;
101559 return SQLITE_OK;
101581 }else if( rc!=SQLITE_OK && rc!=SQLITE_IGNORE ){
101758 if( pParse->rc==SQLITE_OK ) pParse->rc = SQLITE_ERROR;
101967 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
102423 return SQLITE_OK;
102499 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
102533 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
103234 if( pIdx->nColumn>=N ) return SQLITE_OK;
103249 return SQLITE_OK;
104552 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
104649 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
105117 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
105650 if( rc!=SQLITE_OK ){
105921 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
106140 return SQLITE_OK;
106212 return SQLITE_OK;
106886 assert( rcauth==SQLITE_OK || rcauth==SQLITE_DENY || rcauth==SQLITE_IGNORE );
106958 if( rcauth==SQLITE_OK
109186 assert( rc==SQLITE_NOMEM || rc==SQLITE_OK );
113089 sqlite3VdbeAddOp2(v, OP_Halt, SQLITE_OK, 0);
113137 int rc = SQLITE_OK; /* Return code */
113147 sqlite3Error(db, SQLITE_OK);
113148 while( rc==SQLITE_OK && zSql[0] ){
113154 assert( rc==SQLITE_OK || pStmt==0 );
113155 if( rc!=SQLITE_OK ){
113229 if( rc!=SQLITE_OK && pzErrMsg ){
114406 if( rc==SQLITE_OK_LOAD_PERMANENTLY ) return SQLITE_OK;
114427 return SQLITE_OK;
114468 return SQLITE_OK;
114509 int rc = SQLITE_OK;
114580 if( sqlite3_initialize()==SQLITE_OK )
115436 return SQLITE_OK;
115449 if( db->temp_store==ts ) return SQLITE_OK;
115450 if( invalidateTempStorage( pParse ) != SQLITE_OK ){
115454 return SQLITE_OK;
115693 if( rc==SQLITE_OK ){
115999 if( rc==SQLITE_OK && (eAuto==1 || eAuto==2) ){
116010 { OP_Halt, SQLITE_OK, OE_Abort, 0}, /* 3 */
116152 rc = SQLITE_OK;
116154 if( rc==SQLITE_OK ){
116201 if( rc!=SQLITE_OK || res==0 ){
116245 if( rc!=SQLITE_OK || res==0 ){
116290 if( res!=SQLITE_OK ){
117358 if( zRight && sqlite3DecOrHexToI64(zRight, &N)==SQLITE_OK ){
117375 && sqlite3DecOrHexToI64(zRight, &N)==SQLITE_OK
117403 SQLITE_FCNTL_LOCKSTATE, &j)==SQLITE_OK ){
117535 if( rc==SQLITE_OK ){
117560 return SQLITE_OK;
117577 if( pTab->nHidden==0 ){ return SQLITE_OK; }
117592 return SQLITE_OK;
117597 if( seen[1]==0 ) return SQLITE_OK;
117603 return SQLITE_OK;
117614 return SQLITE_OK;
117633 return SQLITE_OK;
117639 int rc = SQLITE_OK;
117695 if( rc!=SQLITE_OK ){
117725 return SQLITE_OK;
117734 return SQLITE_OK;
117873 if( SQLITE_OK!=rc ){
117951 initData.rc = SQLITE_OK;
117965 rc = SQLITE_OK;
117975 if( rc!=SQLITE_OK ){
118089 if( rc==SQLITE_OK ) rc = initData.rc;
118092 if( rc==SQLITE_OK ){
118101 if( rc==SQLITE_OK || (db->flags&SQLITE_WriteSchema)){
118111 rc = SQLITE_OK;
118169 return SQLITE_OK;
118177 int rc = SQLITE_OK;
118183 if( rc!=SQLITE_OK ){
118217 if( rc!=SQLITE_OK ) return;
118298 int rc = SQLITE_OK; /* Result code */
118380 if( sParse.rc==SQLITE_DONE ) sParse.rc = SQLITE_OK;
118393 if( rc==SQLITE_OK && sParse.pVdbe && sParse.explain ){
118418 if( sParse.pVdbe && (rc!=SQLITE_OK || db->mallocFailed) ){
118470 assert( rc==SQLITE_OK || *ppStmt==0 );
118515 return SQLITE_OK;
118536 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
118554 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 );
118576 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 );
118599 int rc = SQLITE_OK;
118652 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
118664 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
118679 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
120444 return SQLITE_OK;
120949 int rc = SQLITE_OK; /* Success code from a subroutine */
121040 testcase( rc!=SQLITE_OK );
121110 testcase( rc!=SQLITE_OK );
121188 testcase( rc!=SQLITE_OK );
122686 return SQLITE_OK;
122950 return SQLITE_OK;
124876 res.rc = SQLITE_OK;
124899 if( rc!=SQLITE_OK ){
125117 if( !zName || SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
125456 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
125833 if( SQLITE_OK==sqlite3ResolveExprNames(&sNC, pWhen)
127023 if( rc!=SQLITE_OK ) return rc;
127030 if( rc!=SQLITE_OK ) break;
127034 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
127115 int rc = SQLITE_OK; /* Return code from service routines */
127171 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127205 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127207 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127238 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127244 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127260 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127309 if( NEVER(rc!=SQLITE_OK) ) goto end_of_vacuum;
127313 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127315 if( rc!=SQLITE_OK ) goto end_of_vacuum;
127321 assert( rc==SQLITE_OK );
127439 int rc = SQLITE_OK;
127448 if( rc!=SQLITE_OK && xDestroy ) xDestroy(pAux);
127912 if( SQLITE_OK!=rc ){
127993 return SQLITE_OK;
128007 if( rc!=SQLITE_OK ){
128035 return SQLITE_OK;
128057 int rc = SQLITE_OK;
128082 if( rc==SQLITE_OK && ALWAYS(sqlite3GetVTable(db, pTab)) ){
128084 if( rc==SQLITE_OK ){
128099 int rc = SQLITE_OK;
128123 if( SQLITE_OK==sqlite3RunParser(&sParse, zCreateTable, &zErr)
128183 int rc = SQLITE_OK;
128201 if( rc==SQLITE_OK ){
128250 int rc = SQLITE_OK;
128254 for(i=0; rc==SQLITE_OK && i<db->nVTrans; i++){
128272 return SQLITE_OK;
128281 return SQLITE_OK;
128293 int rc = SQLITE_OK;
128305 return SQLITE_OK;
128315 return SQLITE_OK;
128322 if( rc==SQLITE_OK ){
128324 if( rc==SQLITE_OK ){
128353 int rc = SQLITE_OK;
128359 for(i=0; rc==SQLITE_OK && i<db->nVTrans; i++){
128573 int rc = SQLITE_OK;
128597 if( rc!=SQLITE_OK ) sqlite3Error(db, rc);
133924 if( rc!=SQLITE_OK ){
134232 int rc = SQLITE_OK;
134245 if( pUpper && rc==SQLITE_OK ){
134253 for(i=0; rc==SQLITE_OK && i<p->nSample; i++){
134255 if( rc==SQLITE_OK && p1 ){
134259 if( rc==SQLITE_OK && p2 ){
134339 int rc = SQLITE_OK;
134408 if( rc==SQLITE_OK && n ){
134425 if( rc==SQLITE_OK && n ){
134438 if( rc==SQLITE_OK ){
134540 return SQLITE_OK;
134545 if( rc!=SQLITE_OK ) return rc;
134584 int rc = SQLITE_OK; /* Subfunction return code */
134590 for(i=0; rc==SQLITE_OK && i<pList->nExpr; i++){
134597 if( rc==SQLITE_OK ){
134751 if( p->nLSlot>=n ) return SQLITE_OK;
134759 return SQLITE_OK;
134778 return SQLITE_OK;
135018 return SQLITE_OK;
135035 return SQLITE_OK;
135277 int rc = SQLITE_OK; /* Return code */
135312 for(; rc==SQLITE_OK && pTerm!=0; pTerm = whereScanNext(&scan)){
135471 if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK;
135472 if( rc!=SQLITE_OK ) break; /* Jump out of the pTerm loop */
135550 && (rc = whereLoopResize(db, pNew, pNew->nLTerm+1))==SQLITE_OK
135701 int rc = SQLITE_OK; /* Return code */
135763 for(pTerm=pWC->a; rc==SQLITE_OK && pTerm<pWCEnd; pTerm++){
135801 for(; rc==SQLITE_OK && pProbe;
135954 int rc = SQLITE_OK;
136120 int rc = SQLITE_OK; /* Return code */
136161 if( rc==SQLITE_OK && (mBest = (pNew->prereq & ~mPrereq))!=0 ){
136183 while( rc==SQLITE_OK ){
136209 if( rc==SQLITE_OK && seenZero==0 ){
136219 if( rc==SQLITE_OK && seenZeroNoIN==0 ){
136245 int rc = SQLITE_OK;
136259 for(pTerm=pWC->a; pTerm<pWCEnd && rc==SQLITE_OK; pTerm++){
136303 if( rc==SQLITE_OK ){
136306 assert( rc==SQLITE_OK || sCur.n==0 );
136332 for(i=0; rc==SQLITE_OK && i<sSum.n; i++){
136368 int rc = SQLITE_OK;
136399 if( rc==SQLITE_OK ){
137169 return SQLITE_OK;
142851 pParse->rc = SQLITE_OK;
142906 if( pParse->rc!=SQLITE_OK || db->mallocFailed ) break;
142926 if( pParse->rc!=SQLITE_OK && pParse->rc!=SQLITE_DONE && pParse->zErrMsg==0 ){
142972 assert( nErr==0 || pParse->rc!=SQLITE_OK );
143514 if( rc!=SQLITE_OK ){
143529 if( sqlite3GlobalConfig.isInit ) return SQLITE_OK;
143554 if( rc==SQLITE_OK ){
143564 if( rc==SQLITE_OK ){
143572 if( rc!=SQLITE_OK ){
143603 if( rc==SQLITE_OK ){
143607 if( rc==SQLITE_OK ){
143639 if ( rc==SQLITE_OK ){
143674 if( rc!=SQLITE_OK ){
143713 return SQLITE_OK;
143727 int rc = SQLITE_OK;
144082 return SQLITE_OK;
144119 return SQLITE_OK;
144128 int rc = SQLITE_OK;
144136 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
144143 rc = SQLITE_OK;
144149 return ((rc==SQLITE_OK && bSeenBusy) ? SQLITE_BUSY : rc);
144164 rc = SQLITE_OK;
144205 rc = SQLITE_OK;
144424 return SQLITE_OK;
144467 return SQLITE_OK;
144514 sqlite3RollbackAll(db, SQLITE_OK);
144580 sqlite3Error(db, SQLITE_OK); /* Deallocates any cached error strings. */
144669 case SQLITE_OK: zName = "SQLITE_OK"; break;
144906 return SQLITE_OK;
144956 return SQLITE_OK;
145022 if( rc==SQLITE_OK ){
145026 if( rc!=SQLITE_OK ){
145072 return SQLITE_OK;
145123 assert( rc!=SQLITE_OK );
145180 int rc = SQLITE_OK;
145246 return SQLITE_OK;
145396 return SQLITE_OK;
145425 return SQLITE_OK;
145467 return SQLITE_OK;
145549 int rc = SQLITE_OK; /* Return code */
145557 for(i=0; i<db->nDb && rc==SQLITE_OK; i++){
145564 rc = SQLITE_OK;
145569 return (rc==SQLITE_OK && bBusy) ? SQLITE_BUSY : rc;
145785 sqlite3Error(db, SQLITE_OK);
145786 return SQLITE_OK;
145934 int rc = SQLITE_OK;
146147 if( rc!=SQLITE_OK ){
146336 if( rc!=SQLITE_OK ){
146346 if( rc!=SQLITE_OK ){
146376 sqlite3Error(db, SQLITE_OK);
146384 if( !db->mallocFailed && rc==SQLITE_OK ){
146392 if( rc==SQLITE_OK ){
146395 if( rc!=SQLITE_OK ){
146408 if( !db->mallocFailed && rc==SQLITE_OK ){
146415 if( !db->mallocFailed && rc==SQLITE_OK ){
146421 if( !db->mallocFailed && rc==SQLITE_OK ){
146427 if( !db->mallocFailed && rc==SQLITE_OK){
146433 if( !db->mallocFailed && rc==SQLITE_OK){
146439 if( !db->mallocFailed && rc==SQLITE_OK){
146445 if( !db->mallocFailed && rc==SQLITE_OK){
146451 if( !db->mallocFailed && rc==SQLITE_OK){
146485 }else if( rc!=SQLITE_OK ){
146497 if( rc==SQLITE_OK ){
146564 if( rc==SQLITE_OK && !DbHasProperty(*ppDb, 0, DB_SchemaLoaded) ){
146624 int rc = SQLITE_OK;
146660 return SQLITE_OK;
146681 return SQLITE_OK;
146691 return SQLITE_OK;
146805 if( SQLITE_OK!=rc ){
146874 if( SQLITE_OK==rc && !pTab ){
146913 return SQLITE_OK;
146938 rc = SQLITE_OK;
146941 rc = SQLITE_OK;
146944 rc = SQLITE_OK;
147416 if( rc==SQLITE_OK ){
147452 if( rc==SQLITE_OK ){
147486 if( rc==SQLITE_OK ){
147711 int rc = SQLITE_OK;
148953 # define sqlite3Fts3DeferToken(x,y,z) SQLITE_OK
148954 # define sqlite3Fts3CacheDeferredDoclists(x) SQLITE_OK
148956 # define sqlite3Fts3DeferredTokenList(x,y,z) SQLITE_OK
149309 return SQLITE_OK;
149355 int rc = SQLITE_OK; /* Return code */
149372 return (rc==SQLITE_OK ? fts3DisconnectMethod(pVtab) : rc);
149386 if( *pRc==SQLITE_OK ){
149428 if( (*pRc)==SQLITE_OK ) p->bHasStat = 1;
149441 int rc = SQLITE_OK; /* Return code */
149506 if( *pRc==SQLITE_OK ){
149516 if( rc==SQLITE_OK ){
149522 rc = SQLITE_OK;
149525 assert( p->nPgsz>0 || rc!=SQLITE_OK );
149570 if( *pRc==SQLITE_OK ){
149746 return SQLITE_OK;
149807 return SQLITE_OK;
149844 int rc = SQLITE_OK; /* Return code */
149853 if( rc!=SQLITE_OK ){
149859 if( rc==SQLITE_OK ){
149921 int rc = SQLITE_OK; /* Return code */
149981 for(i=3; rc==SQLITE_OK && i<argc; i++){
150100 if( rc==SQLITE_OK && zContent ){
150112 if( rc==SQLITE_OK && zLanguageid ){
150125 if( rc!=SQLITE_OK ) goto fts3_init_out;
150136 if( rc!=SQLITE_OK ) goto fts3_init_out;
150145 if( rc!=SQLITE_OK ) goto fts3_init_out;
150232 if( rc==SQLITE_OK && (zCompress==0)!=(zUncompress==0) ){
150239 if( rc!=SQLITE_OK ) goto fts3_init_out;
150273 if( rc!=SQLITE_OK ){
150374 return SQLITE_OK;
150464 return SQLITE_OK;
150484 return SQLITE_OK;
150530 return SQLITE_OK;
150543 int rc = SQLITE_OK;
150556 if( rc==SQLITE_OK ) pCsr->bSeekStmt = 1;
150567 int rc = SQLITE_OK;
150570 if( rc==SQLITE_OK ){
150574 return SQLITE_OK;
150577 if( rc==SQLITE_OK && ((Fts3Table *)pCsr->base.pVtab)->zContentTbl==0 ){
150588 if( rc!=SQLITE_OK && pContext ){
150617 int rc = SQLITE_OK; /* Return code */
150740 int rc = SQLITE_OK; /* Return code */
150747 assert( !piLeaf2 || !piLeaf || rc!=SQLITE_OK || (*piLeaf<=*piLeaf2) );
150749 if( rc==SQLITE_OK && iHeight>1 ){
150755 if( rc==SQLITE_OK ){
150763 if( rc==SQLITE_OK ){
150766 if( rc==SQLITE_OK ){
151363 return SQLITE_OK;
151438 return SQLITE_OK;
151522 if( rc!=SQLITE_OK ){
151538 return SQLITE_OK;
151603 if( rc!=SQLITE_OK ){
151621 return SQLITE_OK;
151642 return SQLITE_OK;
151663 int rc = SQLITE_OK; /* Error code */
151676 if( rc==SQLITE_OK && pSeg ){
151682 if( rc==SQLITE_OK ){
151686 while( rc==SQLITE_OK && SQLITE_ROW==(rc = sqlite3_step(pStmt)) ){
151701 if( rc!=SQLITE_OK ) goto finished;
151710 if( rc!=SQLITE_OK ) goto finished;
151816 if( rc==SQLITE_OK ){
151873 while( SQLITE_OK==rc
151879 if( rc==SQLITE_OK ){
151882 if( rc==SQLITE_OK ){
151941 rc = SQLITE_OK;
152000 int rc = SQLITE_OK;
152057 if( rc!=SQLITE_OK ){
152063 if( rc!=SQLITE_OK ) return rc;
152093 if( rc==SQLITE_OK ){
152097 if( rc!=SQLITE_OK ) return rc;
152124 return SQLITE_OK;
152143 int rc = SQLITE_OK; /* Return Code */
152177 if( rc==SQLITE_OK && sqlite3_data_count(pCsr->pStmt)-1>iCol ){
152233 if( rc==SQLITE_OK
152241 assert( rc==SQLITE_OK || mxLevel==0 );
152258 int rc = SQLITE_OK;
152264 p->bHasStat = (res==SQLITE_OK);
152300 return SQLITE_OK;
152313 return SQLITE_OK;
152374 rc = SQLITE_OK;
152422 }else if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){
152442 if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){
152475 case SQLITE_OK:
152497 if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){
152565 if( rc==SQLITE_OK ){
152605 int rc = SQLITE_OK;
152628 return SQLITE_OK;
152643 return SQLITE_OK;
152709 int rc = SQLITE_OK;
152728 if( rc!=SQLITE_OK ) return rc;
152732 if( rc!=SQLITE_OK ) return rc;
152746 if( rc==SQLITE_OK ){
152762 if( rc==SQLITE_OK ){
152771 if( SQLITE_OK==rc
152772 && SQLITE_OK==(rc = sqlite3Fts3InitHashTable(db, pHash, "fts3_tokenizer"))
152773 && SQLITE_OK==(rc = sqlite3_overload_function(db, "snippet", -1))
152774 && SQLITE_OK==(rc = sqlite3_overload_function(db, "offsets", 1))
152775 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 1))
152776 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 2))
152777 && SQLITE_OK==(rc = sqlite3_overload_function(db, "optimize", 1))
152782 if( rc==SQLITE_OK ){
152787 if( rc==SQLITE_OK ){
152795 assert( rc!=SQLITE_OK );
152825 if( pExpr && SQLITE_OK==*pRc ){
152835 if( rc!=SQLITE_OK ){
152867 int rc = SQLITE_OK;
152930 int rc = SQLITE_OK;
152932 for(iToken=0; rc==SQLITE_OK && iToken<p->nToken; iToken++){
152940 if( rc==SQLITE_OK ){
152976 if( rc!=SQLITE_OK ) return rc;
152982 return SQLITE_OK;
153002 return SQLITE_OK;
153051 return SQLITE_OK;
153074 int rc = SQLITE_OK; /* Error code */
153101 for(i=0; rc==SQLITE_OK && i<p->nToken; i++){
153115 assert( rc!=SQLITE_OK || p->nToken<1 || p->aToken[0].pSegcsr==0 || p->bIncr );
153292 int rc = SQLITE_OK;
153342 int rc = SQLITE_OK;
153370 for(i=0; rc==SQLITE_OK && i<p->nToken && bEof==0; i++){
153377 assert( rc!=SQLITE_OK || (p->nToken>=1 && a[p->nToken-1].bIgnore==0) );
153378 assert( rc!=SQLITE_OK || bMaxSet );
153382 while( rc==SQLITE_OK && bEof==0
153442 int rc = SQLITE_OK;
153481 if( pExpr && SQLITE_OK==*pRc ){
153537 if( *pRc==SQLITE_OK ){
153541 for(i=0; *pRc==SQLITE_OK && i<pPhrase->nToken; i++){
153584 int rc = SQLITE_OK;
153605 if( rc!=SQLITE_OK ) return rc;
153651 int rc = SQLITE_OK; /* Return code */
153665 return SQLITE_OK;
153677 if( nOvfl==0 || nToken<2 ) return SQLITE_OK;
153681 assert( rc!=SQLITE_OK || nDocSize>0 );
153706 for(ii=0; ii<nToken && rc==SQLITE_OK; ii++){
153743 assert( rc==SQLITE_OK || pList==0 );
153744 if( rc==SQLITE_OK ){
153749 if( rc==SQLITE_OK ){
153778 int rc = SQLITE_OK;
153787 if( rc==SQLITE_OK && nToken>1 && pTab->bFts4 ){
153807 if( rc==SQLITE_OK ){
153809 for(ii=0; rc==SQLITE_OK && ii<nOr; ii++){
153936 if( *pRc==SQLITE_OK ){
153964 while( !pLeft->bEof && !pRight->bEof && *pRc==SQLITE_OK ){
153979 while( *pRc==SQLITE_OK && pRight->bEof==0 ){
153986 while( *pRc==SQLITE_OK && pLeft->bEof==0 ){
154030 assert( *pRc!=SQLITE_OK || pRight->bStart );
154096 if( *pRc==SQLITE_OK
154161 if( *pRc==SQLITE_OK ){
154269 if( rc==SQLITE_OK ){
154279 if( rc==SQLITE_OK ){
154289 return (rc==SQLITE_OK && bMiss);
154297 int rc = SQLITE_OK; /* Return Code */
154318 if( rc==SQLITE_OK && (
154342 if( pExpr && *pRc==SQLITE_OK ){
154427 int rc = SQLITE_OK; /* Return code */
154459 while( pCsr->isEof==0 && rc==SQLITE_OK ){
154477 if( rc==SQLITE_OK && pCsr->isEof==0 ){
154498 }while( pRoot->iDocid!=iDocid && rc==SQLITE_OK );
154540 int rc = SQLITE_OK;
154551 if( rc==SQLITE_OK ){
154599 return SQLITE_OK;
154605 int rc = SQLITE_OK;
154624 if( bOr==0 ) return SQLITE_OK;
154632 while( rc==SQLITE_OK && !pNear->bEof ){
154636 assert( rc!=SQLITE_OK || pPhrase->bIncr==0 );
154639 while( rc==SQLITE_OK && !pNear->bEof ){
154643 if( rc!=SQLITE_OK ) return rc;
154687 if( pIter==0 ) return SQLITE_OK;
154697 if( *pIter==0x00 ) return SQLITE_OK;
154706 return SQLITE_OK;
154857 if( rc!=SQLITE_OK ) return rc;
154875 return SQLITE_OK;
154898 return SQLITE_OK;
154972 return SQLITE_OK;
154988 return SQLITE_OK;
155004 return SQLITE_OK;
155020 return SQLITE_OK;
155035 if( pCsr->aStat[pCsr->iCol].nDoc>0 ) return SQLITE_OK;
155052 return SQLITE_OK;
155110 rc = SQLITE_OK;
155204 if( rc==SQLITE_OK ){
155208 if( rc==SQLITE_OK ) rc = fts3auxNextMethod(pCursor);
155258 return SQLITE_OK;
155270 return SQLITE_OK;
155455 assert( rc==SQLITE_OK || pCsr==0 );
155456 if( rc==SQLITE_OK ){
155460 if( rc!=SQLITE_OK ){
155510 if( rc==SQLITE_OK ){
155516 if( rc==SQLITE_OK ){
155552 rc = SQLITE_OK;
155624 if( rc==SQLITE_OK ){
155626 for(ii=0; rc==SQLITE_OK; ii++){
155630 if( rc==SQLITE_OK ){
155681 rc = SQLITE_OK;
155784 return SQLITE_OK;
155812 if( rc==SQLITE_OK && !*ppExpr ){ rc = SQLITE_DONE; }
155934 int rc = SQLITE_OK;
155937 while( rc==SQLITE_OK ){
155942 assert( nByte>0 || (rc!=SQLITE_OK && p==0) );
155943 if( rc==SQLITE_OK ){
156031 assert( rc!=SQLITE_OK || (nByte>0 && nByte<=nIn) );
156041 rc = SQLITE_OK;
156059 if( rc!=SQLITE_OK ){
156073 int rc = SQLITE_OK;
156079 if( rc==SQLITE_OK ){
156099 int rc = SQLITE_OK; /* Return code */
156108 if( rc==SQLITE_OK ){
156118 if( rc==SQLITE_OK ){
156141 if( rc!=SQLITE_OK ) break;
156188 if( rc==SQLITE_OK ){
156236 if( rc==SQLITE_OK ){
156240 if( rc!=SQLITE_OK ){
156253 if( rc!=SQLITE_OK ){
156295 return SQLITE_OK;
156301 assert( rc==SQLITE_OK || *ppExpr==0 );
156304 if( rc==SQLITE_OK && sParse.nNest ){
156352 if( rc==SQLITE_OK && *ppExpr ){
156354 if( rc==SQLITE_OK ){
156359 if( rc!=SQLITE_OK ){
156437 if( rc!=SQLITE_OK ){
156553 assert( rc==SQLITE_NOMEM || rc==SQLITE_OK );
156577 assert( rc==SQLITE_OK || pExpr==0 );
156585 if( rc!=SQLITE_OK && rc!=SQLITE_NOMEM ){
156612 if( rc==SQLITE_OK ){
157082 return SQLITE_OK;
157090 return SQLITE_OK;
157125 return SQLITE_OK;
157136 return SQLITE_OK;
157643 return SQLITE_OK;
157886 assert( rc!=SQLITE_OK || *ppTok );
157887 if( rc!=SQLITE_OK ){
157989 if( SQLITE_OK!=p->xCreate(argc-2, azArg, &pTokenizer) ){
157999 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){
158007 if( SQLITE_OK!=p->xClose(pCsr) ){
158011 if( SQLITE_OK!=p->xDestroy(pTokenizer) ){
158036 if( rc!=SQLITE_OK ){
158060 if( rc!=SQLITE_OK ){
158110 assert( rc==SQLITE_OK );
158120 assert( rc==SQLITE_OK );
158122 assert( rc==SQLITE_OK );
158153 int rc = SQLITE_OK;
158168 if( SQLITE_OK==rc ){
158171 if( SQLITE_OK==rc ){
158175 if( SQLITE_OK==rc ){
158178 if( SQLITE_OK==rc ){
158290 return SQLITE_OK;
158298 return SQLITE_OK;
158333 return SQLITE_OK;
158344 return SQLITE_OK;
158399 return SQLITE_OK;
158524 return SQLITE_OK;
158544 int rc = SQLITE_OK; /* Return code */
158605 if( rc!=SQLITE_OK ) return rc;
158610 if( rc==SQLITE_OK ){
158620 assert( (rc==SQLITE_OK)==(pMod!=0) );
158621 if( rc==SQLITE_OK ){
158626 if( rc==SQLITE_OK ){
158633 if( rc==SQLITE_OK ){
158658 return SQLITE_OK;
158680 return SQLITE_OK;
158687 return SQLITE_OK;
158704 return SQLITE_OK;
158735 return SQLITE_OK;
158752 if( rc!=SQLITE_OK ){
158754 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
158787 if( rc==SQLITE_OK ){
158793 if( rc!=SQLITE_OK ) return rc;
158834 return SQLITE_OK;
158846 return SQLITE_OK;
158973 sqlite3_log(SQLITE_OK, "%d-way merge from level %d", nMerge, (int)iAbsLevel);
159279 int rc = SQLITE_OK;
159301 assert( rc==SQLITE_OK || pStmt==0 );
159308 for(i=0; rc==SQLITE_OK && i<nParam; i++){
159326 if( rc==SQLITE_OK ){
159331 if( rc==SQLITE_OK ) rc = FTS_CORRUPT_VTAB;
159334 rc = SQLITE_OK;
159349 if( rc==SQLITE_OK ){
159355 if( rc==SQLITE_OK ) rc = FTS_CORRUPT_VTAB;
159389 if( rc==SQLITE_OK ){
159412 int rc = SQLITE_OK;
159417 if( rc==SQLITE_OK ){
159499 if( rc==SQLITE_OK ){
159508 if( rc==SQLITE_OK ){
159561 return SQLITE_OK;
159581 int rc = SQLITE_OK;
159592 if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iDelta)) ){
159600 if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, 1))
159601 || SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iCol))
159611 if( rc==SQLITE_OK ){
159644 int rc = SQLITE_OK;
159660 if( rc==SQLITE_OK ){
159702 return SQLITE_OK;
159706 if( rc!=SQLITE_OK ){
159711 while( SQLITE_OK==rc
159712 && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos))
159732 for(i=1; rc==SQLITE_OK && i<p->nIndex; i++){
159743 return (rc==SQLITE_DONE ? SQLITE_OK : rc);
159772 if( rc!=SQLITE_OK ) return rc;
159777 return SQLITE_OK;
159817 if( rc!=SQLITE_OK ){
159823 return SQLITE_OK;
159857 return SQLITE_OK;
159869 if( rc==SQLITE_OK && p->zLanguageid ){
159875 if( rc!=SQLITE_OK ) return rc;
159895 if( rc!=SQLITE_OK ) return rc;
159915 int rc = SQLITE_OK; /* Return code */
159962 if( rc==SQLITE_OK ){
159968 for(i=1; rc==SQLITE_OK && i<=p->nColumn; i++){
159976 if( rc!=SQLITE_OK ){
160027 if( rc==SQLITE_OK ){
160037 if( rc==SQLITE_OK ){
160106 if( rc==SQLITE_OK ){
160120 if( rc!=SQLITE_OK ){
160153 if( rc==SQLITE_OK ){
160166 int rc = SQLITE_OK;
160170 while( pReader->pBlob && rc==SQLITE_OK
160231 return SQLITE_OK;
160240 return SQLITE_OK;
160247 if( rc!=SQLITE_OK ) return rc;
160259 if( rc!=SQLITE_OK ) return rc;
160286 if( rc!=SQLITE_OK ) return rc;
160304 return SQLITE_OK;
160312 int rc = SQLITE_OK;
160325 if( rc==SQLITE_OK ){
160349 int rc = SQLITE_OK;
160392 if( rc!=SQLITE_OK ) return rc;
160416 if( rc==SQLITE_OK ){
160428 return SQLITE_OK;
160440 int rc = SQLITE_OK;
160446 for(ii=0; rc==SQLITE_OK && ii<pMsr->nSegment; ii++){
160455 if( rc!=SQLITE_OK ) break;
160526 return SQLITE_OK;
160582 int rc = SQLITE_OK; /* Return Code */
160798 if( rc==SQLITE_OK ){
160818 if( rc==SQLITE_OK ){
160844 if( rc==SQLITE_OK ){
160954 return SQLITE_OK;
161034 int rc = SQLITE_OK;
161046 for(pIter=pTree->pLeftmost; pIter && rc==SQLITE_OK; pIter=pIter->pRight){
161054 if( rc==SQLITE_OK ){
161125 if( rc!=SQLITE_OK ) return rc;
161131 if( rc!=SQLITE_OK ) return rc;
161150 if( rc!=SQLITE_OK ) return rc;
161167 if( rc!=SQLITE_OK ) return rc;
161226 return SQLITE_OK;
161250 if( rc==SQLITE_OK ){
161254 if( rc==SQLITE_OK ){
161296 rc = SQLITE_OK;
161299 if( rc==SQLITE_OK ){
161334 if( rc!=SQLITE_OK ) return rc;
161363 if( rc!=SQLITE_OK ) return rc;
161385 int rc = SQLITE_OK; /* Return code */
161389 if( rc==SQLITE_OK ){
161421 int rc = SQLITE_OK; /* Return Code */
161425 for(i=0; rc==SQLITE_OK && i<nReader; i++){
161428 if( rc!=SQLITE_OK ){
161435 if( rc==SQLITE_OK ){
161443 if( rc==SQLITE_OK ){
161450 if( rc==SQLITE_OK ){
161529 return SQLITE_OK;
161547 return SQLITE_OK;
161566 while( rc==SQLITE_OK
161574 if( rc!=SQLITE_OK ) return rc;
161579 if( rc!=SQLITE_OK ) return rc;
161597 return SQLITE_OK;
161620 if( rc!=SQLITE_OK ) return rc;
161629 return SQLITE_OK;
161660 if( rc!=SQLITE_OK ) return rc;
161674 if( rc!=SQLITE_OK ) return rc;
161681 return SQLITE_OK;
161712 return SQLITE_OK;
161720 int rc = SQLITE_OK;
161736 if( pCsr->nSegment==0 ) return SQLITE_OK;
161752 if( rc!=SQLITE_OK ) return rc;
161758 assert( rc==SQLITE_OK );
161802 if( rc==SQLITE_OK ) rc = SQLITE_ROW;
161888 }while( rc==SQLITE_OK );
161959 int rc = SQLITE_OK;
161964 if( rc==SQLITE_OK ){
161997 if( rc==SQLITE_OK ){
162000 if( rc==SQLITE_OK ){
162004 if( rc==SQLITE_OK ){
162022 if( rc!=SQLITE_OK ){
162028 if( rc==SQLITE_OK ){
162033 if( rc==SQLITE_OK ){
162079 if( rc!=SQLITE_OK || csr.nSegment==0 ) goto finished;
162083 if( rc!=SQLITE_OK ) goto finished;
162108 if( rc!=SQLITE_OK ) goto finished;
162119 while( SQLITE_OK==rc ){
162125 if( rc!=SQLITE_OK ) goto finished;
162132 if( rc!=SQLITE_OK ) goto finished;
162136 if( rc==SQLITE_OK ){
162154 int rc = SQLITE_OK;
162157 for(i=0; rc==SQLITE_OK && i<p->nIndex; i++){
162159 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
162166 if( rc==SQLITE_OK && p->bHasStat
162171 if( rc==SQLITE_OK ){
162308 if( rc!=SQLITE_OK ){
162351 if( rc==SQLITE_OK ){
162358 for(i=0; rc==SQLITE_OK && i<p->nIndex; i++){
162362 rc = SQLITE_OK;
162367 if( rc==SQLITE_OK ) rc = rc2;
162373 return (rc==SQLITE_OK && bReturnDone && bSeenDone) ? SQLITE_DONE : rc;
162390 if( rc==SQLITE_OK ){
162406 if( rc==SQLITE_OK ){
162418 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
162423 for(iCol=0; rc==SQLITE_OK && iCol<p->nColumn; iCol++){
162433 if( rc!=SQLITE_OK ){
162450 if( rc==SQLITE_OK ){
162487 if( rc==SQLITE_OK ){
162492 for(i=0; rc==SQLITE_OK && sqlite3_step(pStmt)==SQLITE_ROW && i<nSeg; i++){
162504 if( rc==SQLITE_OK ) rc = rc2;
162583 if( *pRc==SQLITE_OK && nMin>pBlob->nAlloc ){
162609 int rc = SQLITE_OK; /* Return code */
162626 if( rc==SQLITE_OK ){
162698 int rc = SQLITE_OK;
162720 if( rc==SQLITE_OK ){
162728 if( rc==SQLITE_OK ){
162754 if( rc!=SQLITE_OK || iNextPtr==0 ) return rc;
162794 int rc = SQLITE_OK; /* Return code */
162805 if( rc!=SQLITE_OK ) return rc;
162827 return SQLITE_OK;
162845 int rc = SQLITE_OK; /* Return code */
162878 if( rc==SQLITE_OK ){
162895 if( rc==SQLITE_OK ){
162965 if( rc==SQLITE_OK ){
162978 if( pNode->block.n>0 && rc==SQLITE_OK ){
162986 if( rc==SQLITE_OK ){
163043 if( rc==SQLITE_OK ){
163080 if( rc==SQLITE_OK ){
163110 if( rc==SQLITE_OK && bAppendable ){
163115 if( rc==SQLITE_OK ){
163118 rc==SQLITE_OK && reader.aNode;
163131 if( rc==SQLITE_OK && bAppendable ){
163151 if( rc==SQLITE_OK ){
163156 for(i=nHeight; i>=0 && rc==SQLITE_OK; i--){
163161 while( reader.aNode && rc==SQLITE_OK ) rc = nodeReaderNext(&reader);
163163 if( rc==SQLITE_OK ){
163173 if( rc==SQLITE_OK ){
163185 if( rc==SQLITE_OK ) rc = rc2;
163209 if( rc==SQLITE_OK ){
163260 if( rc==SQLITE_OK ){
163268 if( rc!=SQLITE_OK ) return rc;
163272 if( rc==SQLITE_OK ){
163280 if( rc!=SQLITE_OK ) return rc;
163286 if( rc!=SQLITE_OK ) return rc;
163296 return SQLITE_OK;
163319 if( rc==SQLITE_OK ){
163347 if( rc==SQLITE_OK ){
163364 if( rc==SQLITE_OK ) rc = rc2;
163367 if( rc==SQLITE_OK ){
163370 if( rc==SQLITE_OK ){
163376 for(i=0; rc==SQLITE_OK && i<nIdx; i++){
163419 int rc = SQLITE_OK; /* Return code */
163424 if( rc!=SQLITE_OK ) return rc;
163429 rc==SQLITE_OK && reader.aNode;
163442 if( rc!=SQLITE_OK ) break;
163471 int rc = SQLITE_OK; /* Return code */
163480 if( rc==SQLITE_OK ){
163491 if( rc==SQLITE_OK ) rc = rc2;
163494 while( rc==SQLITE_OK && iBlock ){
163500 if( rc==SQLITE_OK ){
163503 if( rc==SQLITE_OK ){
163510 if( rc==SQLITE_OK && iNewStart ){
163513 if( rc==SQLITE_OK ){
163521 if( rc==SQLITE_OK ){
163524 if( rc==SQLITE_OK ){
163557 int rc = SQLITE_OK;
163559 for(i=pCsr->nSegment-1; i>=0 && rc==SQLITE_OK; i--){
163574 if( rc==SQLITE_OK ){
163589 if( rc==SQLITE_OK && nRem!=pCsr->nSegment ){
163605 if( rc==SQLITE_OK ){
163629 if( rc==SQLITE_OK ){
163637 if( rc==SQLITE_OK ){
163644 if( rc==SQLITE_OK ) rc = rc2;
163666 if( *pRc==SQLITE_OK ){
163693 return SQLITE_OK;
163725 while( rc==SQLITE_OK && nRem>0 ){
163753 if( rc==SQLITE_OK && hint.n ){
163785 if( rc==SQLITE_OK ){
163797 if( rc==SQLITE_OK ){
163800 if( SQLITE_OK==rc && pCsr->nSegment==nSeg
163801 && SQLITE_OK==(rc = sqlite3Fts3SegReaderStart(p, pCsr, pFilter))
163812 if( rc==SQLITE_OK && pWriter->nLeafEst ){
163816 if( rc==SQLITE_OK ) rc = sqlite3Fts3SegReaderStep(p, pCsr);
163817 if( pWriter->nWork>=nRem && rc==SQLITE_ROW ) rc = SQLITE_OK;
163821 if( rc==SQLITE_OK ){
163844 if( bDirtyHint && rc==SQLITE_OK ){
163900 rc = SQLITE_OK;
163905 if( rc==SQLITE_OK ){
163925 int rc = SQLITE_OK;
163990 assert( *pRc==SQLITE_OK );
164000 if( rc==SQLITE_OK ){
164004 if( rc==SQLITE_OK ){
164054 int rc = SQLITE_OK; /* Return code */
164061 if( rc==SQLITE_OK ){
164065 while( rc==SQLITE_OK && sqlite3_step(pAllLangid)==SQLITE_ROW ){
164073 if( rc==SQLITE_OK ) rc = rc2;
164077 if( rc==SQLITE_OK ){
164090 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
164095 for(iCol=0; rc==SQLITE_OK && iCol<p->nColumn; iCol++){
164102 while( rc==SQLITE_OK ){
164109 if( rc==SQLITE_OK ){
164124 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
164173 if( rc==SQLITE_OK && bOk==0 ) rc = FTS_CORRUPT_VTAB;
164205 rc = SQLITE_OK;
164208 rc = SQLITE_OK;
164211 rc = SQLITE_OK;
164257 int rc = SQLITE_OK; /* Return code */
164270 for(i=0; i<p->nColumn && rc==SQLITE_OK; i++){
164276 while( rc==SQLITE_OK ){
164283 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
164295 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
164299 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
164322 return SQLITE_OK;
164333 return SQLITE_OK;
164358 return SQLITE_OK;
164373 int rc = SQLITE_OK; /* Return code */
164377 if( bFound && rc==SQLITE_OK ){
164380 if( rc==SQLITE_OK ){
164423 int rc = SQLITE_OK; /* Return Code */
164467 if( rc!=SQLITE_OK ) goto update_out;
164514 if( rc!=SQLITE_OK ){
164526 if( nArg>1 && rc==SQLITE_OK ){
164534 if( rc==SQLITE_OK && (!isRemove || *pRowid!=p->iPrevDocid ) ){
164537 if( rc==SQLITE_OK ){
164565 if( rc==SQLITE_OK ){
164567 if( rc==SQLITE_OK || rc==SQLITE_DONE ){
164569 if( rc2!=SQLITE_OK ) rc = rc2;
164838 if( rc==SQLITE_OK && eType!=FTSQUERY_NOT ){
164874 int rc = SQLITE_OK;
164913 return SQLITE_OK;
165055 assert( rc==SQLITE_OK || pCsr==0 );
165066 assert( rc!=SQLITE_OK || (
165111 if( rc!=SQLITE_OK ){
165134 if( rc==SQLITE_OK ){
165204 return SQLITE_OK;
165266 if( rc!=SQLITE_OK ){
165269 while( rc==SQLITE_OK && iCurrent<(nSnippet+nDesired) ){
165274 if( rc!=SQLITE_OK && rc!=SQLITE_DONE ){ return rc; }
165284 return SQLITE_OK;
165320 return SQLITE_OK;
165327 if( rc!=SQLITE_OK ){
165331 while( rc==SQLITE_OK ){
165350 if( rc!=SQLITE_OK ){
165373 if( rc==SQLITE_OK ){
165380 if( rc!=SQLITE_OK || iCurrent<iPos ) continue;
165394 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zOpen, -1);
165395 if( rc==SQLITE_OK ) rc = fts3StringAppend(pOut, &zDoc[iBegin], iFin-iBegin);
165396 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zClose, -1);
165536 int rc = SQLITE_OK;
165541 for(i=0; i<p->nCol && rc==SQLITE_OK; i++){
165569 return SQLITE_OK;
165620 if( rc!=SQLITE_OK ) return rc;
165631 return SQLITE_OK;
165661 return SQLITE_OK;
165725 if( rc!=SQLITE_OK ) return rc;
165761 return SQLITE_OK;
165787 int rc = SQLITE_OK;
165792 for(i=0; rc==SQLITE_OK && zArg[i]; i++){
165817 if( rc==SQLITE_OK ){
165833 if( rc==SQLITE_OK ){
165848 if( rc==SQLITE_OK ){
165866 if( rc!=SQLITE_OK ) break;
165870 if( rc!=SQLITE_OK ) break;
165874 if( rc!=SQLITE_OK ) break;
165900 int rc = SQLITE_OK;
165950 if( rc==SQLITE_OK ){
165957 if( rc==SQLITE_OK ){
165966 if( rc!=SQLITE_OK ){
165988 int rc = SQLITE_OK;
166039 if( rc!=SQLITE_OK ){
166060 for(i=0; i<nSnippet && rc==SQLITE_OK; i++){
166068 if( rc!=SQLITE_OK ){
166148 if( rc!=SQLITE_OK ) goto offsets_out;
166200 if( rc!=SQLITE_OK ) goto offsets_out;
166203 while( rc==SQLITE_OK ){
166226 while( rc==SQLITE_OK && iCurrent<iMinPos ){
166229 if( rc==SQLITE_OK ){
166241 rc = SQLITE_OK;
166245 if( rc!=SQLITE_OK ) goto offsets_out;
166252 if( rc!=SQLITE_OK ){
166401 return SQLITE_OK;
166470 return SQLITE_OK;
166516 int rc = SQLITE_OK;
166523 for(i=0; rc==SQLITE_OK && i<nArg; i++){
166545 if( rc!=SQLITE_OK ){
166584 return SQLITE_OK;
166595 return SQLITE_OK;
166663 return SQLITE_OK;
167674 int rc = SQLITE_OK;
167688 return SQLITE_OK;
167748 if( pNode && rc==SQLITE_OK ){
167754 if( rc==SQLITE_OK ){
167830 int rc = SQLITE_OK;
167842 if( pNode->iNode==0 && rc==SQLITE_OK ){
167855 int rc = SQLITE_OK;
167866 if( rc==SQLITE_OK ){
167995 return SQLITE_OK;
168019 if( rc==SQLITE_OK ){
168038 rc = SQLITE_OK;
168079 return SQLITE_OK;
168303 return SQLITE_OK;
168319 return SQLITE_OK;
168545 int rc = SQLITE_OK;
168604 return SQLITE_OK;
168612 int rc = SQLITE_OK;
168627 int rc = SQLITE_OK;
168629 if( rc==SQLITE_OK && p ){
168643 int rc = SQLITE_OK;
168647 if( p==0 ) return SQLITE_OK;
168662 return SQLITE_OK;
168722 return SQLITE_OK;
168737 int rc = SQLITE_OK;
168756 if( rc==SQLITE_OK && pLeaf!=0 ){
168773 if( rc==SQLITE_OK && argc>0 ){
168793 if( rc!=SQLITE_OK ){
168809 if( rc==SQLITE_OK ){
168865 int rc = SQLITE_OK;
168909 return SQLITE_OK;
169082 for(ii=0; rc==SQLITE_OK && ii<(pRtree->iDepth-iHeight); ii++){
169154 return SQLITE_OK;
169416 return SQLITE_OK;
169448 int rc = SQLITE_OK;
169498 if( rc!=SQLITE_OK ){
169507 if( SQLITE_OK!=(rc = nodeWrite(pRtree, pRight))
169508 || (0==pLeft->iNode && SQLITE_OK!=(rc = nodeWrite(pRtree, pLeft)))
169518 if( rc!=SQLITE_OK ){
169525 if( rc==SQLITE_OK ){
169529 if( rc!=SQLITE_OK ){
169543 if( rc!=SQLITE_OK ){
169551 if( rc!=SQLITE_OK ){
169559 if( rc==SQLITE_OK ){
169563 if( rc==SQLITE_OK ){
169587 int rc = SQLITE_OK;
169589 while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){
169590 int rc2 = SQLITE_OK; /* sqlite3_reset() return code */
169609 if( rc==SQLITE_OK ) rc = rc2;
169610 if( rc==SQLITE_OK && !pChild->pParent ) rc = SQLITE_CORRUPT_VTAB;
169628 if( rc==SQLITE_OK ){
169634 if( rc==SQLITE_OK ){
169637 if( rc!=SQLITE_OK ){
169644 if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteNode)) ){
169651 if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteParent)) ){
169664 return SQLITE_OK;
169669 int rc = SQLITE_OK;
169682 if( rc==SQLITE_OK ){
169698 if( SQLITE_OK!=(rc = fixLeafParent(pRtree, pNode)) ){
169739 int rc = SQLITE_OK;
169791 for(ii=0; rc==SQLITE_OK && ii<(nCell-(RTREE_MINCELLS(pRtree)+1)); ii++){
169802 if( rc==SQLITE_OK ){
169805 for(; rc==SQLITE_OK && ii<nCell; ii++){
169812 if( rc==SQLITE_OK ){
169816 if( rc==SQLITE_OK ){
169836 int rc = SQLITE_OK;
169854 if( rc==SQLITE_OK ){
169867 int rc = SQLITE_OK;
169870 for(ii=0; rc==SQLITE_OK && ii<nCell; ii++){
169879 if( rc==SQLITE_OK ){
169883 if( rc==SQLITE_OK ){
169920 if( rc==SQLITE_OK ){
169925 if( rc==SQLITE_OK ){
169928 if( rc==SQLITE_OK ){
169932 if( rc==SQLITE_OK ){
169938 if( rc==SQLITE_OK ){
169952 if( rc==SQLITE_OK && pRtree->iDepth>0 && NCELL(pRoot)==1 ){
169957 if( rc==SQLITE_OK ){
169961 if( rc==SQLITE_OK ) rc = rc2;
169962 if( rc==SQLITE_OK ){
169971 if( rc==SQLITE_OK ){
169979 if( rc==SQLITE_OK ){
170044 if( rc==SQLITE_OK ){
170060 return (rc==SQLITE_OK ? SQLITE_CONSTRAINT : rc);
170075 int rc = SQLITE_OK;
170167 if( rc==SQLITE_OK && nData>1 ){
170177 if( rc==SQLITE_OK ){
170180 if( rc==SQLITE_OK ){
170185 if( rc==SQLITE_OK ){
170203 return SQLITE_OK;
170214 return SQLITE_OK;
170260 return SQLITE_OK;
170278 if( rc!=SQLITE_OK ){
170280 return rc==SQLITE_ERROR ? SQLITE_OK : rc;
170287 if( rc==SQLITE_OK ){
170291 rc = SQLITE_OK;
170294 if( rc==SQLITE_OK ){
170340 int rc = SQLITE_OK;
170377 if( rc!=SQLITE_OK ){
170392 for(i=0; i<N_STATEMENT && rc==SQLITE_OK; i++){
170418 if( rc==SQLITE_OK ){
170455 if( rc==SQLITE_OK ){
170469 if( rc!=SQLITE_OK ){
170499 int rc = SQLITE_OK;
170546 if( rc==SQLITE_OK ){
170565 }else if( SQLITE_OK!=(rc = sqlite3_declare_vtab(db, zSql)) ){
170572 if( rc==SQLITE_OK ){
170694 if( pCheck->rc==SQLITE_OK ) pCheck->rc = rc;
170716 if( pCheck->rc==SQLITE_OK ){
170737 if( pCheck->rc==SQLITE_OK && pCheck->nErr<RTREE_CHECK_MAX_ERROR ){
170771 assert( pCheck->rc==SQLITE_OK );
170779 if( pCheck->rc==SQLITE_OK ){
170793 if( pCheck->rc==SQLITE_OK && pRet==0 ){
170832 if( pCheck->rc!=SQLITE_OK ) return;
170975 if( pCheck->rc==SQLITE_OK ){
171038 if( check.rc==SQLITE_OK ){
171053 if( check.rc==SQLITE_OK ) check.rc = rc;
171113 if( rc==SQLITE_OK ){
171133 if( rc==SQLITE_OK ){
171136 if( rc==SQLITE_OK ){
171139 if( rc==SQLITE_OK ){
171147 if( rc==SQLITE_OK ){
171786 if( rc!=SQLITE_OK ){
171818 int rc = SQLITE_OK;
171821 for(i=0; rc==SQLITE_OK && i<(int)(sizeof(scalars)/sizeof(scalars[0])); i++){
171926 return SQLITE_OK;
171935 return SQLITE_OK;
172010 return SQLITE_OK;
172021 return SQLITE_OK;
172086 return SQLITE_OK;
173426 if( rc!=SQLITE_OK ){
173443 if( rc!=SQLITE_OK ){
173551 if( rc==SQLITE_OK ){
173565 if( rc==SQLITE_OK ){
173576 rc = (pIter->zDataTbl && pIter->zTbl) ? SQLITE_OK : SQLITE_NOMEM;
173583 if( rc==SQLITE_OK ){
173593 rc = pIter->zIdx ? SQLITE_OK : SQLITE_NOMEM;
173600 if( rc!=SQLITE_OK ){
173677 if( rc==SQLITE_OK ){
173704 if( p->rc==SQLITE_OK ){
173729 if( p->rc==SQLITE_OK ){
173753 if( p->rc==SQLITE_OK ){
173799 assert( *pRc==SQLITE_OK );
173823 if( p->rc==SQLITE_OK && rc!=SQLITE_OK ){
173886 assert( p->rc==SQLITE_OK );
173893 if( p->rc!=SQLITE_OK || sqlite3_step(aStmt[0])!=SQLITE_ROW ){
173915 if( p->rc==SQLITE_OK ){
173930 if( p->rc==SQLITE_OK ){
173956 if( p->rc==SQLITE_OK ){
173964 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pList) ){
173971 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
174011 if( p->rc==SQLITE_OK && pIter->eType==RBU_PK_NOTABLE ){
174029 if( p->rc==SQLITE_OK ){
174033 for(i=0; p->rc==SQLITE_OK && i<nCol; i++){
174047 if( p->rc==SQLITE_OK
174061 if( p->rc==SQLITE_OK ){
174066 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
174166 if( rc==SQLITE_OK ){
174173 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
174219 if( rc==SQLITE_OK ) rc = rc2;
174221 if( rc!=SQLITE_OK ){
174257 if( p->rc==SQLITE_OK && pIter->abIndexed ){
174362 if( p->rc==SQLITE_OK ){
174440 if( p->rc==SQLITE_OK ){
174448 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXList) ){
174462 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
174497 if( p->rc==SQLITE_OK && pIter->eType==RBU_PK_EXTERNAL ){
174512 if( p->rc==SQLITE_OK ){
174525 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
174571 if( p->rc==SQLITE_OK && pIter->eType!=RBU_PK_VTAB ){
174578 for(iCol=0; p->rc==SQLITE_OK && iCol<pIter->nTblCol; iCol++){
174650 int rc = SQLITE_OK;
174661 for(i=0; rc==SQLITE_OK && i<nVal; i++){
174664 if( rc==SQLITE_OK ){
174669 if( rc!=SQLITE_OK ){
174685 if( pIter->pSelect==0 && rbuObjIterCacheTableInfo(p, pIter)==SQLITE_OK ){
174722 if( p->rc==SQLITE_OK ){
174730 if( rbuIsVacuum(p)==0 && p->rc==SQLITE_OK ){
174738 if( p->rc==SQLITE_OK ){
174795 if( p->rc==SQLITE_OK ){
174807 if( rbuIsVacuum(p)==0 && p->rc==SQLITE_OK ){
174864 if( p->rc==SQLITE_OK ){
174925 return SQLITE_OK;
174975 if( p->rc==SQLITE_OK ){
175019 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
175069 if( rc==SQLITE_OK ) rc = rc2;
175087 if( p->rc==SQLITE_OK && rbuIsVacuum(p) ){
175105 if( p->rc==SQLITE_OK && rbuIsVacuum(p) ){
175115 if( p->rc==SQLITE_OK ){
175122 if( p->rc==SQLITE_OK
175129 if( p->rc==SQLITE_OK ) p->rc = rc2;
175131 if( p->rc==SQLITE_OK && bOk==0 ){
175136 if( p->rc==SQLITE_OK ){
175143 if( p->rc==SQLITE_OK && rbuIsVacuum(p) ){
175163 if( p->rc==SQLITE_OK && p->dbMain==0 ){
175203 if( p->rc==SQLITE_OK ){
175209 if( p->rc==SQLITE_OK ){
175215 if( p->rc==SQLITE_OK ){
175221 if( p->rc==SQLITE_OK ){
175229 if( p->rc==SQLITE_OK ){
175282 if( p->rc==SQLITE_OK ){
175286 if( p->rc==SQLITE_OK ){
175316 if( p->rc==SQLITE_OK ){
175349 if( p->rc==SQLITE_OK ){
175356 if( p->rc==SQLITE_OK && p->nFrame>0 ){
175363 if( p->rc==SQLITE_OK ){
175417 return SQLITE_OK;
175427 return SQLITE_OK;
175440 assert( p->rc==SQLITE_OK );
175455 assert( p->rc==SQLITE_OK );
175457 if( p->rc==SQLITE_OK ){
175506 assert( p->rc==SQLITE_OK && p->zErrmsg==0 );
175518 if( p->rc==SQLITE_OK ){
175539 p->rc = SQLITE_OK;
175553 p->rc = rename(zOal, zWal) ? SQLITE_IOERR : SQLITE_OK;
175556 if( p->rc==SQLITE_OK ){
175646 assert( p->rc==SQLITE_OK );
175706 if( p->rc==SQLITE_OK ){
175743 if( p->rc==SQLITE_OK ) rbuStepOneOp(p, RBU_INSERT);
175756 for(i=0; p->rc==SQLITE_OK && i<pIter->nCol; i++){
175763 if( p->rc==SQLITE_OK
175771 if( p->rc==SQLITE_OK ){
175789 if( p->rc==SQLITE_OK ){
175797 if( p->rc==SQLITE_OK ){
175808 if( p->rc==SQLITE_OK ){
175820 if( p->rc==SQLITE_OK || p->rc==SQLITE_DONE ){
175850 assert( pInsert==0 || rc==SQLITE_OK );
175852 if( rc==SQLITE_OK ){
175856 if( rc!=SQLITE_OK ) p->rc = rc;
175879 if( p->rc==SQLITE_OK ){
175884 if( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pPragma) ){
175904 if( p->rc==SQLITE_OK ){
175912 while( p->rc==SQLITE_OK && sqlite3_step(pSql)==SQLITE_ROW ){
175917 if( p->rc!=SQLITE_OK ) return;
175919 if( p->rc==SQLITE_OK ){
175925 if( p->rc==SQLITE_OK ){
175931 while( p->rc==SQLITE_OK && sqlite3_step(pSql)==SQLITE_ROW ){
175939 if( p->rc==SQLITE_OK ){
175958 if( rbuIsVacuum(p) && p->nProgress==0 && p->rc==SQLITE_OK ){
175964 while( p->rc==SQLITE_OK && pIter->zTbl ){
175979 if( p->rc==SQLITE_OK ){
175994 if( p->rc==SQLITE_OK ){
175998 if( p->rc==SQLITE_OK ){
176001 if( p->rc==SQLITE_OK ){
176010 if( p->rc==SQLITE_OK ){
176018 if( p->rc==SQLITE_OK ){
176026 if( p->rc==SQLITE_OK ){
176029 if( p->rc==SQLITE_OK ){
176034 if( p->rc==SQLITE_OK ){
176057 && p->rc==SQLITE_OK
176096 assert( p->rc==SQLITE_OK );
176099 int rc = SQLITE_OK;
176101 while( rc==SQLITE_OK && pIter->zTbl && (pIter->bCleanup
176108 if( rc==SQLITE_OK && !pIter->zTbl ){
176113 if( rc==SQLITE_OK ){
176131 assert( pVfs && p->rc==SQLITE_OK && p->zErrmsg==0 );
176147 assert( p->rc==SQLITE_OK );
176151 if( p->rc==SQLITE_OK ){
176191 if( rc!=SQLITE_OK ){
176199 if( rc==SQLITE_OK ){
176225 if( p->rc==SQLITE_OK ){
176237 if( p->rc==SQLITE_OK ){
176242 if( p->rc==SQLITE_OK ){
176249 if( p->rc==SQLITE_OK && bExists ){
176254 if( p->rc==SQLITE_OK ){
176284 if( p->rc==SQLITE_OK ){
176312 if( p->rc==SQLITE_OK ){
176314 assert( pState || p->rc!=SQLITE_OK );
176315 if( p->rc==SQLITE_OK ){
176329 assert( p->rc!=SQLITE_OK || p->eStage!=0 );
176331 if( p->rc==SQLITE_OK && p->pTargetFd->pWalFd ){
176341 if( p->rc==SQLITE_OK
176358 if( p->rc==SQLITE_OK ){
176364 if( p->rc==SQLITE_OK ){
176370 if( p->rc==SQLITE_OK && p->objiter.zTbl==0 ){
176374 if( p->rc==SQLITE_OK && pState->eStage==0 && rbuIsVacuum(p) ){
176381 if( p->rc==SQLITE_OK ){
176388 if( p->rc==SQLITE_OK ){
176390 if( frc==SQLITE_OK ){
176396 if( p->rc==SQLITE_OK ){
176496 if( p->rc==SQLITE_OK && p->eStage==RBU_STAGE_OAL ){
176501 if( p->rc==SQLITE_OK && p->eStage==RBU_STAGE_CKPT ){
176508 if( p->rc==SQLITE_OK && p->eStage==RBU_STAGE_OAL ){
176520 if( rbuIsVacuum(p) && p->rc!=SQLITE_OK && p->dbRbu ){
176522 if( p->rc==SQLITE_DONE && rc2!=SQLITE_OK ) p->rc = rc2;
176612 if( p->rc!=SQLITE_OK && p->rc!=SQLITE_DONE ){
176627 if( rc==SQLITE_DONE ) return SQLITE_OK;
176632 if( rc==SQLITE_OK ) rc = sqlite3_exec(p->dbMain, "COMMIT", 0, 0, 0);
176636 if( rc==SQLITE_OK && p->eStage==RBU_STAGE_CKPT ){
176647 if( rc==SQLITE_OK ) rc = sqlite3_exec(p->dbRbu, "COMMIT", 0, 0, 0);
176648 if( rc==SQLITE_OK ) rc = sqlite3_exec(p->dbRbu, "BEGIN IMMEDIATE", 0, 0, 0);
176649 if( rc==SQLITE_OK ) rc = sqlite3_exec(p->dbMain, "BEGIN IMMEDIATE", 0, 0,0);
176738 return SQLITE_OK;
176884 rc = SQLITE_OK;
176896 && pRbu->rc==SQLITE_OK
176900 if( rc==SQLITE_OK ){
176918 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
176956 if( rc!=SQLITE_OK ) return rc;
176961 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
176979 if( rc!=SQLITE_OK ) return rc;
176993 return SQLITE_OK;
177010 if( rc==SQLITE_OK && *pSize==0
177025 int rc = SQLITE_OK;
177081 if( rc==SQLITE_OK ){
177091 rc = SQLITE_OK;
177104 if( rc==SQLITE_OK && op==SQLITE_FCNTL_VFSNAME ){
177137 int rc = SQLITE_OK;
177161 if( bCapture && rc==SQLITE_OK ){
177181 int rc = SQLITE_OK;
177201 if( rc==SQLITE_OK && p->apShm[iRegion]==0 ){
177211 if( rc==SQLITE_OK ){
177237 int rc = SQLITE_OK;
177311 int rc = SQLITE_OK;
177372 if( rc==SQLITE_OK ){
177428 if( rc==SQLITE_OK && flags==SQLITE_ACCESS_EXISTS ){
177583 int rc = SQLITE_OK;
177616 if( rc!=SQLITE_OK ){
177793 int rc = SQLITE_OK;
177808 if( rc==SQLITE_OK ){
177813 assert( rc==SQLITE_OK || pTab==0 );
177814 if( rc==SQLITE_OK ){
177829 return SQLITE_OK;
177879 return SQLITE_OK;
177899 return SQLITE_OK;
177935 return SQLITE_OK;
178037 if( rc!=SQLITE_OK ){
178049 return SQLITE_OK;
178072 if( fd->pMethods!=0 && sqlite3OsFileControl(fd, 230440, &x)==SQLITE_OK ){
178144 return z==0 ? SQLITE_NOMEM_BKPT : SQLITE_OK;
178175 if( rc==SQLITE_OK ){
178182 if( rc==SQLITE_OK ){
178227 int rc = SQLITE_OK;
178258 if( rc==SQLITE_OK ){
178308 return SQLITE_OK;
178314 return SQLITE_OK;
178349 SQLITE_PRIVATE int sqlite3DbstatRegister(sqlite3 *db){ return SQLITE_OK; }
178427 int rc = SQLITE_OK;
178431 if( rc==SQLITE_OK ){
178436 assert( rc==SQLITE_OK || pTab==0 );
178437 if( rc==SQLITE_OK ){
178451 return SQLITE_OK;
178477 return SQLITE_OK;
178512 return SQLITE_OK;
178531 return SQLITE_OK;
178541 return SQLITE_OK;
178548 int rc = SQLITE_OK;
178589 if( pCsr->iDb<0 ) return SQLITE_OK;
178594 if( pBt==0 ) return SQLITE_OK;
178621 int rc = SQLITE_OK;
178630 if( rc==SQLITE_OK ){
178643 return SQLITE_OK;
178649 return SQLITE_OK;
178661 int rc = SQLITE_OK;
178698 if( rc==SQLITE_OK ){
178700 if( rc==SQLITE_OK ){
178727 return SQLITE_OK;
178763 SQLITE_PRIVATE int sqlite3DbpageRegister(sqlite3 *db){ return SQLITE_OK; }
179159 return SQLITE_OK;
179241 if( rc!=SQLITE_OK ) return rc;
179275 return SQLITE_OK;
179580 assert( rc==SQLITE_OK );
179640 return SQLITE_OK;
179661 return SQLITE_OK;
179714 if( rc==SQLITE_OK ){
179733 if( rc!=SQLITE_OK ) return rc;
179742 if( rc==SQLITE_OK ){
179749 if( rc==SQLITE_OK ){
179778 if( rc==SQLITE_OK ){
179812 if( pSession->rc==SQLITE_OK ){
179843 if( rc==SQLITE_OK && iCol==1 && sqlite3_value_type(pVal)==SQLITE_NULL ){
179853 if( rc==SQLITE_OK && iCol==1 && sqlite3_value_type(pVal)==SQLITE_NULL ){
179884 int rc = SQLITE_OK;
179928 if( rc!=SQLITE_OK ) goto error_out;
179945 assert( rc==SQLITE_OK );
179954 assert( trc==SQLITE_OK );
179957 assert( trc==SQLITE_OK );
179963 if( rc!=SQLITE_OK ) goto error_out;
180016 if( rc!=SQLITE_OK ){
180026 int rc = SQLITE_OK;
180042 if( rc==SQLITE_OK ){
180049 assert( rc==SQLITE_OK || pRet==0 );
180083 assert( pSession->rc==SQLITE_OK );
180134 return SQLITE_OK;
180139 return SQLITE_OK;
180242 int rc = SQLITE_OK;
180250 if( rc==SQLITE_OK ){
180271 int rc = SQLITE_OK;
180289 if( rc==SQLITE_OK ){
180320 if( rc==SQLITE_OK ){
180334 if( rc==SQLITE_OK ){
180341 if( rc==SQLITE_OK ){
180364 if( rc==SQLITE_OK ){
180371 if( rc==SQLITE_OK ){
180376 if( rc==SQLITE_OK ){
180381 if( rc==SQLITE_OK ){
180429 return SQLITE_OK;
180512 int rc = SQLITE_OK;
180561 if( *pRc==SQLITE_OK && p->nAlloc-p->nBuf<nByte ){
180576 return (*pRc!=SQLITE_OK);
180589 if( rc==SQLITE_OK ){
180593 if( rc==SQLITE_OK ){
180725 if( *pRc==SQLITE_OK ){
180788 int rc = SQLITE_OK;
180887 int rc = SQLITE_OK;
180944 int rc = SQLITE_OK;
180976 if( rc==SQLITE_OK ){
180998 int rc = SQLITE_OK;
181001 for(i=0; i<nCol && rc==SQLITE_OK; i++){
181110 if( rc!=SQLITE_OK ) return rc;
181114 for(pTab=pSession->pTable; rc==SQLITE_OK && pTab; pTab=pTab->pNext){
181135 if( rc==SQLITE_OK ){
181141 for(i=0; i<pTab->nChange && rc==SQLITE_OK; i++){
181144 for(p=pTab->apChange[i]; rc==SQLITE_OK && p; p=p->pNext){
181146 if( rc!=SQLITE_OK ) continue;
181161 if( rc==SQLITE_OK ){
181168 && rc==SQLITE_OK
181188 if( rc==SQLITE_OK ){
181332 return SQLITE_OK;
181382 int rc = SQLITE_OK;
181384 while( !pIn->bEof && (pIn->iNext+nByte)>=pIn->nData && rc==SQLITE_OK ){
181388 if( SQLITE_OK==sessionBufferGrow(&pIn->buf, nNew, &rc) ){
181449 return SQLITE_OK;
181483 int rc = SQLITE_OK;
181485 for(i=0; i<nCol && rc==SQLITE_OK; i++){
181489 if( rc==SQLITE_OK ){
181499 if( rc==SQLITE_OK ){
181505 if( rc==SQLITE_OK ){
181542 int rc = SQLITE_OK;
181547 if( rc==SQLITE_OK ){
181553 while( rc==SQLITE_OK ){
181578 int rc = SQLITE_OK;
181581 for(i=0; rc==SQLITE_OK && i<nCol; i++){
181584 if( rc==SQLITE_OK ){
181620 assert( p->rc==SQLITE_OK );
181623 if( rc==SQLITE_OK ){
181634 if( rc==SQLITE_OK ){
181674 if( p->rc!=SQLITE_OK ) return p->rc;
181689 if( p->rc!=SQLITE_OK ) return p->rc;
181726 if( p->rc!=SQLITE_OK ) return p->rc;
181735 if( p->rc!=SQLITE_OK ) return p->rc;
181741 if( p->rc!=SQLITE_OK ) return p->rc;
181791 return SQLITE_OK;
181807 return SQLITE_OK;
181835 return SQLITE_OK;
181863 return SQLITE_OK;
181897 return SQLITE_OK;
181916 return SQLITE_OK;
181927 int rc = SQLITE_OK;
181948 int rc = SQLITE_OK; /* Return value */
182007 assert( rc==SQLITE_OK );
182036 if( rc==SQLITE_OK ){
182060 if( rc!=SQLITE_OK ){
182072 assert( rc==SQLITE_OK );
182076 if( rc!=SQLITE_OK ) goto finished_invert;
182080 assert( rc==SQLITE_OK );
182177 int rc = SQLITE_OK;
182214 if( rc==SQLITE_OK ){
182258 int rc = SQLITE_OK;
182310 if( rc==SQLITE_OK ){
182355 int rc = SQLITE_OK;
182373 if( rc==SQLITE_OK ){
182392 if( rc==SQLITE_OK ){
182399 if( rc==SQLITE_OK ){
182410 if( rc==SQLITE_OK ){
182417 assert( rc==SQLITE_OK );
182466 int rc = SQLITE_OK;
182474 for(i=0; rc==SQLITE_OK && i<nCol; i++){
182518 if( rc==SQLITE_OK ){
182585 rc = SQLITE_OK;
182594 }else if( rc==SQLITE_OK ){
182609 if( rc==SQLITE_OK ){
182667 int rc = SQLITE_OK;
182690 if( rc==SQLITE_OK && sqlite3_bind_parameter_count(p->pDelete)>nCol ){
182693 if( rc!=SQLITE_OK ) return rc;
182697 if( rc==SQLITE_OK && sqlite3_changes(p->db)==0 ){
182711 for(i=0; rc==SQLITE_OK && i<nCol; i++){
182719 if( rc==SQLITE_OK && pNew ){
182723 if( rc==SQLITE_OK ){
182726 if( rc!=SQLITE_OK ) return rc;
182733 if( rc==SQLITE_OK && sqlite3_changes(p->db)==0 ){
182762 if( rc==SQLITE_OK ){
182764 if( rc!=SQLITE_OK ) return rc;
182802 assert( rc==SQLITE_OK || (bRetry==0 && bReplace==0) );
182824 if( rc==SQLITE_OK ){
182829 if( rc==SQLITE_OK ){
182833 if( rc==SQLITE_OK ){
182836 if( rc==SQLITE_OK ){
182855 int rc = SQLITE_OK;
182863 if( rc==SQLITE_OK ){
182872 if( rc==SQLITE_OK ) memset(pIter2->apValue, 0, nByte);
182874 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3changeset_next(pIter2) ){
182879 if( rc==SQLITE_OK ) rc = rc2;
182884 if( rc!=SQLITE_OK ) break;
182928 if( rc==SQLITE_OK ){
182931 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3changeset_next(pIter) ){
182944 if( rc!=SQLITE_OK ) break;
182975 if( rc!=SQLITE_OK ) break;
183030 if( rc==SQLITE_OK ){
183036 if( rc==SQLITE_OK ){
183040 if( rc==SQLITE_OK ){
183056 if( rc==SQLITE_OK ){
183095 if( rc==SQLITE_OK ){
183123 if( rc==SQLITE_OK ){
183259 return SQLITE_OK;
183272 int rc = SQLITE_OK;
183367 if( rc==SQLITE_OK ) rc = pIter->rc;
183396 int rc = SQLITE_OK;
183404 for(pTab=pGrp->pList; rc==SQLITE_OK && pTab; pTab=pTab->pNext){
183418 if( rc==SQLITE_OK && xOutput && buf.nBuf>=SESSIONS_STRM_CHUNK_SIZE ){
183424 if( rc==SQLITE_OK ){
183442 int rc = SQLITE_OK; /* Return code */
183463 if( rc==SQLITE_OK ){
183494 if( rc==SQLITE_OK ){
183537 if( rc==SQLITE_OK ){
183540 if( rc==SQLITE_OK ){
183543 if( rc==SQLITE_OK ){
183566 if( rc==SQLITE_OK ){
183569 if( rc==SQLITE_OK ){
183572 if( rc==SQLITE_OK ){
183833 return SQLITE_OK;
184556 return SQLITE_OK;
185506 if( rc==SQLITE_OK ){
185517 return SQLITE_OK;
185529 return SQLITE_OK;
185535 if( rc==SQLITE_OK ){
185561 return SQLITE_OK;
185608 return SQLITE_OK;
185734 return SQLITE_OK;
185741 return SQLITE_OK;
185784 return SQLITE_OK;
185801 if( idxNum==0 ) return SQLITE_OK;
185803 if( z==0 ) return SQLITE_OK;
185825 if( zRoot==0 ) return SQLITE_OK;
185841 return SQLITE_OK;
185863 return SQLITE_OK;
185928 int rc = SQLITE_OK;
185976 for(i=0; i<sizeof(aFunc)/sizeof(aFunc[0]) && rc==SQLITE_OK; i++){
185982 for(i=0; i<sizeof(aAgg)/sizeof(aAgg[0]) && rc==SQLITE_OK; i++){
185988 for(i=0; i<sizeof(aMod)/sizeof(aMod[0]) && rc==SQLITE_OK; i++){
188861 int rc = SQLITE_OK;
188865 while( rc==SQLITE_OK && pIter->iInst<pIter->nInst ){
188868 if( rc==SQLITE_OK ){
188905 if( rc==SQLITE_OK ){
188945 if( *pRc==SQLITE_OK ){
188964 int rc = SQLITE_OK;
188969 if( tflags & FTS5_TOKEN_COLOCATED ) return SQLITE_OK;
188973 if( iPos<p->iRangeStart || iPos>p->iRangeEnd ) return SQLITE_OK;
188990 if( rc==SQLITE_OK ){
189033 if( rc==SQLITE_OK ){
189037 if( rc==SQLITE_OK ){
189042 if( rc==SQLITE_OK ){
189047 if( rc!=SQLITE_OK ){
189083 return SQLITE_OK;
189099 int rc = SQLITE_OK;
189146 for(i=0; i<nInst && rc==SQLITE_OK; i++){
189148 if( rc==SQLITE_OK && ic==iCol && iOff>=iPos && iOff<(iPos+nToken) ){
189188 int rc = SQLITE_OK; /* Return code */
189223 if( rc==SQLITE_OK ){
189236 if( rc!=SQLITE_OK ) break;
189240 if( rc!=SQLITE_OK ) break;
189242 if( rc!=SQLITE_OK ) break;
189244 for(ii=0; rc==SQLITE_OK && ii<nInst; ii++){
189251 if( ic!=i || rc!=SQLITE_OK ) continue;
189256 if( rc==SQLITE_OK && nScore>nBestScore ){
189263 if( rc==SQLITE_OK && sFinder.nFirst && nDocsize>nToken ){
189275 if( rc==SQLITE_OK && nScore>nBestScore ){
189287 if( rc==SQLITE_OK ){
189290 if( rc==SQLITE_OK && nColSize==0 ){
189294 if( rc==SQLITE_OK ){
189307 while( ctx.iter.iStart>=0 && ctx.iter.iStart<iBestStart && rc==SQLITE_OK ){
189311 if( rc==SQLITE_OK ){
189320 if( rc==SQLITE_OK ){
189356 return SQLITE_OK;
189369 int rc = SQLITE_OK; /* Return code */
189394 if( rc==SQLITE_OK ) rc = pApi->xRowCount(pFts, &nRow);
189395 if( rc==SQLITE_OK ) rc = pApi->xColumnTotalSize(pFts, -1, &nToken);
189396 if( rc==SQLITE_OK ) p->avgdl = (double)nToken / (double)nRow;
189399 for(i=0; rc==SQLITE_OK && i<nPhrase; i++){
189402 if( rc==SQLITE_OK ){
189422 if( rc!=SQLITE_OK ){
189427 if( rc!=SQLITE_OK ) p = 0;
189445 int rc = SQLITE_OK; /* Error code */
189456 if( rc==SQLITE_OK ){
189461 for(i=0; rc==SQLITE_OK && i<nInst; i++){
189464 if( rc==SQLITE_OK ){
189471 if( rc==SQLITE_OK ){
189478 for(i=0; rc==SQLITE_OK && i<pData->nPhrase; i++){
189487 if( rc==SQLITE_OK ){
189505 int rc = SQLITE_OK; /* Return code */
189508 for(i=0; rc==SQLITE_OK && i<ArraySize(aBuiltin); i++){
189626 if( *pRc==SQLITE_OK ){
189644 if( *pRc==SQLITE_OK ){
189765 return SQLITE_OK;
189770 if( *pRc==SQLITE_OK ){
189791 if( *pRc==SQLITE_OK ){
189848 int rc = SQLITE_OK;
189859 int rc = SQLITE_OK;
190138 return iVal<0 ? SQLITE_ERROR : SQLITE_OK;
190157 int rc = SQLITE_OK;
190347 assert( *pRc==SQLITE_OK );
190382 int rc = SQLITE_OK;
190406 int rc = SQLITE_OK;
190445 int rc = SQLITE_OK; /* Return code */
190466 if( rc==SQLITE_OK && sqlite3_stricmp(pRet->zName, FTS5_RANK_NAME)==0 ){
190471 for(i=3; rc==SQLITE_OK && i<nArg; i++){
190493 if( rc==SQLITE_OK ){
190514 if( rc==SQLITE_OK && pRet->pTok==0 ){
190519 if( rc==SQLITE_OK && pRet->zContent==0 ){
190537 if( rc==SQLITE_OK && pRet->zContentRowid==0 ){
190542 if( rc==SQLITE_OK ){
190546 if( rc!=SQLITE_OK ){
190585 int rc = SQLITE_OK;
190636 if( pText==0 ) return SQLITE_OK;
190684 int rc = SQLITE_OK;
190703 if( rc==SQLITE_OK ){
190708 if( rc==SQLITE_OK ){
190724 if( rc!=SQLITE_OK ){
190740 int rc = SQLITE_OK;
190809 if( rc==SQLITE_OK ){
190815 rc = SQLITE_OK;
190831 int rc = SQLITE_OK;
190847 assert( rc==SQLITE_OK || p==0 );
190848 if( rc==SQLITE_OK ){
190862 if( rc==SQLITE_OK && iVersion!=FTS5_CURRENT_VERSION ){
190873 if( rc==SQLITE_OK ){
191013 if( pParse->rc==SQLITE_OK ){
191118 }while( sParse.rc==SQLITE_OK && t!=FTS5_EOF );
191123 if( iCol<pConfig->nCol && sParse.pExpr && sParse.rc==SQLITE_OK ){
191133 assert( sParse.rc!=SQLITE_OK || sParse.zErr==0 );
191134 if( sParse.rc==SQLITE_OK ){
191227 int rc = SQLITE_OK;
191273 if( iMin==FTS5_LARGEST_INT64 || rc!=SQLITE_OK ) break;
191277 if( rc==SQLITE_OK ){
191309 int rc = SQLITE_OK;
191367 if( rc!=SQLITE_OK ) goto ismatch_out;
191457 if( rc!=SQLITE_OK ){
191569 int rc = SQLITE_OK;
191574 for(p=pTerm; rc==SQLITE_OK && p; p=p->pSynonym){
191583 if( rc!=SQLITE_OK ){
191620 for(i=0; rc==SQLITE_OK && i<pNear->nPhrase; i++){
191664 return SQLITE_OK;
191685 assert( (rc==SQLITE_OK)==(p->pIter!=0) );
191686 if( rc!=SQLITE_OK ) return rc;
191694 return SQLITE_OK;
191701 return SQLITE_OK;
191795 int rc = SQLITE_OK;
191846 pNode->bNomatch = ((0==fts5ExprNearTest(&rc, pExpr, pNode)) && rc==SQLITE_OK);
191866 int rc = SQLITE_OK;
191889 if( rc!=SQLITE_OK ) break;
191916 assert( rc==SQLITE_OK );
191946 return SQLITE_OK;
191967 if( rc==SQLITE_OK && sqlite3Fts5IterEof(pIter)==0 ){
192012 if( rc!=SQLITE_OK ){
192021 return SQLITE_OK;
192033 int rc = SQLITE_OK;
192046 if( rc!=SQLITE_OK ){
192076 return SQLITE_OK;
192086 if( rc==SQLITE_OK ){
192098 int rc = SQLITE_OK;
192103 while( rc==SQLITE_OK && p1->bEof==0 ){
192109 assert( rc!=SQLITE_OK || cmp<=0 );
192129 if( rc==SQLITE_OK ){
192132 if( rc!=SQLITE_OK ){
192147 int rc = SQLITE_OK;
192189 int rc = SQLITE_OK;
192201 for(i=0; i<pNode->nChild && rc==SQLITE_OK; i++){
192225 if( rc==SQLITE_OK ){
192257 if( rc==SQLITE_OK
192266 assert( pRoot->bEof==0 && rc==SQLITE_OK );
192284 assert( pRoot->bNomatch==0 || (rc==SQLITE_OK && pRoot->bEof==0) );
192301 int rc = SQLITE_OK;
192356 if( pParse->rc==SQLITE_OK ){
192382 assert( pParse->rc!=SQLITE_OK );
192423 int rc = SQLITE_OK;
192431 if( pCtx->rc!=SQLITE_OK ) return pCtx->rc;
192465 if( rc==SQLITE_OK ){
192523 if( rc==SQLITE_OK ){
192574 int rc = SQLITE_OK; /* Return code */
192581 if( rc==SQLITE_OK ){
192585 if( rc==SQLITE_OK ){
192589 if( rc==SQLITE_OK ){
192593 if( rc==SQLITE_OK ){
192607 for(i=0; rc==SQLITE_OK && i<pOrig->nTerm; i++){
192610 for(p=&pOrig->aTerm[i]; p && rc==SQLITE_OK; p=p->pSynonym){
192616 if( rc==SQLITE_OK ){
192627 if( rc==SQLITE_OK ){
192714 assert( pParse->rc==SQLITE_OK );
192780 if( pParse->rc==SQLITE_OK ){
192795 assert( pParse->rc!=SQLITE_OK );
192859 if( pParse->rc==SQLITE_OK ){
192965 if( pParse->rc==SQLITE_OK ){
193007 assert( pParse->rc==SQLITE_OK );
193026 assert( pParse->rc!=SQLITE_OK );
193362 if( rc==SQLITE_OK ){
193365 if( rc==SQLITE_OK ){
193382 if( rc!=SQLITE_OK ){
193464 int rc = SQLITE_OK;
193467 for(i=0; rc==SQLITE_OK && i<ArraySize(aFunc); i++){
193591 return SQLITE_OK;
193694 int rc = SQLITE_OK;
193807 int rc = SQLITE_OK;
193908 return SQLITE_OK;
193989 if( rc!=SQLITE_OK ) return rc;
194095 return SQLITE_OK;
194189 return SQLITE_OK;
194219 return SQLITE_OK;
194898 if( p->rc==SQLITE_OK ){
194899 int rc = SQLITE_OK;
194910 if( rc!=SQLITE_OK ){
194913 if( rc==SQLITE_ABORT ) rc = SQLITE_OK;
194918 if( p->pReader==0 && rc==SQLITE_OK ){
194932 if( rc==SQLITE_OK ){
194944 if( rc==SQLITE_OK ){
194947 if( rc!=SQLITE_OK ){
194959 assert( (pRet==0)==(p->rc!=SQLITE_OK) );
194988 if( p->rc==SQLITE_OK ){
195005 if( p->rc!=SQLITE_OK ) return;
195028 if( p->rc!=SQLITE_OK ) return;
195044 if( rc!=SQLITE_OK ){
195070 if( p->rc==SQLITE_OK ){
195114 int rc = SQLITE_OK;
195142 for(iLvl=0; rc==SQLITE_OK && iLvl<nLevel; iLvl++){
195158 if( rc==SQLITE_OK ){
195171 if( rc!=SQLITE_OK ){
195185 if( *pRc==SQLITE_OK ){
195215 if( *pRc==SQLITE_OK ){
195244 if( p->rc==SQLITE_OK ){
195248 if( p->rc==SQLITE_OK && pConfig->iCookie!=iCookie ){
195252 if( p->rc!=SQLITE_OK ){
195264 if( p->rc==SQLITE_OK ){
195296 if( p->rc==SQLITE_OK ){
195324 if( p->rc!=SQLITE_OK ) return 0;
195375 if( p->rc==SQLITE_OK ){
195417 int rc = SQLITE_OK;
195486 if( p->rc==SQLITE_OK ){
195609 return p->rc!=SQLITE_OK || pIter->aLvl[0].bEof;
195616 for(i=pIter->nLvl-1; p->rc==SQLITE_OK && i>=0; i--){
195734 for(i=0; p->rc==SQLITE_OK && bDone==0; i++){
195754 if( p->rc==SQLITE_OK ){
195763 if( p->rc!=SQLITE_OK ){
195841 if( p->rc==SQLITE_OK ){
195877 if( p->rc==SQLITE_OK ) p->rc = FTS5_CORRUPT;
195967 if( p->rc==SQLITE_OK ){
195975 if( p->rc==SQLITE_OK ){
196059 while( p->rc==SQLITE_OK && pIter->iLeafPgno>pIter->iTermLeafPgno ){
196107 return (p->rc==SQLITE_OK && pSeg->pLeaf && pSeg->nPos==0);
196156 assert( p->rc==SQLITE_OK );
196335 assert( p->rc==SQLITE_OK );
196495 assert( p->rc==SQLITE_OK );
196661 if( p->rc==SQLITE_OK && bGe==0 ){
196686 assert( p->rc!=SQLITE_OK /* 1 */
196713 assert( p->rc==SQLITE_OK );
196811 if( p->rc==SQLITE_OK ){
196923 assert( p->rc!=SQLITE_OK || pIter->iLeafPgno==iLeafPgno );
196925 if( p->rc==SQLITE_OK ){
196989 if( bMove && p->rc==SQLITE_OK ) pIter->xNext(p, pIter, 0);
196994 }while( p->rc==SQLITE_OK );
197020 for(i=(pIter->nSeg+iChanged)/2; i>=iMinset && p->rc==SQLITE_OK; i=i/2){
197024 assert( p->rc==SQLITE_OK );
197105 while( p->rc==SQLITE_OK ){
197109 assert( p->rc==SQLITE_OK );
197141 if( p->rc==SQLITE_OK ){
197148 assert( p->rc==SQLITE_OK );
197427 if( *pRc==SQLITE_OK ){
197579 if( *pRc==SQLITE_OK ){
197640 if( p->rc==SQLITE_OK ){
197661 if( p->rc==SQLITE_OK ){
197693 if( p->rc==SQLITE_OK ){
197698 if( p->rc==SQLITE_OK ) pSeg->xNext(p, pSeg, 0);
197819 if( p->rc==SQLITE_OK ){
197854 if( p->rc==SQLITE_OK ){
197926 if( p->rc==SQLITE_OK && nLvl>=pWriter->nDlidx ){
197978 if( p->rc==SQLITE_OK ){
198051 for(i=0; p->rc==SQLITE_OK && bDone==0; i++){
198068 if( p->rc==SQLITE_OK && pDlidx[1].buf.n==0 ){
198158 assert( p->rc==SQLITE_OK );
198232 if( p->rc==SQLITE_OK ){
198271 while( p->rc==SQLITE_OK
198301 if( p->rc==SQLITE_OK ){
198352 if( p->rc==SQLITE_OK ){
198399 if( p->rc==SQLITE_OK ){
198522 if( p->rc==SQLITE_OK && bTermWritten==0 ){
198596 while( nRem>0 && p->rc==SQLITE_OK ){
198630 if( p->rc==SQLITE_OK && pStruct->aLevel[iBestLvl].nMerge==0 ){
198651 if( p->rc==SQLITE_OK && p->pConfig->nAutomerge>0 ){
198675 assert( p->rc!=SQLITE_OK || pStruct->nLevel>0 );
198676 while( p->rc==SQLITE_OK && pStruct->aLevel[iLvl].nSeg>=nCrisis ){
198678 assert( p->rc!=SQLITE_OK || pStruct->nLevel>(iLvl+1) );
198687 p->rc = SQLITE_OK;
198755 if( p->rc==SQLITE_OK ){
198758 while( p->rc==SQLITE_OK && 0==sqlite3Fts5HashScanEof(pHash) ){
198779 while( p->rc==SQLITE_OK && iOff<nDoclist ){
198820 while( p->rc==SQLITE_OK ){
198856 if( p->rc==SQLITE_OK ){
198950 assert( p->rc==SQLITE_OK );
198964 while( p->rc==SQLITE_OK && pNew->aLevel[iLvl].nSeg>0 ){
199020 if( p->rc==SQLITE_OK && 0==fts5BufferGrow(&p->rc, pBuf, nData+9+9) ){
199335 for(i=0; p->rc==SQLITE_OK && doclist.n; i++){
199353 if( p->rc==SQLITE_OK ){
199380 assert( p->rc==SQLITE_OK );
199404 assert( p->rc==SQLITE_OK );
199421 return SQLITE_OK;
199451 int rc = SQLITE_OK;
199455 if( rc==SQLITE_OK ){
199463 if( rc==SQLITE_OK ){
199469 if( rc==SQLITE_OK ){
199475 assert( rc!=SQLITE_OK || p->rc==SQLITE_OK );
199487 int rc = SQLITE_OK;
199558 int rc = SQLITE_OK; /* Return code */
199561 assert( p->rc==SQLITE_OK );
199569 for(i=0; i<pConfig->nPrefix && rc==SQLITE_OK; i++){
199643 assert( p->rc!=SQLITE_OK || pRet->pColset==0 );
199645 if( p->rc==SQLITE_OK ){
199671 assert( pIter->pIndex->rc==SQLITE_OK );
199683 assert( pIter->pIndex->rc==SQLITE_OK );
199686 if( p->rc==SQLITE_OK ){
199744 if( p->rc==SQLITE_OK && pData->nn ){
199762 assert( p->rc==SQLITE_OK );
199788 assert( p->rc==SQLITE_OK );
199794 if( rc==SQLITE_OK ){
199878 if( p->rc==SQLITE_OK && cksum1!=cksum2 ) p->rc = FTS5_CORRUPT;
199894 while( rc==SQLITE_OK && 0==sqlite3Fts5IterEof(pIter) ){
199910 if( rc==SQLITE_OK ){
199936 if( rc==SQLITE_OK && (pPrev->n!=n || memcmp(pPrev->p, z, n)) ){
199948 if( rc==SQLITE_OK ){
199952 if( rc==SQLITE_OK && ck1!=ck2 ) rc = FTS5_CORRUPT;
199962 if( iIdx>0 && rc==SQLITE_OK ){
199966 if( rc==SQLITE_OK && ck1!=ck2 ) rc = FTS5_CORRUPT;
199968 if( iIdx>0 && rc==SQLITE_OK ){
199972 if( rc==SQLITE_OK && ck1!=ck2 ) rc = FTS5_CORRUPT;
199979 if( rc==SQLITE_OK && cksum3!=expected ){
200011 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){
200029 while( ii<pLeaf->nn && p->rc==SQLITE_OK ){
200059 if( p->rc==SQLITE_OK ){
200089 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
200194 if( p->rc==SQLITE_OK ) p->rc = rc2;
200198 if( p->rc==SQLITE_OK && iter.iLeaf!=pSeg->pgnoLast ){
200286 if( p->rc==SQLITE_OK && cksum!=cksum2 ) p->rc = FTS5_CORRUPT;
200381 if( rc!=SQLITE_OK ){
200517 int rc = SQLITE_OK; /* Return code */
200683 if( rc==SQLITE_OK ){
200738 if( rc==SQLITE_OK ){
200745 if( rc==SQLITE_OK ){
201091 return SQLITE_OK;
201100 if( rc==SQLITE_OK ){
201128 int rc = SQLITE_OK; /* Return code */
201134 if( rc==SQLITE_OK ){
201136 assert( (rc==SQLITE_OK && *pzErr==0) || pConfig==0 );
201138 if( rc==SQLITE_OK ){
201144 if( rc==SQLITE_OK ){
201149 if( rc==SQLITE_OK ){
201156 if( rc==SQLITE_OK ){
201161 if( rc==SQLITE_OK ){
201169 if( rc!=SQLITE_OK ){
201315 return SQLITE_OK;
201369 return SQLITE_OK;
201375 if( pCsr->base.pVtab==(sqlite3_vtab*)pTab ) return SQLITE_OK;
201391 if( rc==SQLITE_OK ){
201486 return SQLITE_OK;
201495 rc = SQLITE_OK;
201503 rc = SQLITE_OK;
201556 int rc = SQLITE_OK;
201564 if( rc==SQLITE_OK && iRowid!=sqlite3Fts5ExprRowid(pCsr->pExpr) ){
201606 rc = SQLITE_OK;
201621 rc = SQLITE_OK;
201649 if( rc!=SQLITE_OK ){
201692 if( rc==SQLITE_OK ){
201699 if( rc!=SQLITE_OK ){
201730 int rc = SQLITE_OK; /* Return code */
201775 int rc = SQLITE_OK;
201787 assert( rc==SQLITE_OK || pCsr->pRankArgStmt==0 );
201788 if( rc==SQLITE_OK ){
201794 if( rc==SQLITE_OK ){
201803 assert( rc!=SQLITE_OK );
201809 if( rc==SQLITE_OK ){
201828 int rc = SQLITE_OK;
201839 if( rc==SQLITE_OK ){
201891 int rc = SQLITE_OK; /* Error code */
201971 if( rc==SQLITE_OK ){
201980 if( rc==SQLITE_OK ){
202003 if( rc==SQLITE_OK ){
202069 return SQLITE_OK;
202080 int rc = SQLITE_OK;
202089 assert( rc!=SQLITE_OK || pTab->base.zErrMsg==0 );
202093 if( rc==SQLITE_OK && CsrFlagTest(pCsr, FTS5CSR_REQUIRE_CONTENT) ){
202099 rc = SQLITE_OK;
202103 if( rc==SQLITE_OK ){
202140 int rc = SQLITE_OK;
202175 if( rc==SQLITE_OK ){
202178 if( rc==SQLITE_OK ){
202193 int rc = SQLITE_OK;
202209 if( rc==SQLITE_OK ){
202212 if( rc==SQLITE_OK ){
202241 int rc = SQLITE_OK; /* Return code */
202326 if( rc==SQLITE_OK ){
202332 if( rc==SQLITE_OK ){
202335 if( rc==SQLITE_OK ){
202370 return SQLITE_OK;
202381 return SQLITE_OK;
202453 int rc = SQLITE_OK;
202460 if( rc==SQLITE_OK ){
202475 int rc = SQLITE_OK;
202485 for(i=0; i<pConfig->nCol && rc==SQLITE_OK; i++){
202488 if( rc==SQLITE_OK ){
202521 int rc = SQLITE_OK;
202537 for(i=0; i<nIter && rc==SQLITE_OK; i++){
202541 if( rc==SQLITE_OK ){
202546 if( rc==SQLITE_OK ){
202589 int rc = SQLITE_OK;
202591 || SQLITE_OK==(rc = fts5CacheInstArray(pCsr)) ){
202605 int rc = SQLITE_OK;
202607 || SQLITE_OK==(rc = fts5CacheInstArray(pCsr))
202644 return SQLITE_OK;
202651 int rc = SQLITE_OK;
202666 for(i=0; rc==SQLITE_OK && i<pConfig->nCol; i++){
202672 if( rc==SQLITE_OK ){
202719 int rc = SQLITE_OK;
202732 return SQLITE_OK;
202786 if( rc==SQLITE_OK ){
202831 int rc = SQLITE_OK;
202845 if( rc==SQLITE_OK ){
202853 if( rc==SQLITE_OK ){
202911 if( rc==SQLITE_OK ){
202919 if( rc==SQLITE_OK ){
202921 rc==SQLITE_OK && CsrFlagTest(pNew, FTS5CSR_EOF)==0;
202925 if( rc!=SQLITE_OK ){
202926 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
203021 int rc = SQLITE_OK;
203048 for(i=0; rc==SQLITE_OK && i<(nPhrase-1); i++){
203056 for(i=0; rc==SQLITE_OK && i<nPhrase; i++){
203084 int rc = SQLITE_OK;
203109 if( pCsr->pRank || SQLITE_OK==(rc = fts5FindRankFunction(pCsr)) ){
203115 if( rc==SQLITE_OK ){
203211 if( rc==SQLITE_OK ){
203252 int rc = SQLITE_OK;
203303 int rc = SQLITE_OK;
203327 int rc = SQLITE_OK;
203337 if( rc!=SQLITE_OK && pzErr ){
203342 if( rc!=SQLITE_OK ){
203438 if( rc==SQLITE_OK ) rc = sqlite3Fts5IndexInit(db);
203439 if( rc==SQLITE_OK ) rc = sqlite3Fts5ExprInit(pGlobal, db);
203440 if( rc==SQLITE_OK ) rc = sqlite3Fts5AuxInit(&pGlobal->api);
203441 if( rc==SQLITE_OK ) rc = sqlite3Fts5TokenizerInit(&pGlobal->api);
203442 if( rc==SQLITE_OK ) rc = sqlite3Fts5VocabInit(pGlobal, db);
203443 if( rc==SQLITE_OK ){
203448 if( rc==SQLITE_OK ){
203459 if( rc==SQLITE_OK ){
203568 int rc = SQLITE_OK;
203650 if( rc!=SQLITE_OK && pzErrMsg ){
203699 if( rc==SQLITE_OK && pConfig->bColumnsize ){
203705 if( rc==SQLITE_OK && pConfig->eContent==FTS5_CONTENT_NORMAL ){
203720 if( *pRc==SQLITE_OK ){
203790 int rc = SQLITE_OK;
203824 if( rc==SQLITE_OK && pConfig->bColumnsize ){
203829 if( rc==SQLITE_OK ){
203834 if( rc==SQLITE_OK ){
203850 int rc = SQLITE_OK;
203911 if( rc!=SQLITE_OK ) return rc;
203921 for(iCol=1; rc==SQLITE_OK && iCol<=pConfig->nCol; iCol++){
203942 if( rc==SQLITE_OK ) rc = rc2;
203960 int rc = SQLITE_OK;
203964 if( rc==SQLITE_OK ){
203985 int rc = SQLITE_OK;
204004 int rc = SQLITE_OK;
204011 if( rc==SQLITE_OK ){
204031 if( rc==SQLITE_OK ){
204036 if( rc==SQLITE_OK && pConfig->bColumnsize ){
204038 if( rc==SQLITE_OK ){
204047 if( rc==SQLITE_OK ){
204050 if( rc==SQLITE_OK ){
204074 if( rc==SQLITE_OK && pConfig->bColumnsize ){
204083 if( rc==SQLITE_OK ){
204086 if( rc==SQLITE_OK ){
204102 if( rc==SQLITE_OK ){
204106 if( rc==SQLITE_OK ){
204110 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pScan) ){
204115 for(ctx.iCol=0; rc==SQLITE_OK && ctx.iCol<pConfig->nCol; ctx.iCol++){
204131 if( rc==SQLITE_OK ){
204138 if( rc==SQLITE_OK ){
204170 if( rc==SQLITE_OK ){
204176 if( rc==SQLITE_OK ){
204192 int rc = SQLITE_OK;
204205 for(i=1; rc==SQLITE_OK && i<=pConfig->nCol+1; i++){
204208 if( rc==SQLITE_OK ){
204227 int rc = SQLITE_OK; /* Return code */
204235 if( rc==SQLITE_OK ){
204238 for(ctx.iCol=0; rc==SQLITE_OK && ctx.iCol<pConfig->nCol; ctx.iCol++){
204255 if( rc==SQLITE_OK ){
204276 if( rc==SQLITE_OK ){
204317 int rc = SQLITE_OK;
204347 if( rc==SQLITE_OK && bPresent==0 ){
204353 for(ii=0; rc==SQLITE_OK && ii<pCtx->pConfig->nPrefix; ii++){
204393 if( rc==SQLITE_OK ){
204402 if( rc==SQLITE_OK && pConfig->eDetail==FTS5_DETAIL_NONE ){
204405 for(i=0; rc==SQLITE_OK && i<pConfig->nCol; i++){
204412 if( rc==SQLITE_OK ){
204421 if( rc==SQLITE_OK && pConfig->bColumnsize && ctx.szCol!=aColSize[i] ){
204433 if( rc!=SQLITE_OK ) break;
204436 if( rc==SQLITE_OK ) rc = rc2;
204440 if( rc==SQLITE_OK ){
204443 for(i=0; rc==SQLITE_OK && i<pConfig->nCol; i++){
204450 if( rc==SQLITE_OK && pConfig->eContent==FTS5_CONTENT_NORMAL ){
204453 if( rc==SQLITE_OK && nRow!=p->nTotalRow ) rc = FTS5_CORRUPT;
204455 if( rc==SQLITE_OK && pConfig->bColumnsize ){
204458 if( rc==SQLITE_OK && nRow!=p->nTotalRow ) rc = FTS5_CORRUPT;
204464 if( rc==SQLITE_OK ){
204488 if( rc==SQLITE_OK ){
204545 if( rc==SQLITE_OK ){
204556 if( bCorrupt && rc==SQLITE_OK ){
204566 if( rc==SQLITE_OK ){
204584 if( rc==SQLITE_OK ){
204594 int rc = SQLITE_OK;
204600 if( rc==SQLITE_OK ){
204620 if( rc==SQLITE_OK ){
204630 if( rc==SQLITE_OK && pVal ){
204633 if( rc==SQLITE_OK ){
204708 int rc = SQLITE_OK;
204721 for(i=0; rc==SQLITE_OK && i<nArg; i+=2){
204732 if( rc!=SQLITE_OK ){
204764 int rc = SQLITE_OK;
204775 while( is<nText && rc==SQLITE_OK ){
204809 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
204886 int rc = SQLITE_OK;
204972 int rc = SQLITE_OK; /* Return code */
204991 for(i=0; rc==SQLITE_OK && i<nArg; i+=2){
205011 if( rc!=SQLITE_OK ){
205038 int rc = SQLITE_OK;
205053 while( rc==SQLITE_OK ){
205130 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
205171 int rc = SQLITE_OK;
205187 if( rc==SQLITE_OK ){
205193 if( rc!=SQLITE_OK ){
205866 int rc = SQLITE_OK; /* Return code */
205869 for(i=0; rc==SQLITE_OK && i<ArraySize(aBuiltin); i++){
206693 int rc = SQLITE_OK;
206695 if( rc==SQLITE_OK ){
206724 return SQLITE_OK;
206733 return SQLITE_OK;
206772 int rc = SQLITE_OK; /* Return code */
206790 if( rc==SQLITE_OK ){
206908 return SQLITE_OK;
206922 int rc = SQLITE_OK;
206934 assert( rc==SQLITE_OK || pStmt==0 );
206935 if( rc==SQLITE_ERROR ) rc = SQLITE_OK;
206942 if( rc==SQLITE_OK && pIndex==0 ){
206945 if( rc==SQLITE_OK ){
206953 if( rc==SQLITE_OK ){
206991 return SQLITE_OK;
206995 int rc = SQLITE_OK;
207018 int rc = SQLITE_OK;
207030 if( rc==SQLITE_OK ){
207049 int rc = SQLITE_OK;
207077 return SQLITE_OK;
207087 while( rc==SQLITE_OK ){
207141 if( rc==SQLITE_OK ){
207146 if( rc==SQLITE_OK ){
207157 if( rc==SQLITE_OK && pCsr->bEof==0 && pTab->eType==FTS5_VOCAB_COL ){
207177 int rc = SQLITE_OK;
207216 if( rc==SQLITE_OK ){
207219 if( rc==SQLITE_OK && eType==FTS5_VOCAB_INSTANCE ){
207222 if( rc==SQLITE_OK
207305 return SQLITE_OK;
207319 return SQLITE_OK;
207454 if( rc==SQLITE_OK ){
207469 return SQLITE_OK;
207482 return SQLITE_OK;
207490 return SQLITE_OK;
207501 return SQLITE_OK;
207547 return SQLITE_OK;
207557 return SQLITE_OK;
207598 return SQLITE_OK;
207634 int rc = SQLITE_OK;
207650 int rc = SQLITE_OK;