Lines Matching refs:SQLITE_OK
823 ** ^Calls to sqlite3_close() return SQLITE_OK if the [sqlite3] object is
923 ** KEYWORDS: SQLITE_OK {error code} {error codes}
934 #define SQLITE_OK 0 /* Successful result */
972 ** [SQLITE_OK | result codes]. However, experience has shown that many of
986 ** The SQLITE_OK result code will never be extended. It will always
1644 ** ^The sqlite3_initialize() routine returns [SQLITE_OK] on success.
1647 ** as a mutex) it returns an [error code] other than [SQLITE_OK].
1684 ** must return [SQLITE_OK] on success and some other [error code] upon
1717 ** ^When a configuration option is set, sqlite3_config() returns [SQLITE_OK].
1736 ** ^Calls to sqlite3_db_config() return SQLITE_OK if and only if
2728 ** return [SQLITE_OK] to allow the action, [SQLITE_IGNORE] to disallow the
2732 ** any value other than [SQLITE_IGNORE], [SQLITE_OK], or [SQLITE_DENY]
2736 ** When the callback returns [SQLITE_OK], that means the operation
2753 ** been read if [SQLITE_OK] had been returned. The [SQLITE_IGNORE]
2807 ** return either [SQLITE_OK] or one of these two constants in order
2944 ** [SQLITE_OK] is returned. Otherwise an [error code] is returned.)^ ^The
3370 ** ^On success, the sqlite3_prepare() family of routines return [SQLITE_OK];
3607 ** ^The sqlite3_bind_* routines return [SQLITE_OK] on success or an
4125 ** SQLITE_OK. ^If the most recent evaluation of statement S failed, then
4161 ** then [sqlite3_reset(S)] returns [SQLITE_OK].
5035 ** ^(This routine returns [SQLITE_OK] if shared cache was enabled or disabled
5209 ** [SQLITE_OK] on success and [SQLITE_ERROR] if something goes wrong.
5612 ** ^(On success, [SQLITE_OK] is returned and the new [BLOB handle] is written
5734 ** ^(On success, sqlite3_blob_read() returns SQLITE_OK.
5772 ** ^(On success, sqlite3_blob_write() returns SQLITE_OK.
5904 ** SQLITE_BUSY. ^The sqlite3_mutex_try() interface returns [SQLITE_OK]
5998 ** called, but only if the prior call to xMutexInit returned SQLITE_OK.
6180 ** ^The sqlite3_status() routine returns SQLITE_OK on success and a
6305 ** ^The sqlite3_db_status() routine returns SQLITE_OK on success and a
6693 ** are still more pages to be copied, then the function returns [SQLITE_OK].
6697 ** then an [error code] is returned. ^As well as [SQLITE_OK] and
6756 ** ^The value returned by sqlite3_backup_finish is [SQLITE_OK] if no
6877 ** returns SQLITE_OK.
6998 ** The callback function should normally return [SQLITE_OK]. ^If an error
7098 ** populated even if sqlite3_wal_checkpoint_v2() returns other than SQLITE_OK.
7127 ** databases, SQLITE_OK is returned.
7130 ** mode, SQLITE_OK is returned and both *pnLog and *pnCkpt set to -1. If
7204 ** return SQLITE_OK. Or, if this is not possible, it may return
9288 #define sqlite3_mutex_try(X) SQLITE_OK
9293 #define sqlite3MutexInit() SQLITE_OK
11522 # define sqlite3AuthCheck(a,b,c,d,e) SQLITE_OK
11709 # define sqlite3VtabSync(X,Y) SQLITE_OK
11716 # define sqlite3VtabSavepoint(X, Y, Z) SQLITE_OK
12944 # define sqlite3VdbeSorterInit(Y,Z) SQLITE_OK
12945 # define sqlite3VdbeSorterWrite(X,Y,Z) SQLITE_OK
12947 # define sqlite3VdbeSorterRowkey(Y,Z) SQLITE_OK
12948 # define sqlite3VdbeSorterRewind(X,Y,Z) SQLITE_OK
12949 # define sqlite3VdbeSorterNext(X,Y,Z) SQLITE_OK
12950 # define sqlite3VdbeSorterCompare(X,Y,Z) SQLITE_OK
12989 #define sqlite3VdbeMemExpandBlob(x) SQLITE_OK
13072 return SQLITE_OK;
13085 int rc = SQLITE_OK; /* Return code */
13667 ** return this value and set *pRc to SQLITE_OK.
13675 int *pRc /* OUT: Error code. SQLITE_OK or ERROR */
13717 *pRc = SQLITE_OK;
13789 if( rc==SQLITE_OK ){
14390 int rc = SQLITE_OK;
14474 assert( rc==SQLITE_OK || pFile->pMethods==0 );
14548 if( rc!=SQLITE_OK ){
14557 int rc = SQLITE_OK;
14651 return SQLITE_OK;
14664 return SQLITE_OK;
14792 static int sqlite3MemInit(void *NotUsed){ return SQLITE_OK; }
14936 return SQLITE_OK;
15165 return SQLITE_OK;
16070 return SQLITE_OK;
16695 return SQLITE_OK;
16804 int rc = SQLITE_OK;
16838 int rc = SQLITE_OK;
16888 ** Obtain the mutex p. If successful, return SQLITE_OK. Otherwise, if another
16892 int rc = SQLITE_OK;
16964 static int noopMutexInit(void){ return SQLITE_OK; }
16965 static int noopMutexEnd(void){ return SQLITE_OK; }
16974 return SQLITE_OK;
17027 static int debugMutexInit(void){ return SQLITE_OK; }
17028 static int debugMutexEnd(void){ return SQLITE_OK; }
17073 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
17089 return SQLITE_OK;
17182 static int os2MutexInit(void){ return SQLITE_OK; }
17183 static int os2MutexEnd(void){ return SQLITE_OK; }
17348 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
17366 rc = SQLITE_OK;
17494 static int pthreadMutexInit(void){ return SQLITE_OK; }
17495 static int pthreadMutexEnd(void){ return SQLITE_OK; }
17611 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
17679 rc = SQLITE_OK;
17684 rc = SQLITE_OK;
17697 rc = SQLITE_OK;
17704 if( rc==SQLITE_OK && p->trace ){
17889 return SQLITE_OK;
17904 return SQLITE_OK;
17996 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
18039 rc = SQLITE_OK;
18045 if( rc==SQLITE_OK && p->trace ){
18205 return SQLITE_OK;
20287 if( rc!=SQLITE_OK ){
20389 return SQLITE_OK;
20402 int rc = SQLITE_OK;
20419 if( rc==SQLITE_OK ){
20729 ** should be called with err_code set to SQLITE_OK and zFormat set
22560 return rc == NO_ERROR ? SQLITE_OK : SQLITE_IOERR;
22564 ** Read data from a file into a buffer. Return SQLITE_OK if all
22587 return SQLITE_OK;
22596 ** Write data from a buffer into a file. Return SQLITE_OK on success
22625 return ( rc != NO_ERROR || amt > (int)wrote ) ? SQLITE_FULL : SQLITE_OK;
22648 return rc == NO_ERROR ? SQLITE_OK : SQLITE_IOERR_TRUNCATE;
22677 return SQLITE_OK;
22679 return DosResetBuffer( pFile->h ) == NO_ERROR ? SQLITE_OK : SQLITE_IOERR;
22695 return SQLITE_OK;
22764 int rc = SQLITE_OK; /* Return code from subroutines */
22782 return SQLITE_OK;
22884 rc = SQLITE_OK;
22932 return SQLITE_OK;
22949 APIRET rc = SQLITE_OK;
23008 return SQLITE_OK;
23012 return SQLITE_OK;
23019 return SQLITE_OK;
23022 return SQLITE_OK;
23153 if( (rc) != SQLITE_OK ) _ERR_TRACE msg;
23312 rc==SQLITE_OK ? "ok" : "failed",
23318 return ( rc == 0 ) ? SQLITE_OK : SQLITE_BUSY;
23330 int cbShmName, rc = SQLITE_OK;
23389 if( rc == SQLITE_OK ) {
23503 ** separate process), then *pp is set to NULL and SQLITE_OK returned. If
23510 ** memory and SQLITE_OK returned.
23522 int n, rc = SQLITE_OK;
23531 if( rc == SQLITE_OK ) {
23641 return SQLITE_OK;
23659 int rc = SQLITE_OK; /* Result code */
23693 rc = SQLITE_OK;
23697 if( rc==SQLITE_OK ){
23717 if( rc==SQLITE_OK ){
23721 rc = SQLITE_OK;
23726 if( rc==SQLITE_OK ){
23743 if( rc==SQLITE_OK ){
23745 if( rc==SQLITE_OK ){
23874 return SQLITE_OK;
23898 return rc == NO_ERROR ? SQLITE_OK : SQLITE_IOERR;
23974 if( rc!=SQLITE_OK ){
24046 return SQLITE_OK;
24066 rc == ERROR_PATH_NOT_FOUND ) ? SQLITE_OK : SQLITE_IOERR_DELETE;
24114 return SQLITE_OK;
24363 return SQLITE_OK;
24367 return SQLITE_OK;
24552 ** a normal expected return code of SQLITE_BUSY or SQLITE_OK
24554 #define IS_LOCK_ERROR(x) ((x != SQLITE_OK) && (x != SQLITE_BUSY))
24994 ** "unix" VFSes. Return SQLITE_OK opon successfully updating the
25011 rc = SQLITE_OK;
25026 rc = SQLITE_OK;
25218 ** SQLITE_OK. The system call failed, and *some* SQLite error should be
25223 return SQLITE_OK;
25622 assert( errcode!=SQLITE_OK );
25784 return SQLITE_OK;
25792 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
25795 int rc = SQLITE_OK;
25944 int rc = SQLITE_OK;
25962 return SQLITE_OK;
25991 ** return SQLITE_OK.
26033 assert( rc==SQLITE_OK );
26047 if( unixFileLock(pFile, &lock) && rc==SQLITE_OK ){
26100 if( rc==SQLITE_OK
26111 if( rc==SQLITE_OK ){
26122 rc==SQLITE_OK ? "ok" : "failed"));
26156 int rc = SQLITE_OK;
26166 return SQLITE_OK;
26319 if( rc==SQLITE_OK ) pFile->eFileLock = eFileLock;
26363 return SQLITE_OK;
26370 int rc = SQLITE_OK;
26416 return SQLITE_OK;
26420 return SQLITE_OK;
26424 return SQLITE_OK;
26469 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
26476 int rc = SQLITE_OK;
26530 int rc = SQLITE_OK;
26544 return SQLITE_OK;
26589 return SQLITE_OK;
26597 return SQLITE_OK;
26614 return SQLITE_OK;
26668 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
26671 int rc = SQLITE_OK;
26715 rc = SQLITE_OK;
26753 int rc = SQLITE_OK;
26762 return SQLITE_OK;
26779 rc==SQLITE_OK ? "ok" : "failed"));
26806 return SQLITE_OK;
26812 return SQLITE_OK;
26818 return SQLITE_OK;
26823 return SQLITE_OK;
26858 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
26861 int rc = SQLITE_OK;
26932 int rc = SQLITE_OK;
26938 rc = SQLITE_OK;
26974 return SQLITE_OK;
26980 return SQLITE_OK;
26993 return SQLITE_OK;
27009 return SQLITE_OK;
27056 ** Return SQLITE_OK on success, SQLITE_BUSY on failure.
27094 return SQLITE_OK;
27102 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
27105 int rc = SQLITE_OK;
27116 return SQLITE_OK;
27130 if( SQLITE_OK==lrc ){
27175 int rc = SQLITE_OK;
27192 return SQLITE_OK;
27221 ** return SQLITE_OK.
27279 } else if( lrc1 != SQLITE_OK ) {
27312 int failed2 = SQLITE_OK;
27334 if( rc==SQLITE_OK ){
27345 rc==SQLITE_OK ? "ok" : "failed"));
27357 int rc = SQLITE_OK;
27373 return SQLITE_OK;
27401 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1) ){
27409 if( rc==SQLITE_OK && pFile->eFileLock>=PENDING_LOCK ){
27412 if( rc==SQLITE_OK && pFile->eFileLock>=RESERVED_LOCK && context->reserved ){
27418 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1)){
27422 if( rc==SQLITE_OK && eFileLock==NO_LOCK ){
27442 if( rc==SQLITE_OK ){
27452 if( rc==SQLITE_OK ) pFile->eFileLock = eFileLock;
27460 int rc = SQLITE_OK;
27572 ** Read data from a file into a buffer. Return SQLITE_OK if all
27597 return SQLITE_OK;
27652 ** Write data from a buffer into a file. Return SQLITE_OK on success
27715 return SQLITE_OK;
27804 rc = SQLITE_OK;
27844 ** SQLITE_OK is returned. If an error occurs, either SQLITE_NOMEM
27858 ** a no-op, replace it with a stub that returns SQLITE_OK but leaves
27861 ** If SQLITE_OK is returned, the caller is responsible for closing
27882 return (fd>=0?SQLITE_OK:unixLogError(SQLITE_CANTOPEN_BKPT, "open", zDirname));
27935 if( rc==SQLITE_OK && dirfd>=0 ){
27939 rc = SQLITE_OK;
27982 return SQLITE_OK;
28010 return SQLITE_OK;
28070 return SQLITE_OK;
28081 return SQLITE_OK;
28085 return SQLITE_OK;
28089 return SQLITE_OK;
28107 return SQLITE_OK;
28117 return SQLITE_OK;
28127 return SQLITE_OK; /* A no-op */
28247 int rc = SQLITE_OK; /* Result code form fcntl() */
28267 rc = (rc!=(-1)) ? SQLITE_OK : SQLITE_BUSY;
28275 if( rc==SQLITE_OK ){
28456 rc = SQLITE_OK;
28457 if( unixShmSystemLock(pShmNode, F_WRLCK, UNIX_SHM_DMS, 1)==SQLITE_OK ){
28462 if( rc==SQLITE_OK ){
28489 return SQLITE_OK;
28509 ** separate process), then *pp is set to NULL and SQLITE_OK returned. If
28516 ** memory and SQLITE_OK returned.
28528 int rc = SQLITE_OK;
28533 if( rc!=SQLITE_OK ) return rc;
28563 ** false, exit early. *pp will be set to NULL and SQLITE_OK returned.
28616 if( pShmNode->isReadonly && rc==SQLITE_OK ) rc = SQLITE_READONLY;
28639 int rc = SQLITE_OK; /* Result code */
28671 rc = SQLITE_OK;
28675 if( rc==SQLITE_OK ){
28695 if( rc==SQLITE_OK ){
28699 rc = SQLITE_OK;
28704 if( rc==SQLITE_OK ){
28721 if( rc==SQLITE_OK ){
28723 if( rc==SQLITE_OK ){
28767 if( p==0 ) return SQLITE_OK;
28795 return SQLITE_OK;
29112 int rc = SQLITE_OK;
29174 if( rc!=SQLITE_OK ){
29217 if( rc!=SQLITE_OK ){
29250 if( (rc==SQLITE_OK) && (pNew->pInode->pSem==NULL) ){
29269 if( rc!=SQLITE_OK ){
29277 if( rc!=SQLITE_OK ){
29353 return SQLITE_OK;
29425 ** to create new files with. If no error occurs, then SQLITE_OK is returned
29451 int rc = SQLITE_OK; /* Return Code */
29472 if( nDb==0 ) return SQLITE_OK;
29521 int rc = SQLITE_OK; /* Function Return Code */
29595 if( rc!=SQLITE_OK ){
29614 if( rc!=SQLITE_OK ){
29707 if( rc==SQLITE_OK ){
29709 if( rc!=SQLITE_OK ){
29726 if( rc!=SQLITE_OK ){
29742 int rc = SQLITE_OK;
29752 if( rc==SQLITE_OK ){
29763 rc = SQLITE_OK;
29810 return SQLITE_OK;
29851 return SQLITE_OK;
30273 return SQLITE_OK;
30326 int rc = SQLITE_OK;
30351 if( proxyCreateLockPath(path) == SQLITE_OK ){
30390 if( rc==SQLITE_OK ){
30392 return SQLITE_OK;
30439 return SQLITE_OK;
30519 int rc = SQLITE_OK;
30574 rc = SQLITE_OK;
30598 return SQLITE_OK;
30606 int rc = SQLITE_OK;
30622 if( rc!=SQLITE_OK ){
30704 if( rc==SQLITE_OK ){
30722 if( rc==SQLITE_OK && createConch ){
30754 if( rc==SQLITE_OK && pFile->openFlags ){
30770 if( rc==SQLITE_OK && !pCtx->lockProxy ){
30773 if( rc!=SQLITE_OK && rc!=SQLITE_NOMEM && tryOldLockPath ){
30782 if( rc==SQLITE_OK ){
30793 if( rc==SQLITE_OK ){
30805 rc==SQLITE_OK?"ok":"failed"));
30816 int rc = SQLITE_OK; /* Subroutine return code */
30830 (rc==SQLITE_OK ? "ok" : "failed")));
30837 ** Make *pConchPath point to the new name. Return SQLITE_OK on success
30875 return SQLITE_OK;
30885 int rc = SQLITE_OK;
30894 return SQLITE_OK;
30937 return SQLITE_OK;
30952 int rc = SQLITE_OK;
30974 if( rc==SQLITE_OK ){
30994 rc = SQLITE_OK;
30998 if( rc==SQLITE_OK && lockPath ){
31002 if( rc==SQLITE_OK ){
31008 if( rc==SQLITE_OK ){
31026 (rc==SQLITE_OK ? "ok" : "failed")));
31050 return SQLITE_OK;
31054 int rc = SQLITE_OK;
31062 rc = SQLITE_OK;
31073 rc = SQLITE_OK;
31103 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
31108 if( rc==SQLITE_OK ){
31147 if( rc==SQLITE_OK ){
31171 if( rc==SQLITE_OK ){
31193 int rc = SQLITE_OK;
31221 return SQLITE_OK;
31336 return SQLITE_OK;
31347 return SQLITE_OK;
31933 return SQLITE_OK;
32206 assert( errcode!=SQLITE_OK );
32667 return rc ? SQLITE_OK
32672 ** Read data from a file into a buffer. Return SQLITE_OK if all
32705 return SQLITE_OK;
32709 ** Write data from a buffer into a file. Return SQLITE_OK on success
32759 return SQLITE_OK;
32767 int rc = SQLITE_OK; /* Return code for this function */
32851 return SQLITE_OK;
32856 return SQLITE_OK;
32883 return SQLITE_OK;
32972 int rc = SQLITE_OK; /* Return code from subroutines */
32988 return SQLITE_OK;
33078 rc = SQLITE_OK;
33113 return SQLITE_OK;
33130 int rc = SQLITE_OK;
33165 return SQLITE_OK;
33169 return SQLITE_OK;
33173 return SQLITE_OK;
33179 if( rc==SQLITE_OK ){
33189 return SQLITE_OK;
33198 return SQLITE_OK;
33201 return SQLITE_OK;
33215 return SQLITE_OK;
33394 rc = SQLITE_OK;
33402 rc==SQLITE_OK ? "ok" : "failed",
33521 if( SQLITE_OK!=rc ){
33529 if( winShmSystemLock(pShmNode, _SHM_WRLCK, WIN_SHM_DMS, 1)==SQLITE_OK ){
33531 if( rc!=SQLITE_OK ){
33535 if( rc==SQLITE_OK ){
33562 return SQLITE_OK;
33589 if( p==0 ) return SQLITE_OK;
33613 return SQLITE_OK;
33629 int rc = SQLITE_OK; /* Result code */
33657 rc = SQLITE_OK;
33661 if( rc==SQLITE_OK ){
33681 if( rc==SQLITE_OK ){
33685 rc = SQLITE_OK;
33690 if( rc==SQLITE_OK ){
33707 if( rc==SQLITE_OK ){
33709 if( rc==SQLITE_OK ){
33747 ** separate process), then *pp is set to NULL and SQLITE_OK returned. If
33754 ** memory and SQLITE_OK returned.
33766 int rc = SQLITE_OK;
33770 if( rc!=SQLITE_OK ) return rc;
33790 if( rc!=SQLITE_OK ){
33797 ** zero, exit early. *pp will be set to NULL and SQLITE_OK returned.
33804 if( rc!=SQLITE_OK ){
34001 return SQLITE_OK;
34032 int rc = SQLITE_OK; /* Function Return Code */
34090 if( rc!=SQLITE_OK ){
34255 rc = rc ? SQLITE_OK : SQLITE_ERROR;
34265 rc = rc ? SQLITE_OK : SQLITE_ERROR;
34348 return SQLITE_OK;
34368 return SQLITE_OK;
34376 return SQLITE_OK;
34433 return SQLITE_OK;
34467 if( rc == SQLITE_OK )
34757 return SQLITE_OK;
34760 return SQLITE_OK;
34932 if( p==0 ) return SQLITE_OK;
34947 return SQLITE_OK;
34963 if( p->u.aHash[h]==i ) return SQLITE_OK;
34992 return SQLITE_OK;
35439 if( rc!=SQLITE_OK && rc!=SQLITE_BUSY ){
35470 return (pPage==0 && eCreate) ? SQLITE_NOMEM : SQLITE_OK;
36424 return (p->apHash ? SQLITE_OK : SQLITE_NOMEM);
36546 return SQLITE_OK;
37868 ** * The Pager.errCode variable is set to something other than SQLITE_OK.
38326 # define pagerOpenWalIfPresent(z) SQLITE_OK
38327 # define pagerBeginReadTransaction(z) SQLITE_OK
38391 assert( pPager->errCode==SQLITE_OK );
38396 assert( pPager->errCode==SQLITE_OK );
38403 assert( pPager->errCode==SQLITE_OK );
38415 assert( pPager->errCode==SQLITE_OK );
38434 assert( pPager->errCode==SQLITE_OK );
38446 assert( pPager->errCode==SQLITE_OK );
38459 assert( pPager->errCode!=SQLITE_OK );
38550 ** that is read in *pRes. Return SQLITE_OK if everything worked, or an
38558 if( rc==SQLITE_OK ){
38571 ** Write a 32-bit integer into the given file descriptor. Return SQLITE_OK
38590 int rc = SQLITE_OK;
38617 int rc = SQLITE_OK;
38622 if( rc==SQLITE_OK && (pPager->eLock!=UNKNOWN_LOCK||eLock==EXCLUSIVE_LOCK) ){
38734 ** zMaster[0] is set to 0 and SQLITE_OK returned.
38748 if( SQLITE_OK!=(rc = sqlite3OsFileSize(pJrnl, &szJ))
38750 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-16, &len))
38752 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-12, &cksum))
38753 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, aMagic, 8, szJ-8))
38755 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, zMaster, len, szJ-16-len))
38767 ** definitely roll back, so just return SQLITE_OK and report a (nul)
38774 return SQLITE_OK;
38823 ** Otherwise, return SQLITE_OK.
38826 int rc = SQLITE_OK; /* Return code */
38838 if( rc==SQLITE_OK && !pPager->noSync ){
38848 if( rc==SQLITE_OK && iLimit>0 ){
38851 if( rc==SQLITE_OK && sz>iLimit ){
38875 int rc = SQLITE_OK; /* Return code */
38965 for(nWrite=0; rc==SQLITE_OK&&nWrite<JOURNAL_HDR_SZ(pPager); nWrite+=nHeader){
38985 ** is set to the value read from the journal header. SQLITE_OK is returned
39034 if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+8, pNRec))
39035 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+12, &pPager->cksumInit))
39036 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+16, pDbSize))
39046 if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+20, &iSectorSize))
39047 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+24, &iPageSize))
39082 testcase( rc!=SQLITE_OK );
39131 return SQLITE_OK;
39174 if( SQLITE_OK==(rc = sqlite3OsFileSize(pPager->jfd, &jrnlSize))
39226 ** bitvecs of all open savepoints. Return SQLITE_OK if successful
39231 int rc = SQLITE_OK; /* Result code */
39238 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
39303 if( rc!=SQLITE_OK && pPager->eState==PAGER_ERROR ){
39326 pPager->errCode = SQLITE_OK;
39355 assert( rc==SQLITE_OK || !MEMDB );
39358 pPager->errCode==SQLITE_OK ||
39412 ** SQLITE_OK is returned if no error occurs. If an error occurs during
39422 int rc = SQLITE_OK; /* Error code from journal finalization operation */
39423 int rc2 = SQLITE_OK; /* Error code from db file unlock operation */
39441 return SQLITE_OK;
39455 rc = SQLITE_OK;
39505 assert( rc2==SQLITE_OK );
39516 return (rc==SQLITE_OK?rc2:rc);
39606 ** skipped and SQLITE_OK is returned.
39615 ** and played back, then SQLITE_OK is returned. If an IO error occurs
39672 if( rc!=SQLITE_OK ) return rc;
39674 if( rc!=SQLITE_OK ) return rc;
39687 return SQLITE_OK;
39700 if( pDone && (rc = sqlite3BitvecSet(pDone, pgno))!=SQLITE_OK ){
39801 if( rc!=SQLITE_OK ) return rc;
39890 ** occur, SQLITE_OK is returned.
39919 if( rc!=SQLITE_OK ) goto delmaster_out;
39927 if( rc!=SQLITE_OK ) goto delmaster_out;
39936 if( rc!=SQLITE_OK ) goto delmaster_out;
39943 if( rc!=SQLITE_OK ){
39954 if( rc!=SQLITE_OK ){
39960 if( rc!=SQLITE_OK ){
40004 ** If successful, return SQLITE_OK. If an IO error occurs while modifying
40008 int rc = SQLITE_OK;
40021 if( rc==SQLITE_OK && currentSize!=newSize ){
40032 if( rc==SQLITE_OK ){
40117 ** is then deleted and SQLITE_OK returned, just as if no corruption had
40146 if( rc!=SQLITE_OK ){
40163 if( rc==SQLITE_OK && zMaster[0] ){
40167 if( rc!=SQLITE_OK || !res ){
40184 if( rc!=SQLITE_OK ){
40186 rc = SQLITE_OK;
40225 if( rc!=SQLITE_OK ){
40240 if( rc!=SQLITE_OK ){
40242 rc = SQLITE_OK;
40251 rc = SQLITE_OK;
40275 sqlite3OsFileControl(pPager->fd,SQLITE_FCNTL_DB_UNCHANGED,0)>=SQLITE_OK
40289 if( rc==SQLITE_OK ){
40292 testcase( rc!=SQLITE_OK );
40294 if( rc==SQLITE_OK
40299 if( rc==SQLITE_OK ){
40301 testcase( rc!=SQLITE_OK );
40303 if( rc==SQLITE_OK && zMaster[0] && res ){
40308 testcase( rc!=SQLITE_OK );
40329 ** Otherwise, SQLITE_OK is returned.
40334 int rc = SQLITE_OK; /* Return code */
40344 return SQLITE_OK;
40351 if( rc==SQLITE_OK && !isInWal ){
40355 rc = SQLITE_OK;
40423 ** return an SQLite error code. Otherwise, SQLITE_OK.
40426 int rc = SQLITE_OK;
40436 if( rc==SQLITE_OK ){
40473 while( pList && rc==SQLITE_OK ){
40528 if( rc==SQLITE_OK && pPager->pBackup ){
40568 if( rc!=SQLITE_OK || changed ){
40581 ** If no error occurs, SQLITE_OK is returned and the size of the database
40609 if( rc!=SQLITE_OK ){
40628 return SQLITE_OK;
40642 ** Return SQLITE_OK or an error code.
40651 int rc = SQLITE_OK;
40669 if( rc==SQLITE_OK ){
40721 int rc = SQLITE_OK; /* Return code */
40763 while( rc==SQLITE_OK && pPager->journalOff<iHdrOff ){
40776 while( rc==SQLITE_OK && pPager->journalOff<szJ ){
40793 for(ii=0; rc==SQLITE_OK && ii<nJRec && pPager->journalOff<szJ; ii++){
40798 assert( rc!=SQLITE_OK || pPager->journalOff>=szJ );
40811 for(ii=pSavepoint->iSubRec; rc==SQLITE_OK && ii<pPager->nSubRec; ii++){
40819 if( rc==SQLITE_OK ){
40914 ** Write the file descriptor into *pFile. Return SQLITE_OK on success
40940 assert( rc!=SQLITE_OK || isOpen(pFile) );
40997 ** In all other cases, SQLITE_OK is returned.
41005 int rc = SQLITE_OK;
41029 if( rc==SQLITE_OK ){
41034 if( rc==SQLITE_OK ){
41045 if( rc==SQLITE_OK ){
41112 ** zeroed and SQLITE_OK returned. The rationale for this is that this
41121 int rc = SQLITE_OK;
41135 rc = SQLITE_OK;
41158 ** (returning SQLITE_OK immediately).
41165 ** Return SQLITE_OK on success and an error code if we cannot obtain
41247 ** If everything goes as planned, SQLITE_OK is returned. Otherwise,
41251 int rc = SQLITE_OK;
41255 if( rc==SQLITE_OK ){
41324 return SQLITE_OK;
41375 ** page currently held in memory before returning SQLITE_OK. If an IO
41388 if( rc!=SQLITE_OK ) return rc;
41428 if( rc==SQLITE_OK && 0==memcmp(aMagic, aJournalMagic, 8) ){
41432 if( rc!=SQLITE_OK && rc!=SQLITE_IOERR_SHORT_READ ){
41451 if( rc!=SQLITE_OK ) return rc;
41457 if( rc!=SQLITE_OK ) return rc;
41465 if( rc!=SQLITE_OK ) return rc;
41472 if( rc!=SQLITE_OK ) return rc;
41486 return SQLITE_OK;
41517 ** If everything is successful, SQLITE_OK is returned. If an IO error
41522 int rc = SQLITE_OK; /* Return code */
41530 ** is not possible for rc to be other than SQLITE_OK if this branch
41534 assert( pPager->tempFile && rc==SQLITE_OK );
41541 assert( rc!=SQLITE_OK || isOpen(pPager->fd) );
41542 if( rc==SQLITE_OK && pPager->dbSize>pPager->dbHintSize ){
41548 while( rc==SQLITE_OK && pList ){
41605 ** SQLITE_OK is returned if everything goes according to plan. An
41610 int rc = SQLITE_OK;
41629 ** This function returns SQLITE_OK if everything is successful, an IO
41635 int rc = SQLITE_OK;
41651 if( rc==SQLITE_OK ){
41659 if( rc==SQLITE_OK ){
41664 if( rc==SQLITE_OK ){
41686 ** SQLITE_OK returned. If an IO error occurs while trying to make the
41688 ** made clean for some other reason, but no error occurs, then SQLITE_OK
41693 int rc = SQLITE_OK;
41713 if( NEVER(pPager->errCode) ) return SQLITE_OK;
41714 if( pPager->doNotSpill ) return SQLITE_OK;
41716 return SQLITE_OK;
41725 if( rc==SQLITE_OK ){
41765 rc==SQLITE_OK && pPg->pgno>pPager->dbSize && subjRequiresPage(pPg)
41771 if( rc==SQLITE_OK ){
41778 if( rc==SQLITE_OK ){
41811 ** successfully, SQLITE_OK is returned and *ppPager set to point to
41828 int rc = SQLITE_OK; /* Return code */
41886 if( rc==SQLITE_OK && nPathname+8>pVfs->mxPathname ){
41895 if( rc!=SQLITE_OK ){
41973 if( rc==SQLITE_OK && !readOnly ){
42016 if( rc==SQLITE_OK ){
42019 testcase( rc!=SQLITE_OK );
42025 if( rc!=SQLITE_OK ){
42086 return SQLITE_OK;
42106 ** just deleted using OsDelete, *pExists is set to 0 and SQLITE_OK
42117 ** SQLITE_OK returned. If no hot-journal file is present, *pExists is
42118 ** set to 0 and SQLITE_OK returned. If an IO error occurs while trying
42124 int rc = SQLITE_OK; /* Return code */
42140 if( rc==SQLITE_OK && exists ){
42152 if( rc==SQLITE_OK && !locked ){
42162 if( rc==SQLITE_OK ){
42165 if( pagerLockDb(pPager, RESERVED_LOCK)==SQLITE_OK ){
42181 if( rc==SQLITE_OK ){
42185 rc = SQLITE_OK;
42202 rc = SQLITE_OK;
42235 ** If everything is successful, SQLITE_OK is returned. If an IO error
42240 int rc = SQLITE_OK; /* Return code */
42260 if( rc!=SQLITE_OK ){
42272 if( rc!=SQLITE_OK ){
42292 if( rc!=SQLITE_OK ){
42314 if( rc==SQLITE_OK && bExists ){
42319 assert( rc!=SQLITE_OK || isOpen(pPager->jfd) );
42320 if( rc==SQLITE_OK && fout&SQLITE_OPEN_READONLY ){
42336 assert( rc==SQLITE_OK );
42338 if( rc==SQLITE_OK ){
42346 if( rc!=SQLITE_OK ){
42401 if( rc!=SQLITE_OK ){
42418 assert( pPager->pWal==0 || rc==SQLITE_OK );
42423 assert( rc==SQLITE_OK );
42427 if( pPager->eState==PAGER_OPEN && rc==SQLITE_OK ){
42432 if( rc!=SQLITE_OK ){
42459 ** successfully obtained, it is copied to *ppPage and SQLITE_OK returned.
42524 if( pPager->errCode!=SQLITE_OK ){
42530 if( rc!=SQLITE_OK ){
42545 return SQLITE_OK;
42588 if( rc!=SQLITE_OK ){
42595 return SQLITE_OK;
42598 assert( rc!=SQLITE_OK );
42663 ** Return SQLITE_OK if everything is successful. Otherwise, return
42668 int rc = SQLITE_OK; /* Return code */
42705 assert( rc!=SQLITE_OK || isOpen(pPager->jfd) );
42712 if( rc==SQLITE_OK ){
42722 if( rc!=SQLITE_OK ){
42751 int rc = SQLITE_OK;
42766 if( rc!=SQLITE_OK ){
42785 if( rc==SQLITE_OK && exFlag ){
42790 if( rc==SQLITE_OK ){
42807 assert( rc==SQLITE_OK || pPager->eState==PAGER_READER );
42808 assert( rc!=SQLITE_OK || pPager->eState==PAGER_WRITER_LOCKED );
42826 int rc = SQLITE_OK;
42859 if( rc!=SQLITE_OK ) return rc;
42902 if( rc!=SQLITE_OK ) return rc;
42904 if( rc!=SQLITE_OK ) return rc;
42906 if( rc!=SQLITE_OK ) return rc;
42920 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
42922 if( rc!=SQLITE_OK ){
42958 ** this routine returns SQLITE_OK.
42966 ** as appropriate. Otherwise, SQLITE_OK.
42969 int rc = SQLITE_OK;
43012 for(ii=0; ii<nPage && rc==SQLITE_OK; ii++){
43018 if( rc==SQLITE_OK ){
43040 if( rc==SQLITE_OK && needSync ){
43117 int rc = SQLITE_OK;
43149 assert( pPgHdr==0 || rc==SQLITE_OK );
43154 ** above is always successful - hence the ALWAYS on rc==SQLITE_OK.
43156 if( !DIRECT_MODE && ALWAYS(rc==SQLITE_OK) ){
43160 if( rc==SQLITE_OK ){
43169 if( rc==SQLITE_OK ){
43172 if( rc==SQLITE_OK ){
43191 ** function returns SQLITE_OK. Otherwise, an IO error code is returned.
43194 int rc = SQLITE_OK;
43212 ** successful, or the connection is in WAL mode, SQLITE_OK is returned.
43217 int rc = SQLITE_OK;
43260 int rc = SQLITE_OK; /* Return code */
43276 if( pPager->eState<PAGER_WRITER_CACHEMOD ) return SQLITE_OK;
43295 assert( rc==SQLITE_OK );
43302 if( rc==SQLITE_OK ){
43349 if( rc==SQLITE_OK ){
43356 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
43380 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
43383 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
43395 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
43409 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
43412 if( rc!=SQLITE_OK ){
43425 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
43437 if( rc==SQLITE_OK && !pagerUseWal(pPager) ){
43457 ** moves into the error state. Otherwise, SQLITE_OK is returned.
43460 int rc = SQLITE_OK; /* Return code */
43490 return SQLITE_OK;
43525 int rc = SQLITE_OK; /* Return code */
43534 if( pPager->eState<=PAGER_READER ) return SQLITE_OK;
43540 if( rc==SQLITE_OK ) rc = rc2;
43557 assert( pPager->eState==PAGER_READER || rc!=SQLITE_OK );
43558 assert( rc==SQLITE_OK || rc==SQLITE_FULL || (rc&0xFF)==SQLITE_IOERR );
43636 ** returned. Otherwise, SQLITE_OK.
43639 int rc = SQLITE_OK; /* Return code */
43715 ** savepoint. If no errors occur, SQLITE_OK is returned.
43723 if( rc==SQLITE_OK && iSavepoint<pPager->nSavepoint ){
43744 assert( rc==SQLITE_OK );
43849 ** occurs. Otherwise, it returns SQLITE_OK.
43891 && SQLITE_OK!=(rc = subjournalPage(pPg))
43963 if( rc!=SQLITE_OK ){
43975 return SQLITE_OK;
44104 int rc = SQLITE_OK;
44111 assert( rc==SQLITE_OK );
44114 if( rc==SQLITE_OK ){
44117 if( rc==SQLITE_OK && state==PAGER_READER ){
44183 int rc = SQLITE_OK;
44216 if( rc!=SQLITE_OK ){
44232 int rc = SQLITE_OK;
44249 if( rc==SQLITE_OK ){
44267 ** return SQLITE_OK. If an error occurs or the VFS used by the pager does
44272 ** the WAL file is already open, set *pbOpen to 1 and return SQLITE_OK
44279 int rc = SQLITE_OK; /* Return code */
44294 if( rc==SQLITE_OK ){
44315 int rc = SQLITE_OK;
44326 if( rc==SQLITE_OK ){
44331 if( rc==SQLITE_OK && logexists ){
44339 if( rc==SQLITE_OK && pPager->pWal ){
44341 if( rc==SQLITE_OK ){
44878 ** page and SQLITE_OK is returned. If an error (an OOM or VFS error) occurs,
44882 int rc = SQLITE_OK;
44910 rc = SQLITE_OK;
44916 assert( iPage==0 || *ppPage || rc!=SQLITE_OK );
45140 if( pWal->exclusiveMode ) return SQLITE_OK;
45145 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
45156 if( pWal->exclusiveMode ) return SQLITE_OK;
45161 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
45211 assert( rc==SQLITE_OK || iHash>0 );
45213 if( rc==SQLITE_OK ){
45345 if( rc==SQLITE_OK ){
45451 if( rc!=SQLITE_OK ){
45468 if( rc!=SQLITE_OK ){
45527 if( rc!=SQLITE_OK ) break;
45531 if( rc!=SQLITE_OK ) break;
45549 if( rc==SQLITE_OK ){
45571 sqlite3_log(SQLITE_OK, "Recovered %d frames from WAL file %s",
45609 ** If the log file is successfully opened, SQLITE_OK is returned and
45658 if( rc==SQLITE_OK && flags&SQLITE_OPEN_READONLY ){
45662 if( rc!=SQLITE_OK ){
45869 ** return SQLITE_OK. Otherwise, return an error code. If this routine
45882 int rc = SQLITE_OK; /* Return Code */
45912 for(i=0; rc==SQLITE_OK && i<nSegment; i++){
45918 if( rc==SQLITE_OK ){
45944 if( rc!=SQLITE_OK ){
46033 if( pInfo->nBackfill>=pWal->hdr.mxFrame ) return SQLITE_OK;
46037 if( rc!=SQLITE_OK ){
46056 if( rc==SQLITE_OK ){
46069 && (rc = walBusyLock(pWal, xBusy, pBusyArg, WAL_READ_LOCK(0), 1))==SQLITE_OK
46082 if( rc==SQLITE_OK ){
46085 if( rc==SQLITE_OK && nSize<nReq ){
46091 while( rc==SQLITE_OK && 0==walIteratorNext(pIter, &iDbpage, &iFrame) ){
46098 if( rc!=SQLITE_OK ) break;
46102 if( rc!=SQLITE_OK ) break;
46106 if( rc==SQLITE_OK ){
46111 if( rc==SQLITE_OK && sync_flags ){
46115 if( rc==SQLITE_OK ){
46127 rc = SQLITE_OK;
46135 if( rc==SQLITE_OK && eMode!=SQLITE_CHECKPOINT_PASSIVE ){
46142 if( rc==SQLITE_OK ){
46162 int rc = SQLITE_OK;
46175 if( rc==SQLITE_OK ){
46184 if( rc==SQLITE_OK && bPersistWal!=1 ){
46273 ** If the wal-index header is successfully read, return SQLITE_OK.
46286 if( rc!=SQLITE_OK ){
46304 if( SQLITE_OK==(rc = walLockShared(pWal, WAL_WRITE_LOCK)) ){
46308 }else if( SQLITE_OK==(rc = walLockExclusive(pWal, WAL_WRITE_LOCK, 1)) ){
46310 if( SQLITE_OK==(rc = walIndexPage(pWal, 0, &page0)) ){
46348 ** On success return SQLITE_OK. On a permanent failure (such an
46398 int rc = SQLITE_OK; /* Return code */
46449 }else if( SQLITE_OK==(rc = walLockShared(pWal, WAL_RECOVER_LOCK)) ){
46456 if( rc!=SQLITE_OK ){
46468 if( rc==SQLITE_OK ){
46487 return SQLITE_OK;
46515 if( rc==SQLITE_OK ){
46592 testcase( rc==SQLITE_OK );
46638 return SQLITE_OK;
46675 if( rc!=SQLITE_OK ){
46725 return SQLITE_OK;
46795 return SQLITE_OK;
46804 ** other than SQLITE_OK, it is not invoked again and the error code is
46808 ** function returns SQLITE_OK.
46811 int rc = SQLITE_OK;
46822 ALWAYS(rc==SQLITE_OK) && iFrame<=iMax;
46841 assert( rc==SQLITE_OK );
46866 int rc = SQLITE_OK;
46898 ** SQLITE_OK is returned if no error is encountered (regardless of whether
46903 int rc = SQLITE_OK;
46913 if( rc==SQLITE_OK ){
46935 if( rx==SQLITE_OK && (sz > pWal->mxWalSize) ){
46967 testcase( rc==SQLITE_OK );
47004 if( SQLITE_OK!=(rc = walRestartLog(pWal)) ){
47034 if( rc!=SQLITE_OK ){
47058 if( rc!=SQLITE_OK ){
47064 if( rc!=SQLITE_OK ){
47089 if( rc!=SQLITE_OK ){
47094 if( rc!=SQLITE_OK ){
47110 for(p=pList; p && rc==SQLITE_OK; p=p->pDirty){
47114 while( nLast>0 && rc==SQLITE_OK ){
47120 if( rc==SQLITE_OK ){
47191 if( rc==SQLITE_OK ){
47195 rc = SQLITE_OK;
47200 if( rc==SQLITE_OK ){
47205 if( rc==SQLITE_OK ){
47213 if( rc==SQLITE_OK || rc==SQLITE_BUSY ){
47234 return (rc==SQLITE_OK && eMode!=eMode2 ? SQLITE_BUSY : rc);
47292 if( walLockShared(pWal, WAL_READ_LOCK(pWal->readLock))!=SQLITE_OK ){
48070 if( sqlite3_mutex_try(p->pBt->mutex)==SQLITE_OK ){
48331 return SQLITE_OK;
48347 #define querySharedCacheTableLock(a,b,c) SQLITE_OK
48348 #define setSharedCacheTableLock(a,b,c) SQLITE_OK
48478 ** SQLITE_OK if the lock may be obtained (by calling
48499 return SQLITE_OK;
48531 return SQLITE_OK;
48548 ** already been called and returned SQLITE_OK).
48550 ** SQLITE_OK is returned if the lock is added successfully. SQLITE_NOMEM
48571 assert( SQLITE_OK==querySharedCacheTableLock(p, iTable, eLock) );
48604 return SQLITE_OK;
48785 int rc = SQLITE_OK;
48793 if( rc==SQLITE_OK && pgno<=sqlite3BitvecSize(pBt->pHasContent) ){
48835 assert( rc==SQLITE_OK ); /* KeySize() cannot fail */
48847 if( rc==SQLITE_OK ){
48858 if( rc==SQLITE_OK ){
48885 if( SQLITE_OK!=rc ){
48890 return SQLITE_OK;
48953 if( rc==SQLITE_OK ){
48964 SQLITE_OK)
48987 return SQLITE_OK;
49020 ** If *pRC is initially non-zero (non-SQLITE_OK) then this routine is
49044 if( rc!=SQLITE_OK ){
49059 if( rc==SQLITE_OK ){
49074 ** An error code is returned if something goes wrong, otherwise SQLITE_OK.
49104 return SQLITE_OK;
49109 #define ptrmapGet(w,x,y,z) SQLITE_OK
49399 return SQLITE_OK;
49405 ** of the first byte of allocated space. Return either SQLITE_OK or
49476 return SQLITE_OK;
49503 return SQLITE_OK;
49592 return SQLITE_OK;
49629 return SQLITE_OK;
49635 ** Return SQLITE_OK on success. If we see that the page does
49637 ** SQLITE_CORRUPT. Note that a return of SQLITE_OK does not
49744 return SQLITE_OK;
49820 return SQLITE_OK;
49871 if( rc==SQLITE_OK ){
49873 if( rc!=SQLITE_OK ){
49971 int rc = SQLITE_OK; /* Result code from this function */
50093 if( rc==SQLITE_OK ){
50096 if( rc!=SQLITE_OK ){
50197 if( rc!=SQLITE_OK ){
50333 return SQLITE_OK;
50357 return SQLITE_OK;
50381 return SQLITE_OK;
50421 int rc = SQLITE_OK;
50510 int rc = SQLITE_OK;
50550 ** SQLITE_OK is returned on success. If the file is not a
50565 if( rc!=SQLITE_OK ) return rc;
50567 if( rc!=SQLITE_OK ) return rc;
50603 ** return SQLITE_OK and return without populating BtShared.pPage1.
50612 if( rc!=SQLITE_OK ){
50616 return SQLITE_OK;
50643 ** zero and return SQLITE_OK. The caller will call this function
50689 return SQLITE_OK;
50729 return SQLITE_OK;
50758 return SQLITE_OK;
50799 int rc = SQLITE_OK;
50845 if( SQLITE_OK!=rc ) goto trans_begun;
50850 ** lockBtree() returns something other than SQLITE_OK. lockBtree()
50851 ** may return SQLITE_OK but leave pBt->pPage1 set to 0 if after
50856 while( pBt->pPage1==0 && SQLITE_OK==(rc = lockBtree(pBt)) );
50858 if( rc==SQLITE_OK && wrflag ){
50863 if( rc==SQLITE_OK ){
50869 if( rc!=SQLITE_OK ){
50875 if( rc==SQLITE_OK ){
50907 if( rc==SQLITE_OK ){
50916 if( rc==SQLITE_OK && wrflag ){
50946 if( rc!=SQLITE_OK ){
51033 return SQLITE_OK;
51068 if( rc!=SQLITE_OK ){
51083 if( rc!=SQLITE_OK ){
51090 if( rc!=SQLITE_OK ){
51102 if( rc!=SQLITE_OK ){
51106 if( rc!=SQLITE_OK ){
51112 if( rc==SQLITE_OK ){
51124 ** return SQLITE_OK. If there is no work to do (and therefore no
51157 if( rc!=SQLITE_OK ){
51174 if( rc!=SQLITE_OK ){
51185 if( rc!=SQLITE_OK ){
51199 if( rc!=SQLITE_OK ){
51208 if( rc==SQLITE_OK ){
51212 if( rc!=SQLITE_OK ){
51224 if( rc!=SQLITE_OK ){
51229 if( rc!=SQLITE_OK ){
51238 return SQLITE_OK;
51247 ** SQLITE_OK is returned. Otherwise an SQLite error code.
51260 if( rc==SQLITE_OK ){
51273 ** If SQLITE_OK is returned, then *pnTrunc is set to the number of pages
51279 int rc = SQLITE_OK;
51315 for(iFree=nOrig; iFree>nFin && rc==SQLITE_OK; iFree--){
51318 if( (rc==SQLITE_DONE || rc==SQLITE_OK) && nFree>0 ){
51326 if( rc!=SQLITE_OK ){
51336 # define setChildPtrmaps(x) SQLITE_OK
51366 int rc = SQLITE_OK;
51373 if( rc!=SQLITE_OK ){
51450 if( p->inTrans==TRANS_NONE ) return SQLITE_OK;
51463 if( rc!=SQLITE_OK && bCleanup==0 ){
51472 return SQLITE_OK;
51482 if( rc==SQLITE_OK ){
51560 if( rc!=SQLITE_OK ){
51578 if( rc2!=SQLITE_OK ){
51585 if( btreeGetPage(pBt, 1, &pPage1, 0)==SQLITE_OK ){
51652 int rc = SQLITE_OK;
51659 if( rc==SQLITE_OK ){
51753 return SQLITE_OK;
51850 return SQLITE_OK;
51923 ** This routine cannot fail. It always returns SQLITE_OK.
51934 return SQLITE_OK;
51945 ** Failure is not possible. This function always returns SQLITE_OK.
51954 return SQLITE_OK;
51984 int rc = SQLITE_OK;
52007 if( rc==SQLITE_OK && eType==PTRMAP_OVERFLOW2 && pgno==ovfl ){
52016 if( rc==SQLITE_OK ){
52018 assert( rc==SQLITE_OK || pPage==0 );
52019 if( rc==SQLITE_OK ){
52030 return (rc==SQLITE_DONE ? SQLITE_OK : rc);
52042 ** SQLITE_OK is returned on success, otherwise an error code.
52054 if( rc!=SQLITE_OK ){
52062 return SQLITE_OK;
52101 int rc = SQLITE_OK;
52137 if( rc==SQLITE_OK && amt>0 ){
52172 for( ; rc==SQLITE_OK && amt>0 && nextPage; iIdx++){
52203 if( rc==SQLITE_OK ){
52219 if( rc==SQLITE_OK && amt>0 ){
52233 ** Return SQLITE_OK on success or an error code if anything goes
52250 ** Return SQLITE_OK on success or an error code if anything goes
52265 if( rc==SQLITE_OK ){
52397 return SQLITE_OK;
52467 int rc = SQLITE_OK;
52477 assert( pCur->skipNext!=SQLITE_OK );
52491 return SQLITE_OK;
52494 if( rc!=SQLITE_OK ){
52546 int rc = SQLITE_OK;
52551 while( rc==SQLITE_OK && !(pPage = pCur->apPage[pCur->iPage])->leaf ){
52571 int rc = SQLITE_OK;
52576 while( rc==SQLITE_OK && !(pPage = pCur->apPage[pCur->iPage])->leaf ){
52581 if( rc==SQLITE_OK ){
52589 /* Move the cursor to the first entry in the table. Return SQLITE_OK
52599 if( rc==SQLITE_OK ){
52612 /* Move the cursor to the last entry in the table. Return SQLITE_OK
52634 return SQLITE_OK;
52638 if( rc==SQLITE_OK ){
52646 pCur->atLast = rc==SQLITE_OK ?1:0;
52701 return SQLITE_OK;
52705 return SQLITE_OK;
52719 return SQLITE_OK;
52817 rc = SQLITE_OK;
52843 rc = SQLITE_OK;
52885 if( rc!=SQLITE_OK ){
52891 return SQLITE_OK;
52896 return SQLITE_OK;
52919 return SQLITE_OK;
52928 rc = SQLITE_OK;
52934 return SQLITE_OK;
52953 if( rc!=SQLITE_OK ){
52959 return SQLITE_OK;
52964 return SQLITE_OK;
52982 return SQLITE_OK;
52994 rc = SQLITE_OK;
53009 ** SQLITE_OK is returned on success. Any other return value indicates
53133 if( rc!=SQLITE_OK ){
53151 if( rc!=SQLITE_OK ){
53155 if( rc!=SQLITE_OK ){
53219 if( rc==SQLITE_OK ){
53221 if( rc!=SQLITE_OK ){
53249 if( rc==SQLITE_OK ){
53265 if( rc!=SQLITE_OK ){
53276 if( rc==SQLITE_OK ){
53285 assert( rc!=SQLITE_OK || sqlite3PagerIswriteable((*ppPage)->pDbPage) );
53358 if( rc!=SQLITE_OK ){
53384 if( rc==SQLITE_OK ){
53403 if( pPage==0 && SQLITE_OK!=(rc = btreeGetPage(pBt, iPage, &pPage, 0)) ){
53407 if( rc!=SQLITE_OK ){
53424 if( (*pRC)==SQLITE_OK ){
53443 return SQLITE_OK; /* No overflow pages. Return without doing anything */
53491 return SQLITE_OK;
53593 if( pBt->autoVacuum && rc==SQLITE_OK ){
53653 return SQLITE_OK;
53767 if( rc!=SQLITE_OK ){
53909 if( rc==SQLITE_OK ){
54031 if( (*pRC)==SQLITE_OK ){
54057 if( rc!=SQLITE_OK ){
54124 int rc = SQLITE_OK; /* The return code */
54446 if( rc!=SQLITE_OK ){
54568 if( rc!=SQLITE_OK ) goto balance_cleanup;
54744 ** page and SQLITE_OK is returned. In this case the caller is required
54762 if( rc==SQLITE_OK ){
54789 return SQLITE_OK;
54803 int rc = SQLITE_OK;
54824 if( rc==SQLITE_OK ){
54840 if( rc==SQLITE_OK ){
54906 }while( rc==SQLITE_OK );
54956 assert( pCur->skipNext!=SQLITE_OK );
55035 assert( rc!=SQLITE_OK || pPage->nCell>0 || pPage->nOverflow>0 );
55059 if( rc==SQLITE_OK && pPage->nOverflow ){
55178 if( rc==SQLITE_OK && pCur->iPage>iCellDepth ){
55185 if( rc==SQLITE_OK ){
55251 if( rc!=SQLITE_OK ){
55269 if( rc!=SQLITE_OK ){
55276 if( rc!=SQLITE_OK ){
55286 if( rc!=SQLITE_OK ){
55290 if( rc!=SQLITE_OK ){
55294 if( rc!=SQLITE_OK ){
55335 return SQLITE_OK;
55419 if( SQLITE_OK==rc ){
55492 if( rc!=SQLITE_OK ){
55503 if( rc!=SQLITE_OK ){
55508 if( rc!=SQLITE_OK ){
55515 if( rc!=SQLITE_OK ){
55576 assert( SQLITE_OK==querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK) );
55605 if( rc==SQLITE_OK ){
55624 ** SQLITE_OK is returned if the operation is successfully executed.
55634 return SQLITE_OK;
55641 while( rc==SQLITE_OK ){
55661 ** If all pages in the tree have been visited, return SQLITE_OK to the
55669 return SQLITE_OK;
55771 if( rc!=SQLITE_OK ){
56247 int rc = SQLITE_OK;
56311 ** sqlite_master table. Otherwise SQLITE_OK.
56318 assert( rc==SQLITE_OK || rc==SQLITE_LOCKED_SHAREDCACHE );
56331 int rc = SQLITE_OK;
56340 if( rc==SQLITE_OK ){
56367 if( rc!=SQLITE_OK ){
56428 if( rc==SQLITE_OK ){
56432 if( rc==SQLITE_OK ){
56434 if( rc==SQLITE_OK ){
56653 return (rc!=SQLITE_OK && rc!=SQLITE_BUSY && ALWAYS(rc!=SQLITE_LOCKED));
56672 int rc = SQLITE_OK;
56703 if( rc==SQLITE_OK && newPgsz!=nSrcPgsz ) rc = SQLITE_READONLY;
56711 for(iOff=iEnd-(i64)nSrcPgsz; rc==SQLITE_OK && iOff<iEnd; iOff+=nDestPgsz){
56715 if( SQLITE_OK==(rc = sqlite3PagerGet(pDestPager, iDest, &pDestPg))
56716 && SQLITE_OK==(rc = sqlite3PagerWrite(pDestPg))
56743 ** Return SQLITE_OK if everything is successful, or an SQLite error
56749 if( rc==SQLITE_OK && iCurrent>iSize ){
56797 rc = SQLITE_OK;
56801 if( SQLITE_OK==rc && p->bDestLocked==0
56802 && SQLITE_OK==(rc = sqlite3BtreeBeginTrans(p->pDest, 2))
56812 if( rc==SQLITE_OK && 0==sqlite3BtreeIsInReadTrans(p->pSrc) ){
56822 if( SQLITE_OK==rc && destMode==PAGER_JOURNALMODE_WAL && pgszSrc!=pgszDest ){
56836 if( rc==SQLITE_OK ){
56843 if( rc==SQLITE_OK ){
56860 if( rc==SQLITE_OK ){
56868 if( rc==SQLITE_OK ){
56928 rc==SQLITE_OK && iOff<iEnd;
56934 if( rc==SQLITE_OK ){
56940 if( rc==SQLITE_OK ){
56945 if( rc==SQLITE_OK ){
56953 if( SQLITE_OK==rc
56954 && SQLITE_OK==(rc = sqlite3BtreeCommitPhaseTwo(p->pDest, 0))
56970 assert( rc2==SQLITE_OK );
56995 if( p==0 ) return SQLITE_OK;
57019 rc = (p->rc==SQLITE_DONE) ? SQLITE_OK : p->rc;
57080 if( rc!=SQLITE_OK ){
57140 assert( b.rc!=SQLITE_OK );
57142 if( rc==SQLITE_OK ){
57187 ** SQLITE_OK is returned if the conversion is successful (or not required).
57197 return SQLITE_OK;
57204 /* MemTranslate() may return SQLITE_OK or SQLITE_NOMEM. If NOMEM is returned,
57208 assert(rc==SQLITE_OK || rc==SQLITE_NOMEM);
57209 assert(rc==SQLITE_OK || pMem->enc!=desiredEnc);
57262 return (pMem->z ? SQLITE_OK : SQLITE_NOMEM);
57271 ** Return SQLITE_OK on success or SQLITE_NOMEM if malloc fails.
57291 return SQLITE_OK;
57319 return SQLITE_OK;
57330 return SQLITE_OK; /* Nothing to do */
57338 return SQLITE_OK;
57355 int rc = SQLITE_OK;
57395 ** Return SQLITE_ERROR if the finalizer reports an error. SQLITE_OK
57399 int rc = SQLITE_OK;
57589 return SQLITE_OK;
57602 return SQLITE_OK;
57627 return SQLITE_OK;
57783 int rc = SQLITE_OK;
57850 return SQLITE_OK;
57911 return SQLITE_OK;
58054 int rc = SQLITE_OK; /* Return code */
58072 }else if( SQLITE_OK==(rc = sqlite3VdbeMemGrow(pMem, amt+2, 0)) ){
58083 if( rc!=SQLITE_OK ){
58119 if( sqlite3VdbeMemMakeWriteable(pVal)!=SQLITE_OK ){
58176 return SQLITE_OK;
58223 if( SQLITE_OK==sqlite3ValueFromExpr(db,pExpr->pLeft,enc,affinity,&pVal) ){
58258 return SQLITE_OK;
58424 return (pNew ? SQLITE_OK : SQLITE_NOMEM);
59449 int rc = SQLITE_OK; /* Return code */
59454 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY || p->rc==SQLITE_NOMEM );
59499 p->rc = SQLITE_OK;
59547 if( j==nSub && SQLITE_OK==sqlite3VdbeMemGrow(pSub, nByte, 1) ){
59615 p->rc = SQLITE_OK;
59733 p->rc = SQLITE_OK;
60039 int rc = SQLITE_OK;
60044 ** SQLITE_OK so p is not used.
60063 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
60071 if( rc!=SQLITE_OK ){
60095 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
60107 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
60113 if( rc==SQLITE_OK ){
60143 }while( rc==SQLITE_OK && res );
60144 if( rc==SQLITE_OK ){
60151 if( rc!=SQLITE_OK ){
60175 if( rc!=SQLITE_OK ){
60189 && SQLITE_OK!=(rc = sqlite3OsSync(pMaster, SQLITE_SYNC_NORMAL))
60207 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
60215 if( rc!=SQLITE_OK ){
60319 ** Otherwise SQLITE_OK.
60323 int rc = SQLITE_OK;
60339 int rc2 = SQLITE_OK;
60345 if( rc2==SQLITE_OK ){
60348 if( rc==SQLITE_OK ){
60356 if( rc==SQLITE_OK ){
60360 if( rc==SQLITE_OK ){
60379 ** violations, return SQLITE_ERROR. Otherwise, SQLITE_OK.
60394 return SQLITE_OK;
60436 return SQLITE_OK;
60483 if( p->rc==SQLITE_OK ){
60497 if( p->rc==SQLITE_OK || (p->errorAction==OE_Fail && !isSpecialError) ){
60499 if( rc!=SQLITE_OK ){
60515 }else if( rc!=SQLITE_OK ){
60527 if( p->rc==SQLITE_OK || p->errorAction==OE_Fail ){
60542 ** error code is SQLITE_OK or SQLITE_CONSTRAINT, then promote the
60548 if( p->rc==SQLITE_OK || p->rc==SQLITE_CONSTRAINT ){
60573 if( p->rc!=SQLITE_OK && db->flags&SQLITE_InternChanges ){
60605 return (p->rc==SQLITE_BUSY ? SQLITE_BUSY : SQLITE_OK);
60611 ** in p->rc. This routine sets that result back to SQLITE_OK.
60614 p->rc = SQLITE_OK;
60654 sqlite3Error(db, SQLITE_OK, 0);
60705 int rc = SQLITE_OK;
60820 return SQLITE_OK;
61349 ** Return SQLITE_OK if everything works, or an error code otherwise.
61371 assert( rc==SQLITE_OK ); /* pCur is always valid so KeySize cannot fail */
61413 return SQLITE_OK;
61427 ** or greater than pUnpacked. Return SQLITE_OK on success.
61446 assert( rc==SQLITE_OK ); /* pCur is always valid so KeySize cannot fail */
61461 return SQLITE_OK;
61614 rc = SQLITE_OK;
61644 rc = SQLITE_OK;
61662 int rc = SQLITE_OK;
61860 int rc = SQLITE_OK;
61867 if( db->xWalCallback && nEntry>0 && rc==SQLITE_OK ){
61973 assert( p->rc==SQLITE_OK );
61975 if( p->rc!=SQLITE_OK ){
62020 int rc = SQLITE_OK; /* Result from sqlite3Step() */
62021 int rc2 = SQLITE_OK; /* Result from sqlite3Reprepare() */
62033 && (rc2 = rc = sqlite3Reprepare(v))==SQLITE_OK ){
62037 if( rc2!=SQLITE_OK && ALWAYS(v->isPrepareV2) && ALWAYS(db->pErr) ){
62524 ** out of range, then SQLITE_RANGE is returned. Othewise SQLITE_OK.
62554 sqlite3Error(p->db, SQLITE_OK, 0);
62570 return SQLITE_OK;
62589 if( rc==SQLITE_OK ){
62593 if( rc==SQLITE_OK && encoding!=0 ){
62623 if( rc==SQLITE_OK ){
62636 if( rc==SQLITE_OK ){
62646 if( rc==SQLITE_OK ){
62706 if( rc==SQLITE_OK ){
62774 return SQLITE_OK;
62788 ** SQLITE_OK is returned.
63240 if( SQLITE_OK==sqlite3VdbeMemGrow(pMem, nByte, 0) ){
63654 int rc = SQLITE_OK; /* Value to return */
64102 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY );
64103 p->rc = SQLITE_OK;
64124 for(pc=p->pc; rc==SQLITE_OK; pc++){
64339 ** or sqlite3_finalize(). For a normal halt, this should be SQLITE_OK (0).
64353 if( pOp->p1==SQLITE_OK && p->pFrame ){
64378 assert( p->rc!=SQLITE_OK );
64387 assert( rc==SQLITE_BUSY || rc==SQLITE_OK || rc==SQLITE_ERROR );
64391 assert( rc==SQLITE_OK || p->rc==SQLITE_CONSTRAINT );
64392 assert( rc==SQLITE_OK || db->nDeferredCons>0 );
64446 if( SQLITE_OK!=sqlite3VdbeChangeEncoding(pOut, encoding) ) goto no_mem;
64631 if( SQLITE_OK!=(rc = sqlite3VdbeCheckFk(p, 0)) ){
64654 if( NEVER(rc!=SQLITE_OK) ){
65722 assert( rc==SQLITE_OK ); /* True because of CursorMoveto() call above */
65731 assert( rc==SQLITE_OK ); /* DataSize() cannot fail */
65840 if( rc!=SQLITE_OK ){
65902 assert( rc==SQLITE_OK );
65910 if( rc!=SQLITE_OK ){
66181 if( rc!=SQLITE_OK ) goto abort_due_to_error;
66240 if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){
66256 if( rc!=SQLITE_OK ){
66293 if( rc!=SQLITE_OK ) goto abort_due_to_error;
66344 }else if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){
66357 if( p->rc==SQLITE_OK ){
66421 if( rc!=SQLITE_OK ){
66436 if( rc==SQLITE_OK ){
66700 ** sqlite3BtreeCursor() may return is SQLITE_OK. */
66701 assert( rc==SQLITE_OK );
66760 if( rc==SQLITE_OK ){
66763 if( rc==SQLITE_OK ){
66773 if( rc==SQLITE_OK ){
66963 if( rc!=SQLITE_OK ) goto abort_due_to_error;
66968 if( rc!=SQLITE_OK ) goto abort_due_to_error;
66985 if( rc!=SQLITE_OK ){
67018 if( rc!=SQLITE_OK ){
67031 if( rc!=SQLITE_OK ) goto abort_due_to_error;
67040 if( rc!=SQLITE_OK ) goto abort_due_to_error;
67164 if( rc!=SQLITE_OK ){
67399 if( rc!=SQLITE_OK ){
67407 assert( rc==SQLITE_OK ); /* Cannot fail following BtreeLast() */
67462 0, &u.bf.res))==SQLITE_OK)
67475 if( rc==SQLITE_OK && u.bf.res==0 ){
67592 if( rc==SQLITE_OK && db->xUpdateCallback && pOp->p4.z ){
67653 if( NEVER(rc!=SQLITE_OK) ) goto abort_due_to_error;
67660 if( rc==SQLITE_OK && db->xUpdateCallback && pOp->p4.z ){
67778 if( NEVER(rc!=SQLITE_OK) ) goto abort_due_to_error;
67783 assert( rc==SQLITE_OK ); /* True because of CursorMoveto() call above */
67790 assert( rc==SQLITE_OK ); /* DataSize() cannot fail */
67852 assert( rc==SQLITE_OK ); /* Always so because of CursorMoveto() above */
68089 if( rc==SQLITE_OK ){
68135 if( rc==SQLITE_OK && u.br.res==0 ){
68171 if( rc!=SQLITE_OK ){
68297 if( rc==SQLITE_OK && u.bu.iMoved!=0 ){
68435 u.bx.initData.rc = SQLITE_OK;
68438 if( rc==SQLITE_OK ) rc = u.bx.initData.rc;
69049 rc = SQLITE_OK;
69129 if( rc==SQLITE_OK ){
69142 if( rc==SQLITE_OK ){
69195 rc = SQLITE_OK;
69320 if( SQLITE_OK==rc ){
69400 if( rc==SQLITE_OK ){
69508 if( rc==SQLITE_OK ){
69604 if( rc==SQLITE_OK && pOp->p1 ){
69610 rc = SQLITE_OK;
69846 ** If successful, SQLITE_OK is returned and subsequent calls to
69893 rc = SQLITE_OK;
69897 if( rc==SQLITE_OK ){
69905 assert( rc!=SQLITE_OK || zErr==0 );
69960 int rc = SQLITE_OK;
70126 if( rc==SQLITE_OK && db->mallocFailed==0 ){
70156 rc = SQLITE_OK;
70263 if( rc!=SQLITE_OK ){
70271 assert( rc==SQLITE_OK || p->pStmt==0 );
70428 ** Advance iterator pIter to the next key in its PMA. Return SQLITE_OK if
70449 return SQLITE_OK;
70453 if( rc==SQLITE_OK ){
70472 assert( rc!=SQLITE_OK || nRec>0 );
70481 ** SQLITE_OK if successful, or an SQLite error code if some error occurs.
70504 ** Read a single varint from file-descriptor pFile. Return SQLITE_OK if
70524 if( rc==SQLITE_OK ){
70560 if( rc==SQLITE_OK ){
70571 ** Otherwise, return SQLITE_OK and set *pRes to a negative, zero or positive
70657 return SQLITE_OK;
70687 return SQLITE_OK;
70727 ** set *ppFile to point to the malloc'd file-handle and return SQLITE_OK.
70774 ** Sort the linked list of records headed at pCsr->pRecord. Return SQLITE_OK
70808 return SQLITE_OK;
70814 ** SQLITE_OK if successful, or an SQLite error code otherwise.
70826 int rc = SQLITE_OK; /* Return code */
70837 if( rc==SQLITE_OK && pSorter->pTemp1==0 ){
70839 assert( rc!=SQLITE_OK || pSorter->pTemp1 );
70844 if( rc==SQLITE_OK ){
70852 for(p=pSorter->pRecord; rc==SQLITE_OK && p; p=pNext){
70856 if( rc==SQLITE_OK ){
70867 assert( rc!=SQLITE_OK || pSorter->nInMemory==(
70872 if( rc==SQLITE_OK ){
70892 int rc = SQLITE_OK; /* Return Code */
70918 if( rc==SQLITE_OK && pSorter->mxPmaSize>0 && (
70938 int rc = SQLITE_OK; /* Return code */
70947 assert( rc!=SQLITE_OK || pSorter->iReadOff<=pSorter->iWriteOff );
70948 if( rc!=SQLITE_OK || pSorter->iReadOff>=pSorter->iWriteOff ) break;
70952 for(i=pSorter->nTree-1; rc==SQLITE_OK && i>0; i--){
70986 if( rc!=SQLITE_OK ) return rc;
71003 rc==SQLITE_OK && iNew*SORTER_MAX_MERGE_COUNT<pSorter->nPMA;
71018 assert( rc!=SQLITE_OK || pSorter->aIter[ pSorter->aTree[1] ].pFile );
71019 if( rc!=SQLITE_OK || pSorter->nPMA<=SORTER_MAX_MERGE_COUNT ){
71029 if( rc==SQLITE_OK ){
71033 if( rc==SQLITE_OK ){
71035 while( rc==SQLITE_OK && bEof==0 ){
71042 if( rc==SQLITE_OK ){
71060 }while( rc==SQLITE_OK );
71081 for(i=(pSorter->nTree+iPrev)/2; rc==SQLITE_OK && i>0; i=i/2){
71092 rc = SQLITE_OK;
71133 return SQLITE_OK;
71156 return SQLITE_OK;
71213 int rc = SQLITE_OK;
71217 if( rc==SQLITE_OK ){
71237 return SQLITE_OK;
71249 int rc = SQLITE_OK;
71270 int rc = SQLITE_OK;
71275 if( rc==SQLITE_OK ){
71292 int rc = SQLITE_OK;
71311 rc = SQLITE_OK;
71320 int rc = SQLITE_OK;
71378 return SQLITE_OK;
71387 return SQLITE_OK;
71512 return SQLITE_OK;
71562 return SQLITE_OK;
71580 return SQLITE_OK;
71588 return SQLITE_OK;
71602 return SQLITE_OK;
71611 return SQLITE_OK;
72343 if( auth!=SQLITE_OK ){
73288 int rc = SQLITE_OK;
75863 v, OP_Halt, SQLITE_OK, OE_Ignore, 0, pExpr->u.zToken,0);
77216 if( SQLITE_OK!=isSystemTable(pParse, pTab->zName) ){
77219 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){ goto
77552 if( SQLITE_OK!=isSystemTable(pParse, pTab->zName) ){
78055 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
78244 if( rc==SQLITE_OK && !sqlite3FindTable(db, "sqlite_stat2", sInfo.zDatabase) ){
78247 if( rc==SQLITE_OK ){
78259 if( rc==SQLITE_OK ){
78363 int rc = SQLITE_OK;
78367 if( rc==SQLITE_OK && !sqlite3ExprIsConstant(pExpr) ){
78459 if( rc!=SQLITE_OK ){
78473 }else if( rc==SQLITE_OK ){
78490 if( rc==SQLITE_OK && aNew->zName==0 ){
78496 if( rc==SQLITE_OK ){
78532 if( rc==SQLITE_OK ){
78647 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pFilename)) ||
78648 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pDbname)) ||
78649 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pKey))
78664 if(rc!=SQLITE_OK ){
78945 ** should return either SQLITE_OK, SQLITE_DENY, or SQLITE_IGNORE. If
78946 ** SQLITE_OK is returned, it means that access is allowed. SQLITE_DENY
78965 return SQLITE_OK;
79004 }else if( rc!=SQLITE_IGNORE && rc!=SQLITE_OK ){
79072 ** either SQLITE_OK (zero) or SQLITE_IGNORE or SQLITE_DENY. If SQLITE_DENY
79090 return SQLITE_OK;
79094 return SQLITE_OK;
79100 }else if( rc!=SQLITE_OK && rc!=SQLITE_IGNORE ){
79441 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
79838 return SQLITE_OK;
79903 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
79943 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
81614 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
81699 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
82099 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
82627 if( rc!=SQLITE_OK ){
82860 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
83001 return SQLITE_OK;
83070 return SQLITE_OK;
83689 assert( rcauth==SQLITE_OK || rcauth==SQLITE_DENY || rcauth==SQLITE_IGNORE );
83749 if( rcauth==SQLITE_OK && pWhere==0 && !pTrigger && !IsVirtual(pTab)
85484 assert( rc==SQLITE_NOMEM || rc==SQLITE_OK );
88715 sqlite3VdbeAddOp2(v, OP_Halt, SQLITE_OK, 0);
88762 int rc = SQLITE_OK; /* Return code */
88773 sqlite3Error(db, SQLITE_OK, 0);
88774 while( (rc==SQLITE_OK || (rc==SQLITE_SCHEMA && (++nRetry)<2)) && zSql[0] ){
88780 assert( rc==SQLITE_OK || pStmt==0 );
88781 if( rc!=SQLITE_OK ){
88854 if( rc!=SQLITE_OK && ALWAYS(rc==sqlite3_errcode(db)) && pzErrMsg ){
89690 ** Return SQLITE_OK on success and SQLITE_ERROR if something goes wrong.
89774 return SQLITE_OK;
89815 return SQLITE_OK;
89865 int rc = SQLITE_OK;
89905 if( sqlite3_initialize()==SQLITE_OK )
90081 return SQLITE_OK;
90094 if( db->temp_store==ts ) return SQLITE_OK;
90095 if( invalidateTempStorage( pParse ) != SQLITE_OK ){
90099 return SQLITE_OK;
90586 if( rc==SQLITE_OK && (eAuto==1 || eAuto==2) ){
90596 { OP_Halt, SQLITE_OK, OE_Abort, 0}, /* 3 */
90709 if( rc!=SQLITE_OK || res==0 ){
90772 if( res!=SQLITE_OK ){
91418 SQLITE_FCNTL_LOCKSTATE, &j)==SQLITE_OK ){
91575 if( SQLITE_OK!=rc ){
91683 initData.rc = SQLITE_OK;
91702 return SQLITE_OK;
91711 if( rc!=SQLITE_OK ){
91818 if( rc==SQLITE_OK ) rc = initData.rc;
91821 if( rc==SQLITE_OK ){
91830 if( rc==SQLITE_OK || (db->flags&SQLITE_RecoveryMode)){
91840 rc = SQLITE_OK;
91875 rc = SQLITE_OK;
91877 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
91890 if( rc==SQLITE_OK && ALWAYS(db->nDb>1)
91900 if( rc==SQLITE_OK && commit_internal ){
91912 int rc = SQLITE_OK;
91918 if( rc!=SQLITE_OK ){
91952 if( rc!=SQLITE_OK ) return;
92019 int rc = SQLITE_OK; /* Result code */
92100 if( pParse->rc==SQLITE_DONE ) pParse->rc = SQLITE_OK;
92113 if( rc==SQLITE_OK && pParse->pVdbe && pParse->explain ){
92140 if( pParse->pVdbe && (rc!=SQLITE_OK || db->mallocFailed) ){
92198 ** If the statement is successfully recompiled, return SQLITE_OK. Otherwise,
92228 return SQLITE_OK;
92249 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
92261 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
92284 int rc = SQLITE_OK;
92329 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
92341 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
93587 ** Return SQLITE_OK on success. If a memory allocation error occurs,
93667 return SQLITE_OK;
93906 int rc = SQLITE_OK; /* Success code from a subroutine */
93993 testcase( rc!=SQLITE_OK );
94068 testcase( rc!=SQLITE_OK );
94152 testcase( rc!=SQLITE_OK );
94839 return SQLITE_OK;
95484 ** pFrom->pIndex and return SQLITE_OK.
95502 return SQLITE_OK;
96830 if( rc==SQLITE_OK && pDest->eDest==SRT_Output ){
97073 res.rc = SQLITE_OK;
97096 if( rc!=SQLITE_OK ){
97313 if( !zName || SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
97632 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
98016 if( SQLITE_OK==sqlite3ResolveExprNames(&sNC, pWhen)
98973 if( SQLITE_OK!=sqlite3_prepare(db, zSql, -1, &pStmt, 0) ){
98991 if( rc!=SQLITE_OK ) return rc;
98995 if( rc!=SQLITE_OK ){
99026 int rc = SQLITE_OK; /* Return code from service routines */
99087 if( rc!=SQLITE_OK ) goto end_of_vacuum;
99123 if( rc!=SQLITE_OK ){
99134 if( rc!=SQLITE_OK ) goto end_of_vacuum;
99144 if( rc!=SQLITE_OK ) goto end_of_vacuum;
99148 if( rc!=SQLITE_OK ) goto end_of_vacuum;
99152 if( rc!=SQLITE_OK ) goto end_of_vacuum;
99165 if( rc!=SQLITE_OK ) goto end_of_vacuum;
99173 if( rc!=SQLITE_OK ) goto end_of_vacuum;
99179 if( rc!=SQLITE_OK ) goto end_of_vacuum;
99230 if( NEVER(rc!=SQLITE_OK) ) goto end_of_vacuum;
99234 if( rc!=SQLITE_OK ) goto end_of_vacuum;
99236 if( rc!=SQLITE_OK ) goto end_of_vacuum;
99242 assert( rc==SQLITE_OK );
99344 rc = sqlite3ApiExit(db, SQLITE_OK);
99756 if( SQLITE_OK!=rc ){
99835 return SQLITE_OK;
99849 if( rc!=SQLITE_OK ){
99859 ** more v-table. Return SQLITE_NOMEM if a malloc fails, or SQLITE_OK otherwise.
99876 return SQLITE_OK;
99898 int rc = SQLITE_OK;
99922 ** create a valid sqlite3_vtab if it returns SQLITE_OK. */
99923 if( rc==SQLITE_OK && ALWAYS(sqlite3GetVTable(db, pTab)) ){
99925 if( rc==SQLITE_OK ){
99941 int rc = SQLITE_OK;
99961 if( SQLITE_OK==sqlite3RunParser(pParse, zCreateTable, &zErr)
100002 int rc = SQLITE_OK;
100009 assert( rc==SQLITE_OK );
100013 if( rc==SQLITE_OK ){
100055 ** SQLITE_OK if all xSync operations are successful.
100062 int rc = SQLITE_OK;
100066 for(i=0; rc==SQLITE_OK && i<db->nVTrans; i++){
100086 return SQLITE_OK;
100095 return SQLITE_OK;
100107 int rc = SQLITE_OK;
100119 return SQLITE_OK;
100129 return SQLITE_OK;
100136 if( rc==SQLITE_OK ){
100138 if( rc==SQLITE_OK ){
100156 ** If any virtual table method returns an error code other than SQLITE_OK,
100159 ** SQLITE_OK is returned.
100162 int rc = SQLITE_OK;
100168 for(i=0; rc==SQLITE_OK && i<db->nVTrans; i++){
100316 int rc = SQLITE_OK;
100338 if( rc!=SQLITE_OK ) sqlite3Error(db, rc, 0);
102597 if( rc!=SQLITE_OK ){
102793 ** and SQLITE_INDEX_SAMPLES+1, inclusive) and returns SQLITE_OK.
102884 return SQLITE_OK;
102902 ** If an error occurs, return an error code. Otherwise, SQLITE_OK.
102917 return SQLITE_OK;
102972 int rc = SQLITE_OK;
102992 if( rc==SQLITE_OK && pUpper ){
102999 if( rc!=SQLITE_OK || (pLowerVal==0 && pUpperVal==0) ){
103011 if( rc==SQLITE_OK ){
103051 ** Write the estimated row count into *pnRow and return SQLITE_OK.
103108 ** Write the estimated row count into *pnRow and return SQLITE_OK.
103126 int rc = SQLITE_OK; /* Subfunction return code */
103158 if( rc==SQLITE_OK ){
109645 pParse->rc = SQLITE_OK;
109693 if( pParse->rc!=SQLITE_OK ){
109701 if( zSql[i]==0 && nErr==0 && pParse->rc==SQLITE_OK ){
109718 if( pParse->rc!=SQLITE_OK && pParse->rc!=SQLITE_DONE && pParse->zErrMsg==0 ){
109765 if( nErr>0 && pParse->rc==SQLITE_OK ){
110258 if( rc!=SQLITE_OK ){
110268 if( sqlite3GlobalConfig.isInit ) return SQLITE_OK;
110293 if( rc==SQLITE_OK ){
110303 if( rc==SQLITE_OK ){
110308 /* If rc is not SQLITE_OK at this point, then either the malloc
110311 if( rc!=SQLITE_OK ){
110337 if( rc==SQLITE_OK ){
110341 if( rc==SQLITE_OK ){
110370 if ( rc==SQLITE_OK ){
110385 if( rc==SQLITE_OK && sqlite3GlobalConfig.isInit ){
110421 return SQLITE_OK;
110435 int rc = SQLITE_OK;
110599 ** Return SQLITE_OK on success.
110658 return SQLITE_OK;
110709 rc = SQLITE_OK;
110842 return SQLITE_OK;
110936 sqlite3Error(db, SQLITE_OK, 0); /* Deallocates any cached error strings. */
110959 return SQLITE_OK;
111002 /* SQLITE_OK */ "not an error",
111116 return SQLITE_OK;
111157 return SQLITE_OK;
111212 if( rc==SQLITE_OK ){
111216 if( rc!=SQLITE_OK ){
111262 return SQLITE_OK;
111307 assert( rc!=SQLITE_OK );
111367 rc = sqlite3ApiExit(db, SQLITE_OK);
111487 return SQLITE_OK;
111513 return SQLITE_OK;
111549 return SQLITE_OK;
111600 ** returned (i.e. SQLITE_IOERR). Otherwise, SQLITE_OK.
111613 int rc = SQLITE_OK; /* Return code */
111621 for(i=0; i<db->nDb && rc==SQLITE_OK; i++){
111628 rc = SQLITE_OK;
111633 return (rc==SQLITE_OK && bBusy) ? SQLITE_BUSY : rc;
111841 sqlite3Error(db, SQLITE_OK, 0);
111842 return SQLITE_OK;
111960 ** If successful, SQLITE_OK is returned. In this case *ppVfs is set to point to
111977 char **pzErrMsg /* OUT: Error message (if rc!=SQLITE_OK) */
111979 int rc = SQLITE_OK;
112167 if( rc!=SQLITE_OK ){
112322 if( rc!=SQLITE_OK ){
112332 if( rc!=SQLITE_OK ){
112360 sqlite3Error(db, SQLITE_OK, 0);
112368 if( rc!=SQLITE_OK ){
112380 if( !db->mallocFailed && rc==SQLITE_OK ){
112387 if( !db->mallocFailed && rc==SQLITE_OK ){
112393 if( !db->mallocFailed && rc==SQLITE_OK ){
112399 if( !db->mallocFailed && rc==SQLITE_OK){
112432 }else if( rc!=SQLITE_OK ){
112484 if( rc==SQLITE_OK && !DbHasProperty(*ppDb, 0, DB_SchemaLoaded) ){
112546 int rc = SQLITE_OK;
112575 return SQLITE_OK;
112593 return SQLITE_OK;
112603 return SQLITE_OK;
112697 if( SQLITE_OK!=rc ){
112764 if( SQLITE_OK==rc && !pTab ){
112801 return SQLITE_OK;
112830 rc = SQLITE_OK;
113251 int rc = SQLITE_OK;
113790 /* TODO(shess) Only used for SQLITE_OK and SQLITE_DONE at this time.
113836 ** This method should return either SQLITE_OK (0), or an SQLite error
113837 ** code. If SQLITE_OK is returned, then *ppTokenizer should be set
113873 ** method should either return SQLITE_OK and set the values of the
114693 return SQLITE_OK;
114727 int rc = SQLITE_OK; /* Return code */
114739 ** memory associated with the Fts3Table structure and return SQLITE_OK.
114742 return (rc==SQLITE_OK ? fts3DisconnectMethod(pVtab) : rc);
114756 if( *pRc==SQLITE_OK ){
114796 int rc = SQLITE_OK; /* Return code */
114855 if( *pRc==SQLITE_OK ){
114865 if( rc==SQLITE_OK ){
114871 rc = SQLITE_OK;
114874 assert( p->nPgsz>0 || rc!=SQLITE_OK );
114919 if( *pRc==SQLITE_OK ){
114982 ** If *pRc is not SQLITE_OK when this function is called, it is a no-op (and
115021 ** If *pRc is not SQLITE_OK when this function is called, it is a no-op (and
115054 ** the output value undefined. Otherwise SQLITE_OK is returned.
115068 return SQLITE_OK;
115081 ** If no error occurs, SQLITE_OK is returned and *apIndex set to point to
115123 return SQLITE_OK;
115148 int rc = SQLITE_OK; /* Return code */
115194 for(i=3; rc==SQLITE_OK && i<argc; i++){
115284 if( rc!=SQLITE_OK ) goto fts3_init_out;
115295 if( rc!=SQLITE_OK ) goto fts3_init_out;
115304 if( rc!=SQLITE_OK ) goto fts3_init_out;
115367 if( rc!=SQLITE_OK ) goto fts3_init_out;
115390 if( rc!=SQLITE_OK ){
115500 return SQLITE_OK;
115512 ** allocation succeeds, zero it and return SQLITE_OK. Otherwise,
115520 return SQLITE_OK;
115537 return SQLITE_OK;
115543 ** SQLITE_OK on success.
115550 return SQLITE_OK;
115553 if( rc==SQLITE_OK ){
115567 return SQLITE_OK;
115584 ** If an OOM error occurs, SQLITE_NOMEM is returned. Otherwise, SQLITE_OK.
115594 int rc = SQLITE_OK; /* Return code */
115704 ** If an error occurs, an error code other than SQLITE_OK is returned.
115722 assert( !piLeaf2 || !piLeaf || rc!=SQLITE_OK || (*piLeaf<=*piLeaf2) );
115724 if( rc==SQLITE_OK && iHeight>1 ){
115730 if( rc==SQLITE_OK ){
115738 if( rc==SQLITE_OK ){
115741 if( rc==SQLITE_OK ){
116261 ** containing the output doclist and SQLITE_OK is returned. In this case
116344 return SQLITE_OK;
116413 ** other doclists (except the aaOutput[0] one) and return SQLITE_OK.
116440 if( rc!=SQLITE_OK ){
116456 return SQLITE_OK;
116470 ** This function returns SQLITE_OK if the merge is successful, or an
116507 if( rc!=SQLITE_OK ){
116525 return SQLITE_OK;
116546 return SQLITE_OK;
116553 ** This function returns SQLITE_OK if successful, or an SQLite error code
116566 int rc = SQLITE_OK; /* Error code */
116579 if( rc==SQLITE_OK && pSeg ){
116585 if( rc==SQLITE_OK ){
116589 while( rc==SQLITE_OK && SQLITE_ROW==(rc = sqlite3_step(pStmt)) ){
116604 if( rc!=SQLITE_OK ) goto finished;
116611 if( rc!=SQLITE_OK ) goto finished;
116661 ** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code.
116675 ** zTerm/nTerm is a prefix. If successful, return SQLITE_OK and write
116682 ** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code.
116717 if( rc==SQLITE_OK ){
116771 while( SQLITE_OK==rc
116777 if( rc==SQLITE_OK ){
116780 if( rc==SQLITE_OK ){
116826 ** Return SQLITE_OK if nothing goes wrong. SQLITE_OK is returned
116839 rc = SQLITE_OK;
116908 if( rc!=SQLITE_OK ){
116917 if( rc!=SQLITE_OK ) return rc;
116922 if( rc!=SQLITE_OK ) return rc;
116943 if( rc!=SQLITE_OK ) return rc;
116947 if( rc!=SQLITE_OK ) return rc;
116970 return SQLITE_OK;
116982 int rc = SQLITE_OK; /* Return Code */
117001 if( rc==SQLITE_OK ){
117045 return SQLITE_OK;
117061 return SQLITE_OK;
117074 return SQLITE_OK;
117102 ** output variable *ppCsr and SQLITE_OK is returned. Otherwise, an error
117123 return SQLITE_OK;
117162 }else if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){
117182 if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){
117215 case SQLITE_OK:
117237 if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){
117295 if( rc!=SQLITE_OK ){
117351 return SQLITE_OK;
117366 return SQLITE_OK;
117429 int rc = SQLITE_OK;
117441 if( rc!=SQLITE_OK ) return rc;
117445 if( rc!=SQLITE_OK ) return rc;
117459 if( rc==SQLITE_OK ){
117471 if( rc==SQLITE_OK ){
117480 if( SQLITE_OK==rc
117481 && SQLITE_OK==(rc = sqlite3Fts3InitHashTable(db, pHash, "fts3_tokenizer"))
117482 && SQLITE_OK==(rc = sqlite3_overload_function(db, "snippet", -1))
117483 && SQLITE_OK==(rc = sqlite3_overload_function(db, "offsets", 1))
117484 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 1))
117485 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 2))
117486 && SQLITE_OK==(rc = sqlite3_overload_function(db, "optimize", 1))
117491 if( rc==SQLITE_OK ){
117500 assert( rc!=SQLITE_OK );
117530 if( pExpr && SQLITE_OK==*pRc ){
117540 if( rc!=SQLITE_OK ){
117621 ** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code.
117629 int rc = SQLITE_OK;
117631 for(iToken=0; rc==SQLITE_OK && iToken<p->nToken; iToken++){
117639 if( rc==SQLITE_OK ){
117657 ** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code.
117661 int rc = SQLITE_OK; /* Return code */
117668 for(iToken=0; rc==SQLITE_OK && iToken<pPhrase->nToken; iToken++){
117676 if( rc!=SQLITE_OK ) return rc;
117682 return SQLITE_OK;
117702 return SQLITE_OK;
117751 return SQLITE_OK;
117764 ** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code.
117789 assert( rc!=SQLITE_OK || p->nToken<1 || p->aToken[0].pSegcsr==0 || p->bIncr );
117859 ** SQLITE_OK.
117870 int rc = SQLITE_OK;
117880 if( rc==SQLITE_OK && !pDL->pList ){
117931 ** If *pRc is not SQLITE_OK when this function is called, it is a no-op.
117951 if( pExpr && SQLITE_OK==*pRc ){
117993 ** If *pRc is not SQLITE_OK when this function is called, it is a no-op.
118005 if( *pRc==SQLITE_OK && pExpr ){
118009 for(i=0; *pRc==SQLITE_OK && i<pPhrase->nToken; i++){
118037 ** write this value to *pnPage and return SQLITE_OK. Otherwise, return
118068 if( rc!=SQLITE_OK ) return rc;
118086 if( rc!=SQLITE_OK ) return rc;
118090 return SQLITE_OK;
118103 ** If no error occurs, SQLITE_OK is returned and sqlite3Fts3DeferToken()
118115 int rc = SQLITE_OK; /* Return code */
118132 if( nOvfl==0 || nToken<2 ) return SQLITE_OK;
118136 assert( rc!=SQLITE_OK || nDocSize>0 );
118161 for(ii=0; ii<nToken && rc==SQLITE_OK; ii++){
118194 assert( rc==SQLITE_OK || pList==0 );
118195 if( rc==SQLITE_OK ){
118225 int rc = SQLITE_OK;
118233 if( rc==SQLITE_OK && nToken>1 && pTab->bHasStat ){
118253 if( rc==SQLITE_OK ){
118255 for(ii=0; rc==SQLITE_OK && ii<nOr; ii++){
118336 ** This function is a no-op if *pRc is other than SQLITE_OK when it is called.
118381 if( *pRc==SQLITE_OK ){
118409 while( !pLeft->bEof && !pRight->bEof && *pRc==SQLITE_OK ){
118458 assert( *pRc!=SQLITE_OK || pRight->bStart );
118487 ** If *pRc is not SQLITE_OK, or if pExpr is not the root node of a NEAR
118524 if( *pRc==SQLITE_OK
118575 ** If *pRc is not SQLITE_OK when this function is called, it is a no-op.
118586 if( *pRc==SQLITE_OK ){
118675 ** If *pRc is not SQLITE_OK when this function is called, it immediately
118680 ** 1. *pRc is SQLITE_OK when this function returns, and
118691 if( rc==SQLITE_OK ){
118701 if( rc==SQLITE_OK ){
118711 return (rc==SQLITE_OK && bMiss);
118719 int rc = SQLITE_OK; /* Return Code */
118745 ** If *pRc is other than SQLITE_OK when this function is called, it is
118754 if( pExpr && *pRc==SQLITE_OK ){
118827 ** SQLITE_OK is returned if the aMI[] array is successfully allocated and
118834 int rc = SQLITE_OK; /* Return code */
118866 while( pCsr->isEof==0 && rc==SQLITE_OK ){
118884 if( rc==SQLITE_OK && pCsr->isEof==0 ){
118899 ** do {...} while( pRoot->iDocid<iDocid && rc==SQLITE_OK );
118905 }while( pRoot->iDocid!=iDocid && rc==SQLITE_OK );
118922 ** If no error occurs, SQLITE_OK is returned and the values for each column
118948 int rc = SQLITE_OK;
118959 if( rc==SQLITE_OK ){
119149 if( rc!=SQLITE_OK ) return rc;
119167 return SQLITE_OK;
119186 return SQLITE_OK;
119246 return SQLITE_OK;
119262 return SQLITE_OK;
119278 return SQLITE_OK;
119294 return SQLITE_OK;
119309 if( pCsr->aStat[pCsr->iCol].nDoc>0 ) return SQLITE_OK;
119326 return SQLITE_OK;
119384 rc = SQLITE_OK;
119444 if( rc==SQLITE_OK ){
119448 if( rc==SQLITE_OK ) rc = fts3auxNextMethod(pCursor);
119485 return SQLITE_OK;
119497 return SQLITE_OK;
119501 ** Register the fts3aux module with database connection db. Return SQLITE_OK
119677 ** Return SQLITE_OK if successful, or SQLITE_NOMEM if a memory allocation
119695 if( rc==SQLITE_OK ){
119703 if( rc==SQLITE_OK ){
119756 ** If successful, SQLITE_OK is returned and *ppExpr set to point at the
119797 if( rc==SQLITE_OK ){
119800 for(ii=0; rc==SQLITE_OK; ii++){
119804 if( rc==SQLITE_OK ){
119850 rc = SQLITE_OK;
119876 ** Returns an SQLite error code. SQLITE_OK if everything works, SQLITE_NOMEM
119959 return SQLITE_OK;
119974 if( rc==SQLITE_OK && !*ppExpr ){
120099 ** If successful, SQLITE_OK is returned, *ppExpr is set to point to the
120115 int rc = SQLITE_OK;
120118 while( rc==SQLITE_OK ){
120122 if( rc==SQLITE_OK ){
120205 assert( rc!=SQLITE_OK || (nByte>0 && nByte<=nIn) );
120216 rc = SQLITE_OK;
120233 if( rc!=SQLITE_OK ){
120247 ** of the parsed expression tree and SQLITE_OK is returned. If an error
120284 return SQLITE_OK;
120292 if( rc==SQLITE_OK && sParse.nNest ){
120338 if( rc!=SQLITE_OK ){
120451 assert( rc==SQLITE_NOMEM || rc==SQLITE_OK );
120473 if( rc!=SQLITE_OK && rc!=SQLITE_NOMEM ){
120959 return SQLITE_OK;
120967 return SQLITE_OK;
121002 return SQLITE_OK;
121013 return SQLITE_OK;
121504 return SQLITE_OK;
121724 assert( rc!=SQLITE_OK || *ppTok );
121725 if( rc!=SQLITE_OK ){
121820 if( SQLITE_OK!=p->xCreate(zArg ? 1 : 0, &zArg, &pTokenizer) ){
121825 if( SQLITE_OK!=p->xOpen(pTokenizer, zInput, nInput, &pCsr) ){
121831 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){
121839 if( SQLITE_OK!=p->xClose(pCsr) ){
121843 if( SQLITE_OK!=p->xDestroy(pTokenizer) ){
121868 if( rc!=SQLITE_OK ){
121891 if( rc!=SQLITE_OK ){
121941 assert( rc==SQLITE_OK );
121950 assert( rc==SQLITE_OK );
121952 assert( rc==SQLITE_OK );
121982 int rc = SQLITE_OK;
121997 if( SQLITE_OK==rc ){
122000 if( SQLITE_OK==rc ){
122004 if( SQLITE_OK==rc ){
122007 if( SQLITE_OK==rc ){
122010 if( SQLITE_OK==rc ){
122120 return SQLITE_OK;
122128 return SQLITE_OK;
122163 return SQLITE_OK;
122174 return SQLITE_OK;
122229 return SQLITE_OK;
122387 ** until SegmentReaderNext() returns something other than SQLITE_OK
122496 ** *pp is set to the requested statement handle and SQLITE_OK returned.
122548 int rc = SQLITE_OK;
122569 assert( rc==SQLITE_OK || pStmt==0 );
122576 for(i=0; rc==SQLITE_OK && i<nParam; i++){
122596 if( rc==SQLITE_OK ){
122603 if( rc==SQLITE_OK ) rc = SQLITE_CORRUPT_VTAB;
122606 rc = SQLITE_OK;
122634 ** Returns SQLITE_OK if the statement is successfully executed, or an
122647 if( rc==SQLITE_OK ){
122677 if( rc==SQLITE_OK ){
122688 ** return SQLITE_OK. If an error occurs while preparing the statement,
122718 if( rc==SQLITE_OK ){
122725 if( rc==SQLITE_OK ){
122735 ** Append a single varint to a PendingList buffer. SQLITE_OK is returned
122778 return SQLITE_OK;
122788 ** it is set to SQLITE_OK.
122798 int rc = SQLITE_OK;
122809 if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iDelta)) ){
122817 if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, 1))
122818 || SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iCol))
122828 if( rc==SQLITE_OK ){
122861 int rc = SQLITE_OK;
122877 if( rc==SQLITE_OK ){
122888 ** If successful, SQLITE_OK is returned. Otherwise, an SQLite error code.
122918 return SQLITE_OK;
122922 if( rc!=SQLITE_OK ){
122928 while( SQLITE_OK==rc
122929 && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos))
122949 for(i=1; rc==SQLITE_OK && i<p->nIndex; i++){
122960 return (rc==SQLITE_DONE ? SQLITE_OK : rc);
122977 if( rc!=SQLITE_OK ) return rc;
122980 return SQLITE_OK;
123013 if( rc!=SQLITE_OK ){
123018 return SQLITE_OK;
123051 if( rc!=SQLITE_OK ){
123073 if( rc!=SQLITE_OK ) return rc;
123093 int rc = SQLITE_OK; /* Return code */
123127 if( rc==SQLITE_OK ){
123133 if( rc!=SQLITE_OK ){
123166 ** If successful, *piIdx is set to the allocated index slot and SQLITE_OK
123181 if( rc==SQLITE_OK ){
123189 if( rc==SQLITE_OK ){
123219 ** an SQLite error code is returned. Otherwise, SQLITE_OK is returned. If
123257 if( rc==SQLITE_OK ){
123271 if( rc!=SQLITE_OK ){
123304 if( rc==SQLITE_OK ){
123317 int rc = SQLITE_OK;
123321 while( pReader->pBlob && rc==SQLITE_OK
123331 ** segment. If successful, SQLITE_OK is returned. If there is no next term,
123365 return SQLITE_OK;
123379 return SQLITE_OK;
123386 if( rc!=SQLITE_OK ) return rc;
123398 if( rc!=SQLITE_OK ) return rc;
123421 if( rc!=SQLITE_OK ) return rc;
123439 return SQLITE_OK;
123447 int rc = SQLITE_OK;
123460 if( rc==SQLITE_OK ){
123484 int rc = SQLITE_OK;
123527 if( rc!=SQLITE_OK ) return rc;
123550 if( rc==SQLITE_OK ){
123562 return SQLITE_OK;
123574 int rc = SQLITE_OK;
123580 for(ii=0; rc==SQLITE_OK && ii<pMsr->nSegment; ii++){
123589 if( rc!=SQLITE_OK ) break;
123627 int rc = SQLITE_OK; /* Return code */
123656 if( rc==SQLITE_OK ){
123713 int rc = SQLITE_OK; /* Return Code */
123925 if( rc==SQLITE_OK ){
123949 if( rc==SQLITE_OK ){
124053 return SQLITE_OK;
124118 ** If successful, SQLITE_OK is returned and output variable *piLast is
124133 int rc = SQLITE_OK;
124145 for(pIter=pTree->pLeftmost; pIter && rc==SQLITE_OK; pIter=pIter->pRight){
124153 if( rc==SQLITE_OK ){
124190 ** If successful, SQLITE_OK is returned. Otherwise, an SQLite error code.
124224 if( rc!=SQLITE_OK ) return rc;
124230 if( rc!=SQLITE_OK ) return rc;
124249 if( rc!=SQLITE_OK ) return rc;
124265 if( rc!=SQLITE_OK ) return rc;
124321 return SQLITE_OK;
124327 ** to the segment using fts3SegWriterAdd(). If successful, SQLITE_OK is
124345 if( rc==SQLITE_OK ){
124349 if( rc==SQLITE_OK ){
124381 ** document pRowid, or false otherwise, and SQLITE_OK is returned. If an
124388 if( rc==SQLITE_OK ){
124403 ** Return SQLITE_OK if successful, or an SQLite error code if not.
124417 if( rc!=SQLITE_OK ) return rc;
124438 ** SQLITE_OK is returned if successful, otherwise an SQLite error code.
124452 for(i=0; rc==SQLITE_OK && i<nReader; i++){
124461 if( rc!=SQLITE_OK ){
124468 if( rc==SQLITE_OK ){
124474 if( rc==SQLITE_OK ){
124479 if( rc==SQLITE_OK ){
124534 ** If successful, return SQLITE_OK. Otherwise, if an OOM error is encountered
124551 return SQLITE_OK;
124569 return SQLITE_OK;
124588 while( rc==SQLITE_OK
124596 if( rc!=SQLITE_OK ) return rc;
124606 if( rc!=SQLITE_OK ) return rc;
124619 return SQLITE_OK;
124641 if( rc!=SQLITE_OK ) return rc;
124646 return SQLITE_OK;
124677 if( rc!=SQLITE_OK ) return rc;
124691 if( rc!=SQLITE_OK ) return rc;
124698 return SQLITE_OK;
124729 return SQLITE_OK;
124737 int rc = SQLITE_OK;
124752 if( pCsr->nSegment==0 ) return SQLITE_OK;
124763 if( rc!=SQLITE_OK ) return rc;
124768 /* If all the seg-readers are at EOF, we're finished. return SQLITE_OK. */
124769 assert( rc==SQLITE_OK );
124812 if( rc==SQLITE_OK ) rc = SQLITE_ROW;
124886 }while( rc==SQLITE_OK );
124917 ** Otherwise, if successful, SQLITE_OK is returned. If an error occurs,
124937 if( rc!=SQLITE_OK || csr.nSegment==0 ) goto finished;
124962 if( rc!=SQLITE_OK ) goto finished;
124972 while( SQLITE_OK==rc ){
124978 if( rc!=SQLITE_OK ) goto finished;
124983 if( rc!=SQLITE_OK ) goto finished;
124998 int rc = SQLITE_OK;
125000 for(i=0; rc==SQLITE_OK && i<p->nIndex; i++){
125002 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
125159 int rc = SQLITE_OK;
125160 for(i=0; rc==SQLITE_OK && i<p->nIndex; i++){
125164 rc = SQLITE_OK;
125170 return (rc==SQLITE_OK && bReturnDone && bSeenDone) ? SQLITE_DONE : rc;
125193 rc = SQLITE_OK;
125196 rc = SQLITE_OK;
125241 int rc = SQLITE_OK; /* Return code */
125254 for(i=0; i<p->nColumn && rc==SQLITE_OK; i++){
125259 while( rc==SQLITE_OK ){
125267 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
125278 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
125281 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
125304 return SQLITE_OK;
125315 return SQLITE_OK;
125340 return SQLITE_OK;
125356 if( rc==SQLITE_OK ){
125389 int rc = SQLITE_OK; /* Return Code */
125465 if( rc!=SQLITE_OK ){
125478 if( nArg>1 && rc==SQLITE_OK ){
125483 if( rc==SQLITE_OK && (!isRemove || *pRowid!=iRemove) ){
125486 if( rc==SQLITE_OK ){
125513 if( rc==SQLITE_OK ){
125515 if( rc==SQLITE_OK || rc==SQLITE_DONE ){
125517 if( rc2!=SQLITE_OK ) rc = rc2;
125679 if( rc==SQLITE_OK && eType!=FTSQUERY_NOT ){
125694 ** If the callback function returns anything other than SQLITE_OK,
125696 ** Otherwise, SQLITE_OK is returned after a callback has been made for
125714 int rc = SQLITE_OK;
125754 return SQLITE_OK;
125908 return SQLITE_OK;
125948 if( rc!=SQLITE_OK ){
126000 return SQLITE_OK;
126038 return SQLITE_OK;
126099 if( rc!=SQLITE_OK ){
126103 while( rc==SQLITE_OK && iCurrent<(nSnippet+nDesired) ){
126108 if( rc!=SQLITE_OK && rc!=SQLITE_DONE ){ return rc; }
126118 return SQLITE_OK;
126156 return SQLITE_OK;
126163 if( rc!=SQLITE_OK ){
126168 while( rc==SQLITE_OK ){
126174 if( rc!=SQLITE_OK ){
126195 if( rc==SQLITE_OK && (iPos>0 || iFragment>0) ){
126198 if( rc!=SQLITE_OK || iCurrent<iPos ) continue;
126212 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zOpen, -1);
126213 if( rc==SQLITE_OK ) rc = fts3StringAppend(pOut, &zDoc[iBegin], iFin-iBegin);
126214 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zClose, -1);
126314 return SQLITE_OK;
126330 return SQLITE_OK;
126373 if( rc!=SQLITE_OK ) return rc;
126384 return SQLITE_OK;
126414 return SQLITE_OK;
126444 ** array before returning. SQLITE_OK is returned in this case.
126512 return SQLITE_OK;
126528 ** Return SQLITE_OK if successful, or an SQLite error code if an error
126529 ** occurs. If a value other than SQLITE_OK is returned, the state the
126538 int rc = SQLITE_OK;
126543 for(i=0; rc==SQLITE_OK && zArg[i]; i++){
126568 if( rc==SQLITE_OK ){
126584 if( rc==SQLITE_OK ){
126599 if( rc==SQLITE_OK ){
126609 if( rc!=SQLITE_OK ) break;
126613 if( rc!=SQLITE_OK ) break;
126616 if( rc!=SQLITE_OK ) break;
126641 int rc = SQLITE_OK;
126713 int rc = SQLITE_OK;
126764 if( rc!=SQLITE_OK ){
126785 for(i=0; i<nSnippet && rc==SQLITE_OK; i++){
126793 if( rc!=SQLITE_OK ){
126844 return SQLITE_OK;
126874 if( rc!=SQLITE_OK ) goto offsets_out;
126922 if( rc!=SQLITE_OK ) goto offsets_out;
126926 while( rc==SQLITE_OK ){
126949 while( rc==SQLITE_OK && iCurrent<iMinPos ){
126952 if( rc==SQLITE_OK ){
126964 rc = SQLITE_OK;
126968 if( rc!=SQLITE_OK ) goto offsets_out;
126975 if( rc!=SQLITE_OK ){
127020 if( rc!=SQLITE_OK ){
127500 int rc2 = SQLITE_OK;
127514 return SQLITE_OK;
127538 if( rc==SQLITE_OK ) rc = rc2;
127557 if( pNode && rc==SQLITE_OK ){
127563 if( rc==SQLITE_OK ){
127610 ** is successful, return SQLITE_OK.
127641 int rc = SQLITE_OK;
127653 if( pNode->iNode==0 && rc==SQLITE_OK ){
127667 int rc = SQLITE_OK;
127678 if( rc==SQLITE_OK ){
127798 return SQLITE_OK;
127821 if( rc==SQLITE_OK ){
127839 rc = SQLITE_OK;
127918 ** Return SQLITE_OK if successful or an SQLite error code if an error
127925 int rc = SQLITE_OK;
127970 ** Return SQLITE_OK if successful or an SQLite error code if an error
127998 if( rc!=SQLITE_OK ){
128007 return SQLITE_OK;
128011 return SQLITE_OK;
128042 if( rc!=SQLITE_OK || isEof || iHeight==0 ){
128048 if( rc!=SQLITE_OK ){
128058 if( rc!=SQLITE_OK ){
128091 return SQLITE_OK;
128107 return SQLITE_OK;
128116 int rc = SQLITE_OK;
128137 if( rc!=SQLITE_OK || !isEof ){
128143 if( rc!=SQLITE_OK ){
128165 return SQLITE_OK;
128189 return SQLITE_OK;
128195 ** return SQLITE_OK. If there is no such record in the table, set
128196 ** *ppLeaf to 0 and return SQLITE_OK. If an error occurs, set *ppLeaf
128256 return SQLITE_OK;
128272 int rc = SQLITE_OK;
128286 assert( rc==SQLITE_OK );
128311 if( rc!=SQLITE_OK ){
128321 if( rc==SQLITE_OK ){
128325 if( rc==SQLITE_OK ){
128329 for(pCsr->iCell=0; rc==SQLITE_OK && pCsr->iCell<nCell; pCsr->iCell++){
128336 if( rc==SQLITE_OK && isEof ){
128341 assert( rc!=SQLITE_OK || !pCsr->pNode || pCsr->iCell<NCELL(pCsr->pNode) );
128384 int rc = SQLITE_OK;
128413 return SQLITE_OK;
128595 for(ii=0; rc==SQLITE_OK && ii<(pRtree->iDepth-iHeight); ii++){
128700 return SQLITE_OK;
129112 return SQLITE_OK;
129168 return SQLITE_OK;
129200 int rc = SQLITE_OK;
129249 if( rc!=SQLITE_OK ){
129258 if( SQLITE_OK!=(rc = nodeWrite(pRtree, pRight))
129259 || (0==pLeft->iNode && SQLITE_OK!=(rc = nodeWrite(pRtree, pLeft)))
129269 if( rc!=SQLITE_OK ){
129276 if( rc==SQLITE_OK ){
129280 if( rc!=SQLITE_OK ){
129294 if( rc!=SQLITE_OK ){
129302 if( rc!=SQLITE_OK ){
129310 if( rc==SQLITE_OK ){
129314 if( rc==SQLITE_OK ){
129338 int rc = SQLITE_OK;
129340 while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){
129341 int rc2 = SQLITE_OK; /* sqlite3_reset() return code */
129360 if( rc==SQLITE_OK ) rc = rc2;
129361 if( rc==SQLITE_OK && !pChild->pParent ) rc = SQLITE_CORRUPT_VTAB;
129379 if( rc==SQLITE_OK ){
129385 if( rc==SQLITE_OK ){
129388 if( rc!=SQLITE_OK ){
129395 if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteNode)) ){
129402 if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteParent)) ){
129415 return SQLITE_OK;
129420 int rc = SQLITE_OK;
129433 if( rc==SQLITE_OK ){
129449 if( SQLITE_OK!=(rc = fixLeafParent(pRtree, pNode)) ){
129490 int rc = SQLITE_OK;
129540 for(ii=0; rc==SQLITE_OK && ii<(nCell-(RTREE_MINCELLS(pRtree)+1)); ii++){
129551 if( rc==SQLITE_OK ){
129554 for(; rc==SQLITE_OK && ii<nCell; ii++){
129561 if( rc==SQLITE_OK ){
129565 if( rc==SQLITE_OK ){
129585 int rc = SQLITE_OK;
129607 if( rc==SQLITE_OK ){
129620 int rc = SQLITE_OK;
129623 for(ii=0; rc==SQLITE_OK && ii<nCell; ii++){
129632 if( rc==SQLITE_OK ){
129636 if( rc==SQLITE_OK ){
129673 if( rc==SQLITE_OK ){
129678 if( rc==SQLITE_OK ){
129681 if( rc==SQLITE_OK ){
129685 if( rc==SQLITE_OK ){
129691 if( rc==SQLITE_OK ){
129705 if( rc==SQLITE_OK && pRtree->iDepth>0 && NCELL(pRoot)==1 ){
129710 if( rc==SQLITE_OK ){
129714 if( rc==SQLITE_OK ) rc = rc2;
129715 if( rc==SQLITE_OK ){
129724 if( rc==SQLITE_OK ){
129732 if( rc==SQLITE_OK ){
129751 int rc = SQLITE_OK;
129830 if( rc==SQLITE_OK && nData>1 ){
129840 if( rc==SQLITE_OK ){
129843 if( rc==SQLITE_OK ){
129848 if( rc==SQLITE_OK ){
129913 int rc = SQLITE_OK;
129950 if( rc!=SQLITE_OK ){
129965 for(i=0; i<N_STATEMENT && rc==SQLITE_OK; i++){
129982 ** is written to *piVal and SQLITE_OK returned. Otherwise, an SQLite error
129990 if( rc==SQLITE_OK ){
130003 ** to. If successful, pRtree->iNodeSize is populated and SQLITE_OK returned.
130026 if( rc==SQLITE_OK ){
130061 int rc = SQLITE_OK;
130107 if( rc==SQLITE_OK ){
130126 }else if( SQLITE_OK!=(rc = sqlite3_declare_vtab(db, zSql)) ){
130133 if( rc==SQLITE_OK ){
130219 if( rc==SQLITE_OK ){
130222 if( rc==SQLITE_OK ){
130226 if( rc==SQLITE_OK ){
130752 if( rc!=SQLITE_OK ){
130787 int rc = SQLITE_OK;
130790 for(i=0; rc==SQLITE_OK && i<(int)(sizeof(scalars)/sizeof(scalars[0])); i++){
130888 return SQLITE_OK;
130897 return SQLITE_OK;
130969 return SQLITE_OK;
130980 return SQLITE_OK;
131045 return SQLITE_OK;