Lines Matching defs:SQLITE_OK
813 ** ^Calls to sqlite3_close() return SQLITE_OK if the [sqlite3] object is
913 ** KEYWORDS: SQLITE_OK {error code} {error codes}
923 #define SQLITE_OK 0 /* Successful result */
961 ** [SQLITE_OK | result codes]. However, experience has shown that many of
975 ** The SQLITE_OK result code will never be extended. It will always
1592 ** ^The sqlite3_initialize() routine returns [SQLITE_OK] on success.
1595 ** as a mutex) it returns an [error code] other than [SQLITE_OK].
1632 ** must return [SQLITE_OK] on success and some other [error code] upon
1665 ** ^When a configuration option is set, sqlite3_config() returns [SQLITE_OK].
1684 ** ^Calls to sqlite3_db_config() return SQLITE_OK if and only if
2664 ** return [SQLITE_OK] to allow the action, [SQLITE_IGNORE] to disallow the
2668 ** any value other than [SQLITE_IGNORE], [SQLITE_OK], or [SQLITE_DENY]
2672 ** When the callback returns [SQLITE_OK], that means the operation
2689 ** been read if [SQLITE_OK] had been returned. The [SQLITE_IGNORE]
2743 ** return either [SQLITE_OK] or one of these two constants in order
2877 ** [SQLITE_OK] is returned. Otherwise an [error code] is returned.)^ ^The
3176 ** ^On success, the sqlite3_prepare() family of routines return [SQLITE_OK];
3413 ** ^The sqlite3_bind_* routines return [SQLITE_OK] on success or an
3931 ** SQLITE_OK. ^If the most recent evaluation of statement S failed, then
3967 ** then [sqlite3_reset(S)] returns [SQLITE_OK].
4841 ** ^(This routine returns [SQLITE_OK] if shared cache was enabled or disabled
5015 ** [SQLITE_OK] on success and [SQLITE_ERROR] if something goes wrong.
5413 ** ^(On success, [SQLITE_OK] is returned and the new [BLOB handle] is written
5535 ** ^(On success, sqlite3_blob_read() returns SQLITE_OK.
5573 ** ^(On success, sqlite3_blob_write() returns SQLITE_OK.
5705 ** SQLITE_BUSY. ^The sqlite3_mutex_try() interface returns [SQLITE_OK]
5799 ** called, but only if the prior call to xMutexInit returned SQLITE_OK.
5980 ** ^The sqlite3_status() routine returns SQLITE_OK on success and a
6103 ** ^The sqlite3_db_status() routine returns SQLITE_OK on success and a
6478 ** are still more pages to be copied, then the function returns [SQLITE_OK].
6482 ** then an [error code] is returned. ^As well as [SQLITE_OK] and
6541 ** ^The value returned by sqlite3_backup_finish is [SQLITE_OK] if no
6661 ** returns SQLITE_OK.
6782 ** The callback function should normally return [SQLITE_OK]. ^If an error
6882 ** populated even if sqlite3_wal_checkpoint_v2() returns other than SQLITE_OK.
6911 ** databases, SQLITE_OK is returned.
6914 ** mode, SQLITE_OK is returned and both *pnLog and *pnCkpt set to -1. If
8986 #define sqlite3_mutex_try(X) SQLITE_OK
8991 #define sqlite3MutexInit() SQLITE_OK
11214 # define sqlite3AuthCheck(a,b,c,d,e) SQLITE_OK
11394 # define sqlite3VtabSync(X,Y) SQLITE_OK
12633 #define sqlite3VdbeMemExpandBlob(x) SQLITE_OK
12716 return SQLITE_OK;
12729 int rc = SQLITE_OK; /* Return code */
14000 int rc = SQLITE_OK;
14084 assert( rc==SQLITE_OK || pFile->pMethods==0 );
14158 if( rc!=SQLITE_OK ){
14167 int rc = SQLITE_OK;
14261 return SQLITE_OK;
14274 return SQLITE_OK;
14402 static int sqlite3MemInit(void *NotUsed){ return SQLITE_OK; }
14546 return SQLITE_OK;
14774 return SQLITE_OK;
15679 return SQLITE_OK;
16304 return SQLITE_OK;
16413 int rc = SQLITE_OK;
16447 int rc = SQLITE_OK;
16497 ** Obtain the mutex p. If successful, return SQLITE_OK. Otherwise, if another
16501 int rc = SQLITE_OK;
16573 static int noopMutexInit(void){ return SQLITE_OK; }
16574 static int noopMutexEnd(void){ return SQLITE_OK; }
16583 return SQLITE_OK;
16636 static int debugMutexInit(void){ return SQLITE_OK; }
16637 static int debugMutexEnd(void){ return SQLITE_OK; }
16682 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
16698 return SQLITE_OK;
16791 static int os2MutexInit(void){ return SQLITE_OK; }
16792 static int os2MutexEnd(void){ return SQLITE_OK; }
16957 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
16975 rc = SQLITE_OK;
17103 static int pthreadMutexInit(void){ return SQLITE_OK; }
17104 static int pthreadMutexEnd(void){ return SQLITE_OK; }
17220 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
17288 rc = SQLITE_OK;
17293 rc = SQLITE_OK;
17306 rc = SQLITE_OK;
17313 if( rc==SQLITE_OK && p->trace ){
17498 return SQLITE_OK;
17513 return SQLITE_OK;
17605 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
17648 rc = SQLITE_OK;
17654 if( rc==SQLITE_OK && p->trace ){
17813 return SQLITE_OK;
19893 if( rc!=SQLITE_OK ){
19995 return SQLITE_OK;
20008 int rc = SQLITE_OK;
20025 if( rc==SQLITE_OK ){
20334 ** should be called with err_code set to SQLITE_OK and zFormat set
22126 return rc == NO_ERROR ? SQLITE_OK : SQLITE_IOERR;
22130 ** Read data from a file into a buffer. Return SQLITE_OK if all
22153 return SQLITE_OK;
22162 ** Write data from a buffer into a file. Return SQLITE_OK on success
22191 return ( rc != NO_ERROR || amt > (int)wrote ) ? SQLITE_FULL : SQLITE_OK;
22214 return rc == NO_ERROR ? SQLITE_OK : SQLITE_IOERR_TRUNCATE;
22243 return SQLITE_OK;
22245 return DosResetBuffer( pFile->h ) == NO_ERROR ? SQLITE_OK : SQLITE_IOERR;
22261 return SQLITE_OK;
22330 int rc = SQLITE_OK; /* Return code from subroutines */
22348 return SQLITE_OK;
22450 rc = SQLITE_OK;
22498 return SQLITE_OK;
22515 APIRET rc = SQLITE_OK;
22574 return SQLITE_OK;
22578 return SQLITE_OK;
22585 return SQLITE_OK;
22588 return SQLITE_OK;
22719 if( (rc) != SQLITE_OK ) _ERR_TRACE msg;
22878 rc==SQLITE_OK ? "ok" : "failed",
22884 return ( rc == 0 ) ? SQLITE_OK : SQLITE_BUSY;
22896 int cbShmName, rc = SQLITE_OK;
22955 if( rc == SQLITE_OK ) {
23069 ** separate process), then *pp is set to NULL and SQLITE_OK returned. If
23076 ** memory and SQLITE_OK returned.
23088 int n, rc = SQLITE_OK;
23097 if( rc == SQLITE_OK ) {
23207 return SQLITE_OK;
23225 int rc = SQLITE_OK; /* Result code */
23259 rc = SQLITE_OK;
23263 if( rc==SQLITE_OK ){
23283 if( rc==SQLITE_OK ){
23287 rc = SQLITE_OK;
23292 if( rc==SQLITE_OK ){
23309 if( rc==SQLITE_OK ){
23311 if( rc==SQLITE_OK ){
23440 return SQLITE_OK;
23464 return rc == NO_ERROR ? SQLITE_OK : SQLITE_IOERR;
23540 if( rc!=SQLITE_OK ){
23612 return SQLITE_OK;
23632 rc == ERROR_PATH_NOT_FOUND ) ? SQLITE_OK : SQLITE_IOERR_DELETE;
23680 return SQLITE_OK;
23929 return SQLITE_OK;
23933 return SQLITE_OK;
24112 ** a normal expected return code of SQLITE_BUSY or SQLITE_OK
24114 #define IS_LOCK_ERROR(x) ((x != SQLITE_OK) && (x != SQLITE_BUSY))
24534 ** "unix" VFSes. Return SQLITE_OK opon successfully updating the
24551 rc = SQLITE_OK;
24566 rc = SQLITE_OK;
24758 ** SQLITE_OK. The system call failed, and *some* SQLite error should be
24763 return SQLITE_OK;
25160 assert( errcode!=SQLITE_OK );
25322 return SQLITE_OK;
25330 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
25333 int rc = SQLITE_OK;
25482 int rc = SQLITE_OK;
25500 return SQLITE_OK;
25529 ** return SQLITE_OK.
25571 assert( rc==SQLITE_OK );
25585 if( unixFileLock(pFile, &lock) && rc==SQLITE_OK ){
25638 if( rc==SQLITE_OK
25649 if( rc==SQLITE_OK ){
25660 rc==SQLITE_OK ? "ok" : "failed"));
25694 int rc = SQLITE_OK;
25704 return SQLITE_OK;
25857 if( rc==SQLITE_OK ) pFile->eFileLock = eFileLock;
25901 return SQLITE_OK;
25908 int rc = SQLITE_OK;
25954 return SQLITE_OK;
25958 return SQLITE_OK;
25962 return SQLITE_OK;
26007 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
26014 int rc = SQLITE_OK;
26068 int rc = SQLITE_OK;
26080 return SQLITE_OK;
26125 return SQLITE_OK;
26133 return SQLITE_OK;
26150 return SQLITE_OK;
26204 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
26207 int rc = SQLITE_OK;
26251 rc = SQLITE_OK;
26289 int rc = SQLITE_OK;
26298 return SQLITE_OK;
26315 rc==SQLITE_OK ? "ok" : "failed"));
26342 return SQLITE_OK;
26348 return SQLITE_OK;
26354 return SQLITE_OK;
26359 return SQLITE_OK;
26394 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
26397 int rc = SQLITE_OK;
26468 int rc = SQLITE_OK;
26474 rc = SQLITE_OK;
26510 return SQLITE_OK;
26516 return SQLITE_OK;
26529 return SQLITE_OK;
26545 return SQLITE_OK;
26592 ** Return SQLITE_OK on success, SQLITE_BUSY on failure.
26630 return SQLITE_OK;
26638 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
26641 int rc = SQLITE_OK;
26651 return SQLITE_OK;
26665 if( SQLITE_OK==lrc ){
26710 int rc = SQLITE_OK;
26727 return SQLITE_OK;
26756 ** return SQLITE_OK.
26814 } else if( lrc1 != SQLITE_OK ) {
26847 int failed2 = SQLITE_OK;
26869 if( rc==SQLITE_OK ){
26880 rc==SQLITE_OK ? "ok" : "failed"));
26892 int rc = SQLITE_OK;
26908 return SQLITE_OK;
26936 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1) ){
26944 if( rc==SQLITE_OK && pFile->eFileLock>=PENDING_LOCK ){
26947 if( rc==SQLITE_OK && pFile->eFileLock>=RESERVED_LOCK && context->reserved ){
26953 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1)){
26957 if( rc==SQLITE_OK && eFileLock==NO_LOCK ){
26977 if( rc==SQLITE_OK ){
26987 if( rc==SQLITE_OK ) pFile->eFileLock = eFileLock;
26995 int rc = SQLITE_OK;
27107 ** Read data from a file into a buffer. Return SQLITE_OK if all
27132 return SQLITE_OK;
27185 ** Write data from a buffer into a file. Return SQLITE_OK on success
27248 return SQLITE_OK;
27337 rc = SQLITE_OK;
27377 ** SQLITE_OK is returned. If an error occurs, either SQLITE_NOMEM
27391 ** a no-op, replace it with a stub that returns SQLITE_OK but leaves
27394 ** If SQLITE_OK is returned, the caller is responsible for closing
27415 return (fd>=0?SQLITE_OK:unixLogError(SQLITE_CANTOPEN_BKPT, "open", zDirname));
27468 if( rc==SQLITE_OK && dirfd>=0 ){
27472 rc = SQLITE_OK;
27515 return SQLITE_OK;
27543 return SQLITE_OK;
27605 return SQLITE_OK;
27615 return SQLITE_OK;
27619 return SQLITE_OK;
27623 return SQLITE_OK;
27636 return SQLITE_OK;
27646 return SQLITE_OK; /* A no-op */
27767 int rc = SQLITE_OK; /* Result code form fcntl() */
27787 rc = (rc!=(-1)) ? SQLITE_OK : SQLITE_BUSY;
27795 if( rc==SQLITE_OK ){
27966 rc = SQLITE_OK;
27967 if( unixShmSystemLock(pShmNode, F_WRLCK, UNIX_SHM_DMS, 1)==SQLITE_OK ){
27972 if( rc==SQLITE_OK ){
27999 return SQLITE_OK;
28019 ** separate process), then *pp is set to NULL and SQLITE_OK returned. If
28026 ** memory and SQLITE_OK returned.
28038 int rc = SQLITE_OK;
28043 if( rc!=SQLITE_OK ) return rc;
28073 ** false, exit early. *pp will be set to NULL and SQLITE_OK returned.
28147 int rc = SQLITE_OK; /* Result code */
28179 rc = SQLITE_OK;
28183 if( rc==SQLITE_OK ){
28203 if( rc==SQLITE_OK ){
28207 rc = SQLITE_OK;
28212 if( rc==SQLITE_OK ){
28229 if( rc==SQLITE_OK ){
28231 if( rc==SQLITE_OK ){
28275 if( p==0 ) return SQLITE_OK;
28303 return SQLITE_OK;
28627 int rc = SQLITE_OK;
28689 if( rc!=SQLITE_OK ){
28732 if( rc!=SQLITE_OK ){
28765 if( (rc==SQLITE_OK) && (pNew->pInode->pSem==NULL) ){
28784 if( rc!=SQLITE_OK ){
28792 if( rc!=SQLITE_OK ){
28868 return SQLITE_OK;
28940 ** to create new files with. If no error occurs, then SQLITE_OK is returned
28961 int rc = SQLITE_OK; /* Return Code */
29021 ** be allocated, SQLITE_NOMEM is returned. Otherwise, SQLITE_OK is returned.
29041 return SQLITE_OK;
29099 int rc = SQLITE_OK; /* Function Return Code */
29156 if( rc!=SQLITE_OK ){
29163 if( rc!=SQLITE_OK ){
29182 if( rc!=SQLITE_OK ){
29274 if( rc==SQLITE_OK ){
29276 if( rc!=SQLITE_OK ){
29293 if( rc!=SQLITE_OK ){
29309 int rc = SQLITE_OK;
29319 if( rc==SQLITE_OK ){
29330 rc = SQLITE_OK;
29377 return SQLITE_OK;
29418 return SQLITE_OK;
29840 return SQLITE_OK;
29893 int rc = SQLITE_OK;
29918 if( proxyCreateLockPath(path) == SQLITE_OK ){
29957 if( rc==SQLITE_OK ){
29959 return SQLITE_OK;
30004 return SQLITE_OK;
30084 int rc = SQLITE_OK;
30138 rc = SQLITE_OK;
30162 return SQLITE_OK;
30170 int rc = SQLITE_OK;
30186 if( rc!=SQLITE_OK ){
30268 if( rc==SQLITE_OK ){
30286 if( rc==SQLITE_OK && createConch ){
30318 if( rc==SQLITE_OK && pFile->openFlags ){
30333 if( rc==SQLITE_OK && !pCtx->lockProxy ){
30336 if( rc!=SQLITE_OK && rc!=SQLITE_NOMEM && tryOldLockPath ){
30345 if( rc==SQLITE_OK ){
30356 if( rc==SQLITE_OK ){
30368 rc==SQLITE_OK?"ok":"failed"));
30379 int rc = SQLITE_OK; /* Subroutine return code */
30393 (rc==SQLITE_OK ? "ok" : "failed")));
30400 ** Make *pConchPath point to the new name. Return SQLITE_OK on success
30438 return SQLITE_OK;
30448 int rc = SQLITE_OK;
30457 return SQLITE_OK;
30500 return SQLITE_OK;
30515 int rc = SQLITE_OK;
30537 if( rc==SQLITE_OK ){
30557 rc = SQLITE_OK;
30561 if( rc==SQLITE_OK && lockPath ){
30565 if( rc==SQLITE_OK ){
30571 if( rc==SQLITE_OK ){
30589 (rc==SQLITE_OK ? "ok" : "failed")));
30613 return SQLITE_OK;
30617 int rc = SQLITE_OK;
30625 rc = SQLITE_OK;
30636 rc = SQLITE_OK;
30666 ** is set to SQLITE_OK unless an I/O error occurs during lock checking.
30671 if( rc==SQLITE_OK ){
30710 if( rc==SQLITE_OK ){
30734 if( rc==SQLITE_OK ){
30756 int rc = SQLITE_OK;
30784 return SQLITE_OK;
30899 return SQLITE_OK;
30910 return SQLITE_OK;
31818 return rc ? SQLITE_OK : SQLITE_IOERR;
31822 ** Read data from a file into a buffer. Return SQLITE_OK if all
31852 return SQLITE_OK;
31856 ** Write data from a buffer into a file. Return SQLITE_OK on success
31897 return SQLITE_OK;
31905 int rc = SQLITE_OK; /* Return code for this function */
31979 return SQLITE_OK;
31982 return SQLITE_OK;
32009 return SQLITE_OK;
32096 int rc = SQLITE_OK; /* Return code from subroutines */
32112 return SQLITE_OK;
32202 rc = SQLITE_OK;
32237 return SQLITE_OK;
32254 int rc = SQLITE_OK;
32288 return SQLITE_OK;
32292 return SQLITE_OK;
32296 return SQLITE_OK;
32303 return SQLITE_OK;
32306 return SQLITE_OK;
32485 rc = SQLITE_OK;
32493 rc==SQLITE_OK ? "ok" : "failed",
32611 if( SQLITE_OK!=rc ){
32619 if( winShmSystemLock(pShmNode, _SHM_WRLCK, WIN_SHM_DMS, 1)==SQLITE_OK ){
32621 if( rc!=SQLITE_OK ){
32625 if( rc==SQLITE_OK ){
32652 return SQLITE_OK;
32679 if( p==0 ) return SQLITE_OK;
32703 return SQLITE_OK;
32719 int rc = SQLITE_OK; /* Result code */
32747 rc = SQLITE_OK;
32751 if( rc==SQLITE_OK ){
32771 if( rc==SQLITE_OK ){
32775 rc = SQLITE_OK;
32780 if( rc==SQLITE_OK ){
32797 if( rc==SQLITE_OK ){
32799 if( rc==SQLITE_OK ){
32837 ** separate process), then *pp is set to NULL and SQLITE_OK returned. If
32844 ** memory and SQLITE_OK returned.
32856 int rc = SQLITE_OK;
32860 if( rc!=SQLITE_OK ) return rc;
32880 if( rc!=SQLITE_OK ){
32887 ** zero, exit early. *pp will be set to NULL and SQLITE_OK returned.
32894 if( rc!=SQLITE_OK ){
33091 return SQLITE_OK;
33183 int rc = SQLITE_OK; /* Function Return Code */
33241 if( rc!=SQLITE_OK ){
33430 && (error == ERROR_FILE_NOT_FOUND)) ? SQLITE_OK : SQLITE_IOERR_DELETE;
33498 return SQLITE_OK;
33518 return SQLITE_OK;
33526 return SQLITE_OK;
33576 return SQLITE_OK;
33610 if( rc == SQLITE_OK )
33900 return SQLITE_OK;
33903 return SQLITE_OK;
34082 if( p==0 ) return SQLITE_OK;
34097 return SQLITE_OK;
34113 if( p->u.aHash[h]==i ) return SQLITE_OK;
34142 return SQLITE_OK;
34582 if( rc!=SQLITE_OK && rc!=SQLITE_BUSY ){
34613 return (pPage==0 && eCreate) ? SQLITE_NOMEM : SQLITE_OK;
35319 return (p->apHash ? SQLITE_OK : SQLITE_NOMEM);
35441 return SQLITE_OK;
36762 ** * The Pager.errCode variable is set to something other than SQLITE_OK.
37220 # define pagerOpenWalIfPresent(z) SQLITE_OK
37221 # define pagerBeginReadTransaction(z) SQLITE_OK
37285 assert( pPager->errCode==SQLITE_OK );
37290 assert( pPager->errCode==SQLITE_OK );
37297 assert( pPager->errCode==SQLITE_OK );
37309 assert( pPager->errCode==SQLITE_OK );
37328 assert( pPager->errCode==SQLITE_OK );
37340 assert( pPager->errCode==SQLITE_OK );
37353 assert( pPager->errCode!=SQLITE_OK );
37444 ** that is read in *pRes. Return SQLITE_OK if everything worked, or an
37452 if( rc==SQLITE_OK ){
37465 ** Write a 32-bit integer into the given file descriptor. Return SQLITE_OK
37484 int rc = SQLITE_OK;
37511 int rc = SQLITE_OK;
37516 if( rc==SQLITE_OK && (pPager->eLock!=UNKNOWN_LOCK||eLock==EXCLUSIVE_LOCK) ){
37628 ** zMaster[0] is set to 0 and SQLITE_OK returned.
37642 if( SQLITE_OK!=(rc = sqlite3OsFileSize(pJrnl, &szJ))
37644 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-16, &len))
37646 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-12, &cksum))
37647 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, aMagic, 8, szJ-8))
37649 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, zMaster, len, szJ-16-len))
37661 ** definitely roll back, so just return SQLITE_OK and report a (nul)
37668 return SQLITE_OK;
37717 ** Otherwise, return SQLITE_OK.
37720 int rc = SQLITE_OK; /* Return code */
37732 if( rc==SQLITE_OK && !pPager->noSync ){
37742 if( rc==SQLITE_OK && iLimit>0 ){
37745 if( rc==SQLITE_OK && sz>iLimit ){
37769 int rc = SQLITE_OK; /* Return code */
37859 for(nWrite=0; rc==SQLITE_OK&&nWrite<JOURNAL_HDR_SZ(pPager); nWrite+=nHeader){
37879 ** is set to the value read from the journal header. SQLITE_OK is returned
37928 if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+8, pNRec))
37929 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+12, &pPager->cksumInit))
37930 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+16, pDbSize))
37940 if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+20, &iSectorSize))
37941 || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+24, &iPageSize))
37976 testcase( rc!=SQLITE_OK );
38025 return SQLITE_OK;
38068 if( SQLITE_OK==(rc = sqlite3OsFileSize(pPager->jfd, &jrnlSize))
38120 ** bitvecs of all open savepoints. Return SQLITE_OK if successful
38125 int rc = SQLITE_OK; /* Result code */
38132 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
38197 if( rc!=SQLITE_OK && pPager->eState==PAGER_ERROR ){
38220 pPager->errCode = SQLITE_OK;
38249 assert( rc==SQLITE_OK || !MEMDB );
38252 pPager->errCode==SQLITE_OK ||
38306 ** SQLITE_OK is returned if no error occurs. If an error occurs during
38316 int rc = SQLITE_OK; /* Error code from journal finalization operation */
38317 int rc2 = SQLITE_OK; /* Error code from db file unlock operation */
38335 return SQLITE_OK;
38349 rc = SQLITE_OK;
38399 assert( rc2==SQLITE_OK );
38410 return (rc==SQLITE_OK?rc2:rc);
38500 ** skipped and SQLITE_OK is returned.
38509 ** and played back, then SQLITE_OK is returned. If an IO error occurs
38566 if( rc!=SQLITE_OK ) return rc;
38568 if( rc!=SQLITE_OK ) return rc;
38581 return SQLITE_OK;
38594 if( pDone && (rc = sqlite3BitvecSet(pDone, pgno))!=SQLITE_OK ){
38695 if( rc!=SQLITE_OK ) return rc;
38784 ** occur, SQLITE_OK is returned.
38813 if( rc!=SQLITE_OK ) goto delmaster_out;
38821 if( rc!=SQLITE_OK ) goto delmaster_out;
38830 if( rc!=SQLITE_OK ) goto delmaster_out;
38837 if( rc!=SQLITE_OK ){
38848 if( rc!=SQLITE_OK ){
38854 if( rc!=SQLITE_OK ){
38898 ** If successful, return SQLITE_OK. If an IO error occurs while modifying
38902 int rc = SQLITE_OK;
38915 if( rc==SQLITE_OK && currentSize!=newSize ){
38926 if( rc==SQLITE_OK ){
39011 ** is then deleted and SQLITE_OK returned, just as if no corruption had
39040 if( rc!=SQLITE_OK ){
39057 if( rc==SQLITE_OK && zMaster[0] ){
39061 if( rc!=SQLITE_OK || !res ){
39078 if( rc!=SQLITE_OK ){
39080 rc = SQLITE_OK;
39119 if( rc!=SQLITE_OK ){
39134 if( rc!=SQLITE_OK ){
39136 rc = SQLITE_OK;
39145 rc = SQLITE_OK;
39169 sqlite3OsFileControl(pPager->fd,SQLITE_FCNTL_DB_UNCHANGED,0)>=SQLITE_OK
39183 if( rc==SQLITE_OK ){
39186 testcase( rc!=SQLITE_OK );
39188 if( rc==SQLITE_OK
39193 if( rc==SQLITE_OK ){
39195 testcase( rc!=SQLITE_OK );
39197 if( rc==SQLITE_OK && zMaster[0] && res ){
39202 testcase( rc!=SQLITE_OK );
39223 ** Otherwise, SQLITE_OK is returned.
39228 int rc = SQLITE_OK; /* Return code */
39238 return SQLITE_OK;
39245 if( rc==SQLITE_OK && !isInWal ){
39249 rc = SQLITE_OK;
39317 ** return an SQLite error code. Otherwise, SQLITE_OK.
39320 int rc = SQLITE_OK;
39330 if( rc==SQLITE_OK ){
39367 while( pList && rc==SQLITE_OK ){
39422 if( rc==SQLITE_OK && pPager->pBackup ){
39462 if( rc!=SQLITE_OK || changed ){
39475 ** If no error occurs, SQLITE_OK is returned and the size of the database
39503 if( rc!=SQLITE_OK ){
39522 return SQLITE_OK;
39536 ** Return SQLITE_OK or an error code.
39545 int rc = SQLITE_OK;
39563 if( rc==SQLITE_OK ){
39615 int rc = SQLITE_OK; /* Return code */
39657 while( rc==SQLITE_OK && pPager->journalOff<iHdrOff ){
39670 while( rc==SQLITE_OK && pPager->journalOff<szJ ){
39687 for(ii=0; rc==SQLITE_OK && ii<nJRec && pPager->journalOff<szJ; ii++){
39692 assert( rc!=SQLITE_OK || pPager->journalOff>=szJ );
39705 for(ii=pSavepoint->iSubRec; rc==SQLITE_OK && ii<pPager->nSubRec; ii++){
39713 if( rc==SQLITE_OK ){
39808 ** Write the file descriptor into *pFile. Return SQLITE_OK on success
39834 assert( rc!=SQLITE_OK || isOpen(pFile) );
39891 ** In all other cases, SQLITE_OK is returned.
39899 int rc = SQLITE_OK;
39923 if( rc==SQLITE_OK ){
39928 if( rc==SQLITE_OK ){
39939 if( rc==SQLITE_OK ){
40006 ** zeroed and SQLITE_OK returned. The rationale for this is that this
40015 int rc = SQLITE_OK;
40029 rc = SQLITE_OK;
40052 ** (returning SQLITE_OK immediately).
40059 ** Return SQLITE_OK on success and an error code if we cannot obtain
40141 ** If everything goes as planned, SQLITE_OK is returned. Otherwise,
40145 int rc = SQLITE_OK;
40149 if( rc==SQLITE_OK ){
40217 return SQLITE_OK;
40268 ** page currently held in memory before returning SQLITE_OK. If an IO
40281 if( rc!=SQLITE_OK ) return rc;
40321 if( rc==SQLITE_OK && 0==memcmp(aMagic, aJournalMagic, 8) ){
40325 if( rc!=SQLITE_OK && rc!=SQLITE_IOERR_SHORT_READ ){
40344 if( rc!=SQLITE_OK ) return rc;
40350 if( rc!=SQLITE_OK ) return rc;
40358 if( rc!=SQLITE_OK ) return rc;
40365 if( rc!=SQLITE_OK ) return rc;
40379 return SQLITE_OK;
40410 ** If everything is successful, SQLITE_OK is returned. If an IO error
40415 int rc = SQLITE_OK; /* Return code */
40423 ** is not possible for rc to be other than SQLITE_OK if this branch
40427 assert( pPager->tempFile && rc==SQLITE_OK );
40434 assert( rc!=SQLITE_OK || isOpen(pPager->fd) );
40435 if( rc==SQLITE_OK && pPager->dbSize>pPager->dbHintSize ){
40441 while( rc==SQLITE_OK && pList ){
40498 ** SQLITE_OK is returned if everything goes according to plan. An
40503 int rc = SQLITE_OK;
40522 ** This function returns SQLITE_OK if everything is successful, an IO
40528 int rc = SQLITE_OK;
40544 if( rc==SQLITE_OK ){
40552 if( rc==SQLITE_OK ){
40557 if( rc==SQLITE_OK ){
40579 ** SQLITE_OK returned. If an IO error occurs while trying to make the
40581 ** made clean for some other reason, but no error occurs, then SQLITE_OK
40586 int rc = SQLITE_OK;
40606 if( NEVER(pPager->errCode) ) return SQLITE_OK;
40607 if( pPager->doNotSpill ) return SQLITE_OK;
40609 return SQLITE_OK;
40618 if( rc==SQLITE_OK ){
40658 rc==SQLITE_OK && pPg->pgno>pPager->dbSize && subjRequiresPage(pPg)
40664 if( rc==SQLITE_OK ){
40671 if( rc==SQLITE_OK ){
40704 ** successfully, SQLITE_OK is returned and *ppPager set to point to
40721 int rc = SQLITE_OK; /* Return code */
40770 if( rc==SQLITE_OK && nPathname+8>pVfs->mxPathname ){
40779 if( rc!=SQLITE_OK ){
40854 if( rc==SQLITE_OK && !readOnly ){
40897 if( rc==SQLITE_OK ){
40900 testcase( rc!=SQLITE_OK );
40906 if( rc!=SQLITE_OK ){
40967 return SQLITE_OK;
40987 ** just deleted using OsDelete, *pExists is set to 0 and SQLITE_OK
40998 ** SQLITE_OK returned. If no hot-journal file is present, *pExists is
40999 ** set to 0 and SQLITE_OK returned. If an IO error occurs while trying
41005 int rc = SQLITE_OK; /* Return code */
41021 if( rc==SQLITE_OK && exists ){
41033 if( rc==SQLITE_OK && !locked ){
41043 if( rc==SQLITE_OK ){
41046 if( pagerLockDb(pPager, RESERVED_LOCK)==SQLITE_OK ){
41062 if( rc==SQLITE_OK ){
41066 rc = SQLITE_OK;
41083 rc = SQLITE_OK;
41116 ** If everything is successful, SQLITE_OK is returned. If an IO error
41121 int rc = SQLITE_OK; /* Return code */
41141 if( rc!=SQLITE_OK ){
41153 if( rc!=SQLITE_OK ){
41173 if( rc!=SQLITE_OK ){
41195 if( rc==SQLITE_OK && bExists ){
41200 assert( rc!=SQLITE_OK || isOpen(pPager->jfd) );
41201 if( rc==SQLITE_OK && fout&SQLITE_OPEN_READONLY ){
41217 assert( rc==SQLITE_OK );
41219 if( rc==SQLITE_OK ){
41227 if( rc!=SQLITE_OK ){
41282 if( rc!=SQLITE_OK ){
41299 assert( pPager->pWal==0 || rc==SQLITE_OK );
41304 assert( rc==SQLITE_OK );
41308 if( pPager->eState==PAGER_OPEN && rc==SQLITE_OK ){
41313 if( rc!=SQLITE_OK ){
41340 ** successfully obtained, it is copied to *ppPage and SQLITE_OK returned.
41405 if( pPager->errCode!=SQLITE_OK ){
41411 if( rc!=SQLITE_OK ){
41426 return SQLITE_OK;
41469 if( rc!=SQLITE_OK ){
41476 return SQLITE_OK;
41479 assert( rc!=SQLITE_OK );
41558 ** Return SQLITE_OK if everything is successful. Otherwise, return
41563 int rc = SQLITE_OK; /* Return code */
41603 if( rc==SQLITE_OK && pPager->zFilename!=NULL
41618 assert( rc!=SQLITE_OK || isOpen(pPager->jfd) );
41625 if( rc==SQLITE_OK ){
41635 if( rc!=SQLITE_OK ){
41664 int rc = SQLITE_OK;
41679 if( rc!=SQLITE_OK ){
41698 if( rc==SQLITE_OK && exFlag ){
41703 if( rc==SQLITE_OK ){
41720 assert( rc==SQLITE_OK || pPager->eState==PAGER_READER );
41721 assert( rc!=SQLITE_OK || pPager->eState==PAGER_WRITER_LOCKED );
41739 int rc = SQLITE_OK;
41772 if( rc!=SQLITE_OK ) return rc;
41815 if( rc!=SQLITE_OK ) return rc;
41817 if( rc!=SQLITE_OK ) return rc;
41819 if( rc!=SQLITE_OK ) return rc;
41833 assert( rc==SQLITE_OK || rc==SQLITE_NOMEM );
41835 if( rc!=SQLITE_OK ){
41871 ** this routine returns SQLITE_OK.
41879 ** as appropriate. Otherwise, SQLITE_OK.
41882 int rc = SQLITE_OK;
41925 for(ii=0; ii<nPage && rc==SQLITE_OK; ii++){
41931 if( rc==SQLITE_OK ){
41953 if( rc==SQLITE_OK && needSync ){
42030 int rc = SQLITE_OK;
42062 assert( pPgHdr==0 || rc==SQLITE_OK );
42067 ** above is always successful - hence the ALWAYS on rc==SQLITE_OK.
42069 if( !DIRECT_MODE && ALWAYS(rc==SQLITE_OK) ){
42073 if( rc==SQLITE_OK ){
42082 if( rc==SQLITE_OK ){
42085 if( rc==SQLITE_OK ){
42104 ** function returns SQLITE_OK. Otherwise, an IO error code is returned.
42107 int rc = SQLITE_OK;
42125 ** successful, or the connection is in WAL mode, SQLITE_OK is returned.
42130 int rc = SQLITE_OK;
42173 int rc = SQLITE_OK; /* Return code */
42189 if( pPager->eState<PAGER_WRITER_CACHEMOD ) return SQLITE_OK;
42208 assert( pList!=0 || rc!=SQLITE_OK );
42215 if( rc==SQLITE_OK ){
42262 if( rc==SQLITE_OK ){
42269 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
42293 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
42296 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
42308 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
42322 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
42325 if( rc!=SQLITE_OK ){
42338 if( rc!=SQLITE_OK ) goto commit_phase_one_exit;
42350 if( rc==SQLITE_OK && !pagerUseWal(pPager) ){
42370 ** moves into the error state. Otherwise, SQLITE_OK is returned.
42373 int rc = SQLITE_OK; /* Return code */
42403 return SQLITE_OK;
42438 int rc = SQLITE_OK; /* Return code */
42447 if( pPager->eState<=PAGER_READER ) return SQLITE_OK;
42453 if( rc==SQLITE_OK ) rc = rc2;
42470 assert( pPager->eState==PAGER_READER || rc!=SQLITE_OK );
42471 assert( rc==SQLITE_OK || rc==SQLITE_FULL || (rc&0xFF)==SQLITE_IOERR );
42549 ** returned. Otherwise, SQLITE_OK.
42552 int rc = SQLITE_OK; /* Return code */
42628 ** savepoint. If no errors occur, SQLITE_OK is returned.
42636 if( rc==SQLITE_OK && iSavepoint<pPager->nSavepoint ){
42657 assert( rc==SQLITE_OK );
42762 ** occurs. Otherwise, it returns SQLITE_OK.
42804 && SQLITE_OK!=(rc = subjournalPage(pPg))
42876 if( rc!=SQLITE_OK ){
42888 return SQLITE_OK;
43017 int rc = SQLITE_OK;
43024 assert( rc==SQLITE_OK );
43027 if( rc==SQLITE_OK ){
43030 if( rc==SQLITE_OK && state==PAGER_READER ){
43095 int rc = SQLITE_OK;
43128 if( rc!=SQLITE_OK ){
43144 int rc = SQLITE_OK;
43161 if( rc==SQLITE_OK ){
43178 ** return SQLITE_OK. If an error occurs or the VFS used by the pager does
43183 ** the WAL file is already open, set *pbOpen to 1 and return SQLITE_OK
43190 int rc = SQLITE_OK; /* Return code */
43205 if( rc==SQLITE_OK ){
43226 int rc = SQLITE_OK;
43237 if( rc==SQLITE_OK ){
43242 if( rc==SQLITE_OK && logexists ){
43250 if( rc==SQLITE_OK && pPager->pWal ){
43252 if( rc==SQLITE_OK ){
43781 ** page and SQLITE_OK is returned. If an error (an OOM or VFS error) occurs,
43785 int rc = SQLITE_OK;
43815 assert( iPage==0 || *ppPage || rc!=SQLITE_OK );
44039 if( pWal->exclusiveMode ) return SQLITE_OK;
44044 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
44055 if( pWal->exclusiveMode ) return SQLITE_OK;
44060 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
44110 assert( rc==SQLITE_OK || iHash>0 );
44112 if( rc==SQLITE_OK ){
44244 if( rc==SQLITE_OK ){
44350 if( rc!=SQLITE_OK ){
44367 if( rc!=SQLITE_OK ){
44426 if( rc!=SQLITE_OK ) break;
44430 if( rc!=SQLITE_OK ) break;
44448 if( rc==SQLITE_OK ){
44470 sqlite3_log(SQLITE_OK, "Recovered %d frames from WAL file %s",
44508 ** If the log file is successfully opened, SQLITE_OK is returned and
44555 if( rc==SQLITE_OK && flags&SQLITE_OPEN_READONLY ){
44559 if( rc!=SQLITE_OK ){
44759 ** return SQLITE_OK. Otherwise, return an error code. If this routine
44772 int rc = SQLITE_OK; /* Return Code */
44802 for(i=0; rc==SQLITE_OK && i<nSegment; i++){
44808 if( rc==SQLITE_OK ){
44834 if( rc!=SQLITE_OK ){
44923 if( pInfo->nBackfill>=pWal->hdr.mxFrame ) return SQLITE_OK;
44927 if( rc!=SQLITE_OK ){
44946 if( rc==SQLITE_OK ){
44959 && (rc = walBusyLock(pWal, xBusy, pBusyArg, WAL_READ_LOCK(0), 1))==SQLITE_OK
44972 if( rc==SQLITE_OK ){
44975 if( rc==SQLITE_OK && nSize<nReq ){
44981 while( rc==SQLITE_OK && 0==walIteratorNext(pIter, &iDbpage, &iFrame) ){
44988 if( rc!=SQLITE_OK ) break;
44992 if( rc!=SQLITE_OK ) break;
44996 if( rc==SQLITE_OK ){
45001 if( rc==SQLITE_OK && sync_flags ){
45005 if( rc==SQLITE_OK ){
45017 rc = SQLITE_OK;
45025 if( rc==SQLITE_OK && eMode!=SQLITE_CHECKPOINT_PASSIVE ){
45032 if( rc==SQLITE_OK ){
45052 int rc = SQLITE_OK;
45065 if( rc==SQLITE_OK ){
45072 if( rc==SQLITE_OK ){
45161 ** If the wal-index header is successfully read, return SQLITE_OK.
45174 if( rc!=SQLITE_OK ){
45190 if( badHdr && SQLITE_OK==(rc = walLockExclusive(pWal, WAL_WRITE_LOCK, 1)) ){
45192 if( SQLITE_OK==(rc = walIndexPage(pWal, 0, &page0)) ){
45229 ** On success return SQLITE_OK. On a permanent failure (such an
45279 int rc = SQLITE_OK; /* Return code */
45330 }else if( SQLITE_OK==(rc = walLockShared(pWal, WAL_RECOVER_LOCK)) ){
45337 if( rc!=SQLITE_OK ){
45349 if( rc==SQLITE_OK ){
45368 return SQLITE_OK;
45394 if( rc==SQLITE_OK ){
45471 testcase( rc==SQLITE_OK );
45517 return SQLITE_OK;
45554 if( rc!=SQLITE_OK ){
45604 return SQLITE_OK;
45674 return SQLITE_OK;
45683 ** other than SQLITE_OK, it is not invoked again and the error code is
45687 ** function returns SQLITE_OK.
45690 int rc = SQLITE_OK;
45701 ALWAYS(rc==SQLITE_OK) && iFrame<=iMax;
45720 assert( rc==SQLITE_OK );
45745 int rc = SQLITE_OK;
45777 ** SQLITE_OK is returned if no error is encountered (regardless of whether
45782 int rc = SQLITE_OK;
45792 if( rc==SQLITE_OK ){
45828 testcase( rc==SQLITE_OK );
45865 if( SQLITE_OK!=(rc = walRestartLog(pWal)) ){
45895 if( rc!=SQLITE_OK ){
45919 if( rc!=SQLITE_OK ){
45925 if( rc!=SQLITE_OK ){
45950 if( rc!=SQLITE_OK ){
45955 if( rc!=SQLITE_OK ){
45971 for(p=pList; p && rc==SQLITE_OK; p=p->pDirty){
45975 while( nLast>0 && rc==SQLITE_OK ){
45981 if( rc==SQLITE_OK ){
46051 if( rc==SQLITE_OK ){
46055 rc = SQLITE_OK;
46060 if( rc==SQLITE_OK ){
46065 if( rc==SQLITE_OK ){
46073 if( rc==SQLITE_OK || rc==SQLITE_BUSY ){
46094 return (rc==SQLITE_OK && eMode!=eMode2 ? SQLITE_BUSY : rc);
46152 if( walLockShared(pWal, WAL_READ_LOCK(pWal->readLock))!=SQLITE_OK ){
46930 if( sqlite3_mutex_try(p->pBt->mutex)==SQLITE_OK ){
47191 return SQLITE_OK;
47207 #define querySharedCacheTableLock(a,b,c) SQLITE_OK
47208 #define setSharedCacheTableLock(a,b,c) SQLITE_OK
47338 ** SQLITE_OK if the lock may be obtained (by calling
47359 return SQLITE_OK;
47391 return SQLITE_OK;
47408 ** already been called and returned SQLITE_OK).
47410 ** SQLITE_OK is returned if the lock is added successfully. SQLITE_NOMEM
47431 assert( SQLITE_OK==querySharedCacheTableLock(p, iTable, eLock) );
47464 return SQLITE_OK;
47645 int rc = SQLITE_OK;
47653 if( rc==SQLITE_OK && pgno<=sqlite3BitvecSize(pBt->pHasContent) ){
47695 assert( rc==SQLITE_OK ); /* KeySize() cannot fail */
47707 if( rc==SQLITE_OK ){
47718 if( rc==SQLITE_OK ){
47745 if( SQLITE_OK!=rc ){
47750 return SQLITE_OK;
47810 if( rc==SQLITE_OK ){
47821 SQLITE_OK)
47844 return SQLITE_OK;
47877 ** If *pRC is initially non-zero (non-SQLITE_OK) then this routine is
47901 if( rc!=SQLITE_OK ){
47915 if( rc==SQLITE_OK ){
47930 ** An error code is returned if something goes wrong, otherwise SQLITE_OK.
47955 return SQLITE_OK;
47960 #define ptrmapGet(w,x,y,z) SQLITE_OK
48248 return SQLITE_OK;
48254 ** of the first byte of allocated space. Return either SQLITE_OK or
48325 return SQLITE_OK;
48352 return SQLITE_OK;
48441 return SQLITE_OK;
48478 return SQLITE_OK;
48484 ** Return SQLITE_OK on success. If we see that the page does
48486 ** SQLITE_CORRUPT. Note that a return of SQLITE_OK does not
48593 return SQLITE_OK;
48669 return SQLITE_OK;
48720 if( rc==SQLITE_OK ){
48722 if( rc!=SQLITE_OK ){
48820 int rc = SQLITE_OK; /* Result code from this function */
48942 if( rc==SQLITE_OK ){
48945 if( rc!=SQLITE_OK ){
49046 if( rc!=SQLITE_OK ){
49182 return SQLITE_OK;
49206 return SQLITE_OK;
49230 return SQLITE_OK;
49270 int rc = SQLITE_OK;
49359 int rc = SQLITE_OK;
49399 ** SQLITE_OK is returned on success. If the file is not a
49414 if( rc!=SQLITE_OK ) return rc;
49416 if( rc!=SQLITE_OK ) return rc;
49452 ** return SQLITE_OK and return without populating BtShared.pPage1.
49461 if( rc!=SQLITE_OK ){
49465 return SQLITE_OK;
49492 ** zero and return SQLITE_OK. The caller will call this function
49538 return SQLITE_OK;
49578 return SQLITE_OK;
49607 return SQLITE_OK;
49648 int rc = SQLITE_OK;
49694 if( SQLITE_OK!=rc ) goto trans_begun;
49699 ** lockBtree() returns something other than SQLITE_OK. lockBtree()
49700 ** may return SQLITE_OK but leave pBt->pPage1 set to 0 if after
49705 while( pBt->pPage1==0 && SQLITE_OK==(rc = lockBtree(pBt)) );
49707 if( rc==SQLITE_OK && wrflag ){
49712 if( rc==SQLITE_OK ){
49718 if( rc!=SQLITE_OK ){
49724 if( rc==SQLITE_OK ){
49756 if( rc==SQLITE_OK ){
49765 if( rc==SQLITE_OK && wrflag ){
49795 if( rc!=SQLITE_OK ){
49881 return SQLITE_OK;
49916 if( rc!=SQLITE_OK ){
49931 if( rc!=SQLITE_OK ){
49938 if( rc!=SQLITE_OK ){
49950 if( rc!=SQLITE_OK ){
49954 if( rc!=SQLITE_OK ){
49960 if( rc==SQLITE_OK ){
49972 ** return SQLITE_OK. If there is no work to do (and therefore no
50005 if( rc!=SQLITE_OK ){
50022 if( rc!=SQLITE_OK ){
50033 if( rc!=SQLITE_OK ){
50047 if( rc!=SQLITE_OK ){
50056 if( rc==SQLITE_OK ){
50060 if( rc!=SQLITE_OK ){
50072 if( rc!=SQLITE_OK ){
50077 if( rc!=SQLITE_OK ){
50086 return SQLITE_OK;
50095 ** SQLITE_OK is returned. Otherwise an SQLite error code.
50108 if( rc==SQLITE_OK ){
50121 ** If SQLITE_OK is returned, then *pnTrunc is set to the number of pages
50127 int rc = SQLITE_OK;
50163 for(iFree=nOrig; iFree>nFin && rc==SQLITE_OK; iFree--){
50166 if( (rc==SQLITE_DONE || rc==SQLITE_OK) && nFree>0 ){
50174 if( rc!=SQLITE_OK ){
50184 # define setChildPtrmaps(x) SQLITE_OK
50214 int rc = SQLITE_OK;
50221 if( rc!=SQLITE_OK ){
50298 if( p->inTrans==TRANS_NONE ) return SQLITE_OK;
50311 if( rc!=SQLITE_OK && bCleanup==0 ){
50320 return SQLITE_OK;
50330 if( rc==SQLITE_OK ){
50408 if( rc!=SQLITE_OK ){
50426 if( rc2!=SQLITE_OK ){
50433 if( btreeGetPage(pBt, 1, &pPage1, 0)==SQLITE_OK ){
50500 int rc = SQLITE_OK;
50507 if( rc==SQLITE_OK ){
50600 return SQLITE_OK;
50697 return SQLITE_OK;
50770 ** This routine cannot fail. It always returns SQLITE_OK.
50781 return SQLITE_OK;
50792 ** Failure is not possible. This function always returns SQLITE_OK.
50801 return SQLITE_OK;
50831 int rc = SQLITE_OK;
50854 if( rc==SQLITE_OK && eType==PTRMAP_OVERFLOW2 && pgno==ovfl ){
50863 if( rc==SQLITE_OK ){
50865 assert( rc==SQLITE_OK || pPage==0 );
50866 if( rc==SQLITE_OK ){
50877 return (rc==SQLITE_DONE ? SQLITE_OK : rc);
50889 ** SQLITE_OK is returned on success, otherwise an error code.
50901 if( rc!=SQLITE_OK ){
50909 return SQLITE_OK;
50948 int rc = SQLITE_OK;
50984 if( rc==SQLITE_OK && amt>0 ){
51019 for( ; rc==SQLITE_OK && amt>0 && nextPage; iIdx++){
51050 if( rc==SQLITE_OK ){
51066 if( rc==SQLITE_OK && amt>0 ){
51080 ** Return SQLITE_OK on success or an error code if anything goes
51097 ** Return SQLITE_OK on success or an error code if anything goes
51112 if( rc==SQLITE_OK ){
51244 return SQLITE_OK;
51314 int rc = SQLITE_OK;
51324 assert( pCur->skipNext!=SQLITE_OK );
51338 if( rc!=SQLITE_OK ){
51390 int rc = SQLITE_OK;
51395 while( rc==SQLITE_OK && !(pPage = pCur->apPage[pCur->iPage])->leaf ){
51415 int rc = SQLITE_OK;
51420 while( rc==SQLITE_OK && !(pPage = pCur->apPage[pCur->iPage])->leaf ){
51425 if( rc==SQLITE_OK ){
51433 /* Move the cursor to the first entry in the table. Return SQLITE_OK
51443 if( rc==SQLITE_OK ){
51456 /* Move the cursor to the last entry in the table. Return SQLITE_OK
51478 return SQLITE_OK;
51482 if( rc==SQLITE_OK ){
51490 pCur->atLast = rc==SQLITE_OK ?1:0;
51545 return SQLITE_OK;
51549 return SQLITE_OK;
51563 return SQLITE_OK;
51661 rc = SQLITE_OK;
51687 rc = SQLITE_OK;
51729 if( rc!=SQLITE_OK ){
51735 return SQLITE_OK;
51740 return SQLITE_OK;
51763 return SQLITE_OK;
51772 rc = SQLITE_OK;
51778 return SQLITE_OK;
51797 if( rc!=SQLITE_OK ){
51803 return SQLITE_OK;
51808 return SQLITE_OK;
51826 return SQLITE_OK;
51838 rc = SQLITE_OK;
51853 ** SQLITE_OK is returned on success. Any other return value indicates
51977 if( rc!=SQLITE_OK ){
51995 if( rc!=SQLITE_OK ){
51999 if( rc!=SQLITE_OK ){
52063 if( rc==SQLITE_OK ){
52065 if( rc!=SQLITE_OK ){
52093 if( rc==SQLITE_OK ){
52109 if( rc!=SQLITE_OK ){
52120 if( rc==SQLITE_OK ){
52129 assert( rc!=SQLITE_OK || sqlite3PagerIswriteable((*ppPage)->pDbPage) );
52202 if( rc!=SQLITE_OK ){
52228 if( rc==SQLITE_OK ){
52247 if( pPage==0 && SQLITE_OK!=(rc = btreeGetPage(pBt, iPage, &pPage, 0)) ){
52251 if( rc!=SQLITE_OK ){
52268 if( (*pRC)==SQLITE_OK ){
52287 return SQLITE_OK; /* No overflow pages. Return without doing anything */
52332 return SQLITE_OK;
52434 if( pBt->autoVacuum && rc==SQLITE_OK ){
52494 return SQLITE_OK;
52605 if( rc!=SQLITE_OK ){
52743 if( rc==SQLITE_OK ){
52865 if( (*pRC)==SQLITE_OK ){
52891 if( rc!=SQLITE_OK ){
52958 int rc = SQLITE_OK; /* The return code */
53268 if( rc!=SQLITE_OK ){
53390 if( rc!=SQLITE_OK ) goto balance_cleanup;
53566 ** page and SQLITE_OK is returned. In this case the caller is required
53584 if( rc==SQLITE_OK ){
53611 return SQLITE_OK;
53625 int rc = SQLITE_OK;
53646 if( rc==SQLITE_OK ){
53662 if( rc==SQLITE_OK ){
53728 }while( rc==SQLITE_OK );
53778 assert( pCur->skipNext!=SQLITE_OK );
53857 assert( rc!=SQLITE_OK || pPage->nCell>0 || pPage->nOverflow>0 );
53881 if( rc==SQLITE_OK && pPage->nOverflow ){
54000 if( rc==SQLITE_OK && pCur->iPage>iCellDepth ){
54007 if( rc==SQLITE_OK ){
54073 if( rc!=SQLITE_OK ){
54091 if( rc!=SQLITE_OK ){
54098 if( rc!=SQLITE_OK ){
54108 if( rc!=SQLITE_OK ){
54112 if( rc!=SQLITE_OK ){
54116 if( rc!=SQLITE_OK ){
54157 return SQLITE_OK;
54241 if( SQLITE_OK==rc ){
54314 if( rc!=SQLITE_OK ){
54325 if( rc!=SQLITE_OK ){
54330 if( rc!=SQLITE_OK ){
54337 if( rc!=SQLITE_OK ){
54398 assert( SQLITE_OK==querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK) );
54427 if( rc==SQLITE_OK ){
54446 ** SQLITE_OK is returned if the operation is successfully executed.
54458 while( rc==SQLITE_OK ){
54478 ** If all pages in the tree have been visited, return SQLITE_OK to the
54486 return SQLITE_OK;
54588 if( rc!=SQLITE_OK ){
55064 int rc = SQLITE_OK;
55128 ** sqlite_master table. Otherwise SQLITE_OK.
55135 assert( rc==SQLITE_OK || rc==SQLITE_LOCKED_SHAREDCACHE );
55148 int rc = SQLITE_OK;
55157 if( rc==SQLITE_OK ){
55184 if( rc!=SQLITE_OK ){
55246 if( rc==SQLITE_OK ){
55250 if( rc==SQLITE_OK ){
55252 if( rc==SQLITE_OK ){
55471 return (rc!=SQLITE_OK && rc!=SQLITE_BUSY && ALWAYS(rc!=SQLITE_LOCKED));
55490 int rc = SQLITE_OK;
55521 if( rc==SQLITE_OK && newPgsz!=nSrcPgsz ) rc = SQLITE_READONLY;
55529 for(iOff=iEnd-(i64)nSrcPgsz; rc==SQLITE_OK && iOff<iEnd; iOff+=nDestPgsz){
55533 if( SQLITE_OK==(rc = sqlite3PagerGet(pDestPager, iDest, &pDestPg))
55534 && SQLITE_OK==(rc = sqlite3PagerWrite(pDestPg))
55561 ** Return SQLITE_OK if everything is successful, or an SQLite error
55567 if( rc==SQLITE_OK && iCurrent>iSize ){
55615 rc = SQLITE_OK;
55619 if( SQLITE_OK==rc && p->bDestLocked==0
55620 && SQLITE_OK==(rc = sqlite3BtreeBeginTrans(p->pDest, 2))
55630 if( rc==SQLITE_OK && 0==sqlite3BtreeIsInReadTrans(p->pSrc) ){
55640 if( SQLITE_OK==rc && destMode==PAGER_JOURNALMODE_WAL && pgszSrc!=pgszDest ){
55654 if( rc==SQLITE_OK ){
55661 if( rc==SQLITE_OK ){
55677 && (rc = sqlite3BtreeUpdateMeta(p->pDest,1,p->iDestSchema+1))==SQLITE_OK
55743 rc==SQLITE_OK && iOff<iEnd;
55749 if( rc==SQLITE_OK ){
55755 if( rc==SQLITE_OK ){
55760 if( rc==SQLITE_OK ){
55768 if( SQLITE_OK==rc
55769 && SQLITE_OK==(rc = sqlite3BtreeCommitPhaseTwo(p->pDest, 0))
55784 assert( rc2==SQLITE_OK );
55809 if( p==0 ) return SQLITE_OK;
55833 rc = (p->rc==SQLITE_DONE) ? SQLITE_OK : p->rc;
55894 if( rc!=SQLITE_OK ){
55954 assert( b.rc!=SQLITE_OK );
55956 if( rc==SQLITE_OK ){
56001 ** SQLITE_OK is returned if the conversion is successful (or not required).
56011 return SQLITE_OK;
56018 /* MemTranslate() may return SQLITE_OK or SQLITE_NOMEM. If NOMEM is returned,
56022 assert(rc==SQLITE_OK || rc==SQLITE_NOMEM);
56023 assert(rc==SQLITE_OK || pMem->enc!=desiredEnc);
56076 return (pMem->z ? SQLITE_OK : SQLITE_NOMEM);
56085 ** Return SQLITE_OK on success or SQLITE_NOMEM if malloc fails.
56105 return SQLITE_OK;
56133 return SQLITE_OK;
56144 return SQLITE_OK; /* Nothing to do */
56152 return SQLITE_OK;
56169 int rc = SQLITE_OK;
56209 ** Return SQLITE_ERROR if the finalizer reports an error. SQLITE_OK
56213 int rc = SQLITE_OK;
56409 return SQLITE_OK;
56422 return SQLITE_OK;
56447 return SQLITE_OK;
56603 int rc = SQLITE_OK;
56670 return SQLITE_OK;
56731 return SQLITE_OK;
56874 int rc = SQLITE_OK; /* Return code */
56892 }else if( SQLITE_OK==(rc = sqlite3VdbeMemGrow(pMem, amt+2, 0)) ){
56903 if( rc!=SQLITE_OK ){
56939 if( sqlite3VdbeMemMakeWriteable(pVal)!=SQLITE_OK ){
56996 return SQLITE_OK;
57043 if( SQLITE_OK==sqlite3ValueFromExpr(db,pExpr->pLeft,enc,affinity,&pVal) ){
57078 return SQLITE_OK;
57244 return (pNew ? SQLITE_OK : SQLITE_NOMEM);
58258 int rc = SQLITE_OK; /* Return code */
58263 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY || p->rc==SQLITE_NOMEM );
58308 p->rc = SQLITE_OK;
58356 if( j==nSub && SQLITE_OK==sqlite3VdbeMemGrow(pSub, nByte, 1) ){
58424 p->rc = SQLITE_OK;
58636 p->rc = SQLITE_OK;
58825 int rc = SQLITE_OK;
58830 ** SQLITE_OK so p is not used.
58849 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
58857 if( rc!=SQLITE_OK ){
58881 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
58893 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
58899 if( rc==SQLITE_OK ){
58928 }while( rc==SQLITE_OK && res );
58929 if( rc==SQLITE_OK ){
58936 if( rc!=SQLITE_OK ){
58960 if( rc!=SQLITE_OK ){
58974 && SQLITE_OK!=(rc = sqlite3OsSync(pMaster, SQLITE_SYNC_NORMAL))
58992 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
59000 if( rc!=SQLITE_OK ){
59104 ** Otherwise SQLITE_OK.
59108 int rc = SQLITE_OK;
59124 int rc2 = SQLITE_OK;
59130 if( rc2==SQLITE_OK ){
59133 if( rc==SQLITE_OK ){
59155 ** violations, return SQLITE_ERROR. Otherwise, SQLITE_OK.
59170 return SQLITE_OK;
59212 return SQLITE_OK;
59259 if( p->rc==SQLITE_OK ){
59273 if( p->rc==SQLITE_OK || (p->errorAction==OE_Fail && !isSpecialError) ){
59275 if( rc!=SQLITE_OK ){
59291 }else if( rc!=SQLITE_OK ){
59303 if( p->rc==SQLITE_OK || p->errorAction==OE_Fail ){
59318 ** error code is SQLITE_OK or SQLITE_CONSTRAINT, then promote the
59322 ** is SAVEPOINT_ROLLBACK. But if p->rc==SQLITE_OK then eStatementOp
59323 ** must be SAVEPOINT_RELEASE. Hence the NEVER(p->rc==SQLITE_OK) in
59330 if( NEVER(p->rc==SQLITE_OK) || p->rc==SQLITE_CONSTRAINT ){
59355 if( p->rc!=SQLITE_OK && db->flags&SQLITE_InternChanges ){
59387 return (p->rc==SQLITE_BUSY ? SQLITE_BUSY : SQLITE_OK);
59393 ** in p->rc. This routine sets that result back to SQLITE_OK.
59396 p->rc = SQLITE_OK;
59436 sqlite3Error(db, SQLITE_OK, 0);
59487 int rc = SQLITE_OK;
59600 return SQLITE_OK;
60139 ** Return SQLITE_OK if everything works, or an error code otherwise.
60161 assert( rc==SQLITE_OK ); /* pCur is always valid so KeySize cannot fail */
60203 return SQLITE_OK;
60217 ** or greater than pUnpacked. Return SQLITE_OK on success.
60236 assert( rc==SQLITE_OK ); /* pCur is always valid so KeySize cannot fail */
60251 return SQLITE_OK;
60404 rc = SQLITE_OK;
60434 rc = SQLITE_OK;
60452 int rc = SQLITE_OK;
60650 int rc = SQLITE_OK;
60657 if( db->xWalCallback && nEntry>0 && rc==SQLITE_OK ){
60763 assert( p->rc==SQLITE_OK );
60765 if( p->rc!=SQLITE_OK ){
60802 int rc = SQLITE_OK; /* Result from sqlite3Step() */
60803 int rc2 = SQLITE_OK; /* Result from sqlite3Reprepare() */
60815 && (rc2 = rc = sqlite3Reprepare(v))==SQLITE_OK ){
60819 if( rc2!=SQLITE_OK && ALWAYS(v->isPrepareV2) && ALWAYS(db->pErr) ){
61306 ** out of range, then SQLITE_RANGE is returned. Othewise SQLITE_OK.
61336 sqlite3Error(p->db, SQLITE_OK, 0);
61352 return SQLITE_OK;
61371 if( rc==SQLITE_OK ){
61375 if( rc==SQLITE_OK && encoding!=0 ){
61405 if( rc==SQLITE_OK ){
61418 if( rc==SQLITE_OK ){
61428 if( rc==SQLITE_OK ){
61488 if( rc==SQLITE_OK ){
61584 return SQLITE_OK;
61598 ** SQLITE_OK is returned.
62043 if( SQLITE_OK==sqlite3VdbeMemGrow(pMem, nByte, 0) ){
62457 int rc = SQLITE_OK; /* Value to return */
62892 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY );
62893 p->rc = SQLITE_OK;
62914 for(pc=p->pc; rc==SQLITE_OK; pc++){
63129 ** or sqlite3_finalize(). For a normal halt, this should be SQLITE_OK (0).
63143 if( pOp->p1==SQLITE_OK && p->pFrame ){
63167 assert( p->rc!=SQLITE_OK );
63176 assert( rc==SQLITE_BUSY || rc==SQLITE_OK || rc==SQLITE_ERROR );
63180 assert( rc==SQLITE_OK || p->rc==SQLITE_CONSTRAINT );
63181 assert( rc==SQLITE_OK || db->nDeferredCons>0 );
63235 if( SQLITE_OK!=sqlite3VdbeChangeEncoding(pOut, encoding) ) goto no_mem;
63414 if( SQLITE_OK!=(rc = sqlite3VdbeCheckFk(p, 0)) ){
63437 if( NEVER(rc!=SQLITE_OK) ){
64485 assert( rc==SQLITE_OK ); /* True because of CursorMoveto() call above */
64494 assert( rc==SQLITE_OK ); /* DataSize() cannot fail */
64602 if( rc!=SQLITE_OK ){
64658 assert( rc==SQLITE_OK );
64666 if( rc!=SQLITE_OK ){
64985 if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){
65001 if( rc!=SQLITE_OK ){
65084 }else if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){
65097 if( p->rc==SQLITE_OK ){
65161 if( rc!=SQLITE_OK ){
65436 ** sqlite3BtreeCursor() may return are SQLITE_EMPTY and SQLITE_OK.
65439 assert( rc==SQLITE_EMPTY || rc==SQLITE_OK );
65442 rc = SQLITE_OK;
65497 if( rc==SQLITE_OK ){
65500 if( rc==SQLITE_OK ){
65510 if( rc==SQLITE_OK ){
65676 if( rc!=SQLITE_OK ) goto abort_due_to_error;
65681 if( rc!=SQLITE_OK ) goto abort_due_to_error;
65698 if( rc!=SQLITE_OK ){
65731 if( rc!=SQLITE_OK ){
65744 if( rc!=SQLITE_OK ) goto abort_due_to_error;
65753 if( rc!=SQLITE_OK ) goto abort_due_to_error;
65876 if( rc!=SQLITE_OK ){
66111 if( rc!=SQLITE_OK ){
66119 assert( rc==SQLITE_OK ); /* Cannot fail following BtreeLast() */
66174 0, &u.be.res))==SQLITE_OK)
66187 if( rc==SQLITE_OK && u.be.res==0 ){
66304 if( rc==SQLITE_OK && db->xUpdateCallback && pOp->p4.z ){
66365 if( NEVER(rc!=SQLITE_OK) ) goto abort_due_to_error;
66372 if( rc==SQLITE_OK && db->xUpdateCallback && pOp->p4.z ){
66445 if( NEVER(rc!=SQLITE_OK) ) goto abort_due_to_error;
66450 assert( rc==SQLITE_OK ); /* True because of CursorMoveto() call above */
66457 assert( rc==SQLITE_OK ); /* DataSize() cannot fail */
66519 assert( rc==SQLITE_OK ); /* Always so because of CursorMoveto() above */
66729 if( rc==SQLITE_OK ){
66771 if( rc==SQLITE_OK && u.bo.res==0 ){
66807 if( rc!=SQLITE_OK ){
66933 if( rc==SQLITE_OK && u.br.iMoved!=0 ){
67071 u.bu.initData.rc = SQLITE_OK;
67074 if( rc==SQLITE_OK ) rc = u.bu.initData.rc;
67685 rc = SQLITE_OK;
67765 if( rc==SQLITE_OK ){
67778 if( rc==SQLITE_OK ){
67831 rc = SQLITE_OK;
67956 if( SQLITE_OK==rc ){
68036 if( rc==SQLITE_OK ){
68144 if( rc==SQLITE_OK ){
68234 if( rc==SQLITE_OK && pOp->p1 ){
68467 ** If successful, SQLITE_OK is returned and subsequent calls to
68514 rc = SQLITE_OK;
68518 if( rc==SQLITE_OK ){
68526 assert( rc!=SQLITE_OK || zErr==0 );
68581 int rc = SQLITE_OK;
68744 if( rc==SQLITE_OK && db->mallocFailed==0 ){
68774 rc = SQLITE_OK;
68881 if( rc!=SQLITE_OK ){
68889 assert( rc==SQLITE_OK || p->pStmt==0 );
68948 int rc = SQLITE_OK;
68952 if( rc==SQLITE_OK ){
68972 return SQLITE_OK;
68984 int rc = SQLITE_OK;
69005 int rc = SQLITE_OK;
69010 if( rc==SQLITE_OK ){
69027 int rc = SQLITE_OK;
69046 rc = SQLITE_OK;
69055 int rc = SQLITE_OK;
69113 return SQLITE_OK;
69122 return SQLITE_OK;
69247 return SQLITE_OK;
69297 return SQLITE_OK;
69315 return SQLITE_OK;
69323 return SQLITE_OK;
69337 return SQLITE_OK;
69346 return SQLITE_OK;
70074 if( auth!=SQLITE_OK ){
71005 int rc = SQLITE_OK;
73580 v, OP_Halt, SQLITE_OK, OE_Ignore, 0, pExpr->u.zToken,0);
74933 if( SQLITE_OK!=isSystemTable(pParse, pTab->zName) ){
74936 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){ goto
75269 if( SQLITE_OK!=isSystemTable(pParse, pTab->zName) ){
75772 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
75961 if( rc==SQLITE_OK && !sqlite3FindTable(db, "sqlite_stat2", sInfo.zDatabase) ){
75964 if( rc==SQLITE_OK ){
75976 if( rc==SQLITE_OK ){
76080 int rc = SQLITE_OK;
76084 if( rc==SQLITE_OK && !sqlite3ExprIsConstant(pExpr) ){
76176 }else if( rc==SQLITE_OK ){
76193 if( rc==SQLITE_OK && aNew->zName==0 ){
76199 if( rc==SQLITE_OK ){
76235 if( rc==SQLITE_OK ){
76350 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pFilename)) ||
76351 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pDbname)) ||
76352 SQLITE_OK!=(rc = resolveAttachExpr(&sName, pKey))
76367 if(rc!=SQLITE_OK ){
76648 ** should return either SQLITE_OK, SQLITE_DENY, or SQLITE_IGNORE. If
76649 ** SQLITE_OK is returned, it means that access is allowed. SQLITE_DENY
76668 return SQLITE_OK;
76707 }else if( rc!=SQLITE_IGNORE && rc!=SQLITE_OK ){
76775 ** either SQLITE_OK (zero) or SQLITE_IGNORE or SQLITE_DENY. If SQLITE_DENY
76793 return SQLITE_OK;
76797 return SQLITE_OK;
76803 }else if( rc!=SQLITE_OK && rc!=SQLITE_IGNORE ){
77146 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
77543 return SQLITE_OK;
77608 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
77648 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
79267 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
79352 if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
79753 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
80286 if( rc!=SQLITE_OK ){
80519 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
80660 return SQLITE_OK;
80729 return SQLITE_OK;
81348 assert( rcauth==SQLITE_OK || rcauth==SQLITE_DENY || rcauth==SQLITE_IGNORE );
81408 if( rcauth==SQLITE_OK && pWhere==0 && !pTrigger && !IsVirtual(pTab)
83117 assert( rc==SQLITE_NOMEM || rc==SQLITE_OK );
86305 sqlite3VdbeAddOp2(v, OP_Halt, SQLITE_OK, 0);
86352 int rc = SQLITE_OK; /* Return code */
86363 sqlite3Error(db, SQLITE_OK, 0);
86364 while( (rc==SQLITE_OK || (rc==SQLITE_SCHEMA && (++nRetry)<2)) && zSql[0] ){
86370 assert( rc==SQLITE_OK || pStmt==0 );
86371 if( rc!=SQLITE_OK ){
86444 if( rc!=SQLITE_OK && ALWAYS(rc==sqlite3_errcode(db)) && pzErrMsg ){
87267 ** Return SQLITE_OK on success and SQLITE_ERROR if something goes wrong.
87351 return SQLITE_OK;
87392 return SQLITE_OK;
87442 int rc = SQLITE_OK;
87482 if( sqlite3_initialize()==SQLITE_OK )
87656 return SQLITE_OK;
87669 if( db->temp_store==ts ) return SQLITE_OK;
87670 if( invalidateTempStorage( pParse ) != SQLITE_OK ){
87674 return SQLITE_OK;
88161 if( rc==SQLITE_OK && (eAuto==1 || eAuto==2) ){
88171 { OP_Halt, SQLITE_OK, OE_Abort, 0}, /* 3 */
88284 if( rc!=SQLITE_OK || res==0 ){
88347 if( res!=SQLITE_OK ){
88993 SQLITE_FCNTL_LOCKSTATE, &j)==SQLITE_OK ){
89150 if( SQLITE_OK!=rc ){
89258 initData.rc = SQLITE_OK;
89277 return SQLITE_OK;
89286 if( rc!=SQLITE_OK ){
89393 if( rc==SQLITE_OK ) rc = initData.rc;
89396 if( rc==SQLITE_OK ){
89405 if( rc==SQLITE_OK || (db->flags&SQLITE_RecoveryMode)){
89415 rc = SQLITE_OK;
89450 rc = SQLITE_OK;
89452 for(i=0; rc==SQLITE_OK && i<db->nDb; i++){
89465 if( rc==SQLITE_OK && ALWAYS(db->nDb>1)
89475 if( rc==SQLITE_OK && commit_internal ){
89487 int rc = SQLITE_OK;
89493 if( rc!=SQLITE_OK ){
89527 if( rc!=SQLITE_OK ) return;
89594 int rc = SQLITE_OK; /* Result code */
89675 if( pParse->rc==SQLITE_DONE ) pParse->rc = SQLITE_OK;
89688 if( rc==SQLITE_OK && pParse->pVdbe && pParse->explain ){
89715 if( pParse->pVdbe && (rc!=SQLITE_OK || db->mallocFailed) ){
89773 ** If the statement is successfully recompiled, return SQLITE_OK. Otherwise,
89803 return SQLITE_OK;
89824 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
89836 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
89859 int rc = SQLITE_OK;
89904 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
89916 assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */
91139 ** Return SQLITE_OK on success. If a memory allocation error occurs,
91219 return SQLITE_OK;
91458 int rc = SQLITE_OK; /* Success code from a subroutine */
91545 testcase( rc!=SQLITE_OK );
91620 testcase( rc!=SQLITE_OK );
91704 testcase( rc!=SQLITE_OK );
92391 return SQLITE_OK;
93036 ** pFrom->pIndex and return SQLITE_OK.
93054 return SQLITE_OK;
94284 if( rc==SQLITE_OK && pDest->eDest==SRT_Output ){
94525 res.rc = SQLITE_OK;
94548 if( rc!=SQLITE_OK ){
94752 if( !zName || SQLITE_OK!=sqlite3CheckObjectName(pParse, zName) ){
95072 if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
95456 if( SQLITE_OK==sqlite3ResolveExprNames(&sNC, pWhen)
96408 if( SQLITE_OK!=sqlite3_prepare(db, zSql, -1, &pStmt, 0) ){
96426 if( rc!=SQLITE_OK ) return rc;
96430 if( rc!=SQLITE_OK ){
96461 int rc = SQLITE_OK; /* Return code from service routines */
96522 if( rc!=SQLITE_OK ) goto end_of_vacuum;
96558 if( rc!=SQLITE_OK ){
96569 if( rc!=SQLITE_OK ) goto end_of_vacuum;
96579 if( rc!=SQLITE_OK ) goto end_of_vacuum;
96583 if( rc!=SQLITE_OK ) goto end_of_vacuum;
96587 if( rc!=SQLITE_OK ) goto end_of_vacuum;
96600 if( rc!=SQLITE_OK ) goto end_of_vacuum;
96608 if( rc!=SQLITE_OK ) goto end_of_vacuum;
96614 if( rc!=SQLITE_OK ) goto end_of_vacuum;
96665 if( NEVER(rc!=SQLITE_OK) ) goto end_of_vacuum;
96669 if( rc!=SQLITE_OK ) goto end_of_vacuum;
96671 if( rc!=SQLITE_OK ) goto end_of_vacuum;
96677 assert( rc==SQLITE_OK );
96767 rc = sqlite3ApiExit(db, SQLITE_OK);
97176 if( SQLITE_OK!=rc ){
97256 return SQLITE_OK;
97270 if( rc!=SQLITE_OK ){
97300 return SQLITE_OK;
97312 int rc = SQLITE_OK;
97336 ** create a valid sqlite3_vtab if it returns SQLITE_OK. */
97337 if( rc==SQLITE_OK && ALWAYS(sqlite3GetVTable(db, pTab)) ){
97352 int rc = SQLITE_OK;
97373 if( SQLITE_OK==sqlite3RunParser(pParse, zCreateTable, &zErr)
97414 int rc = SQLITE_OK;
97421 assert( rc==SQLITE_OK );
97425 if( rc==SQLITE_OK ){
97466 ** SQLITE_OK if all xSync operations are successful.
97473 int rc = SQLITE_OK;
97477 for(i=0; rc==SQLITE_OK && i<db->nVTrans; i++){
97497 return SQLITE_OK;
97506 return SQLITE_OK;
97518 int rc = SQLITE_OK;
97530 return SQLITE_OK;
97541 return SQLITE_OK;
97547 if( rc==SQLITE_OK ){
99729 if( rc!=SQLITE_OK ){
99925 ** and SQLITE_INDEX_SAMPLES+1, inclusive) and returns SQLITE_OK.
100016 return SQLITE_OK;
100034 ** If an error occurs, return an error code. Otherwise, SQLITE_OK.
100049 return SQLITE_OK;
100104 int rc = SQLITE_OK;
100124 if( rc==SQLITE_OK && pUpper ){
100131 if( rc!=SQLITE_OK || (pLowerVal==0 && pUpperVal==0) ){
100143 if( rc==SQLITE_OK ){
100183 ** Write the estimated row count into *pnRow and return SQLITE_OK.
100240 ** Write the estimated row count into *pnRow and return SQLITE_OK.
100258 int rc = SQLITE_OK; /* Subfunction return code */
100290 if( rc==SQLITE_OK ){
106746 pParse->rc = SQLITE_OK;
106795 if( pParse->rc!=SQLITE_OK ){
106803 if( zSql[i]==0 && nErr==0 && pParse->rc==SQLITE_OK ){
106820 if( pParse->rc!=SQLITE_OK && pParse->rc!=SQLITE_DONE && pParse->zErrMsg==0 ){
106866 if( nErr>0 && pParse->rc==SQLITE_OK ){
107359 if( rc!=SQLITE_OK ){
107369 if( sqlite3GlobalConfig.isInit ) return SQLITE_OK;
107394 if( rc==SQLITE_OK ){
107404 if( rc==SQLITE_OK ){
107409 /* If rc is not SQLITE_OK at this point, then either the malloc
107412 if( rc!=SQLITE_OK ){
107438 if( rc==SQLITE_OK ){
107442 if( rc==SQLITE_OK ){
107471 if ( rc==SQLITE_OK ){
107512 return SQLITE_OK;
107526 int rc = SQLITE_OK;
107685 ** Return SQLITE_OK on success.
107744 return SQLITE_OK;
107795 rc = SQLITE_OK;
107928 return SQLITE_OK;
108022 sqlite3Error(db, SQLITE_OK, 0); /* Deallocates any cached error strings. */
108045 return SQLITE_OK;
108088 /* SQLITE_OK */ "not an error",
108202 return SQLITE_OK;
108243 return SQLITE_OK;
108298 if( rc==SQLITE_OK ){
108302 if( rc!=SQLITE_OK ){
108348 return SQLITE_OK;
108393 assert( rc!=SQLITE_OK );
108453 rc = sqlite3ApiExit(db, SQLITE_OK);
108573 return SQLITE_OK;
108599 return SQLITE_OK;
108635 return SQLITE_OK;
108686 ** returned (i.e. SQLITE_IOERR). Otherwise, SQLITE_OK.
108699 int rc = SQLITE_OK; /* Return code */
108707 for(i=0; i<db->nDb && rc==SQLITE_OK; i++){
108714 rc = SQLITE_OK;
108719 return (rc==SQLITE_OK && bBusy) ? SQLITE_BUSY : rc;
108927 sqlite3Error(db, SQLITE_OK, 0);
108928 return SQLITE_OK;
109184 if( rc!=SQLITE_OK ){
109212 sqlite3Error(db, SQLITE_OK, 0);
109220 if( rc!=SQLITE_OK ){
109232 if( !db->mallocFailed && rc==SQLITE_OK ){
109239 if( !db->mallocFailed && rc==SQLITE_OK ){
109245 if( !db->mallocFailed && rc==SQLITE_OK ){
109251 if( !db->mallocFailed && rc==SQLITE_OK){
109283 }else if( rc!=SQLITE_OK ){
109335 if( rc==SQLITE_OK && !DbHasProperty(*ppDb, 0, DB_SchemaLoaded) ){
109397 int rc = SQLITE_OK;
109426 return SQLITE_OK;
109444 return SQLITE_OK;
109454 return SQLITE_OK;
109548 if( SQLITE_OK!=rc ){
109615 if( SQLITE_OK==rc && !pTab ){
109652 return SQLITE_OK;
109681 rc = SQLITE_OK;
110069 int rc = SQLITE_OK;
110655 return SQLITE_OK;
110746 return SQLITE_OK;
110758 if( rc!=SQLITE_OK ){
110772 rc = SQLITE_OK;
110791 if( rc!=SQLITE_OK ){
110822 rc = SQLITE_OK;
110924 return SQLITE_OK;
111010 if( rc==SQLITE_OK ){
111122 return SQLITE_OK;
111149 rc = SQLITE_OK;
111154 if( rc!=SQLITE_OK ){
111193 if( rc==SQLITE_OK && (nBytes<nRecordBytes || iNextPage) ){
111197 if( rc==SQLITE_OK ){
111211 * On SQLITE_OK, *ppBase points to nRequestBytes of data at
111253 return SQLITE_OK;
111305 return SQLITE_OK;
111363 * If SQLITE_OK is returned, the caller no longer owns pPage,
111384 if( rc!=SQLITE_OK ){
111388 return SQLITE_OK;
111394 return SQLITE_OK;
111401 return SQLITE_OK;
111423 if( rc!=SQLITE_OK ){
111483 if( rc!=SQLITE_OK ){
111497 if( rc!=SQLITE_OK ){
111513 return SQLITE_OK;
111586 if( rc!=SQLITE_OK ){
111608 if( rc!=SQLITE_OK ){
111641 return SQLITE_OK;
111676 return SQLITE_OK;
111728 return SQLITE_OK;
111749 if( rc==SQLITE_OK ){
111812 return SQLITE_OK;
111819 return SQLITE_OK;
111825 return SQLITE_OK;
111851 if( rc!=SQLITE_OK ){
111857 if( rc!=SQLITE_OK ){
111862 if( rc!=SQLITE_OK ){
111867 if( rc!=SQLITE_OK ){
111888 return SQLITE_OK;
111900 return SQLITE_OK;
111908 /* Returns SQLITE_OK if the cell has an appropriate number of columns
111930 assert( rc==SQLITE_OK );
111931 if( rc!=SQLITE_OK || !SerialTypeIsCompatible(iType, pRecover->pTypes[i]) ){
111936 return SQLITE_OK;
111950 if( recoverValidateLeafCell(pRecover, pCursor)==SQLITE_OK ){
111951 return SQLITE_OK;
111957 return SQLITE_OK;
111960 assert( rc!=SQLITE_OK );
111977 return SQLITE_OK;
111984 if( rc!=SQLITE_OK || recoverValidateLeafCell(pRecover, pCursor)!=SQLITE_OK ){
111988 return SQLITE_OK;
112014 return SQLITE_OK;
112021 if( rc!=SQLITE_OK ){
112074 return SQLITE_OK;
112081 return SQLITE_OK;
112194 return SQLITE_OK;
112245 return SQLITE_OK;
112271 if( rc!=SQLITE_OK ){
112293 return SQLITE_OK;
112370 if( rc!=SQLITE_OK ){
112379 if( rc!=SQLITE_OK ){
112386 if( rc!=SQLITE_OK ){
112392 return SQLITE_OK;
112745 /* TODO(shess) Only used for SQLITE_OK and SQLITE_DONE at this time.
112791 ** This method should return either SQLITE_OK (0), or an SQLite error
112792 ** code. If SQLITE_OK is returned, then *ppTokenizer should be set
112828 ** method should either return SQLITE_OK and set the values of the
113509 return SQLITE_OK;
113543 int rc = SQLITE_OK; /* Return code */
113555 ** memory associated with the Fts3Table structure and return SQLITE_OK.
113558 return (rc==SQLITE_OK ? fts3DisconnectMethod(pVtab) : rc);
113572 if( *pRc==SQLITE_OK ){
113610 int rc = SQLITE_OK; /* Return code */
113669 if( *pRc==SQLITE_OK ){
113679 if( rc==SQLITE_OK ){
113685 rc = SQLITE_OK;
113688 assert( p->nPgsz>0 || rc!=SQLITE_OK );
113733 if( *pRc==SQLITE_OK ){
113796 ** If *pRc is not SQLITE_OK when this function is called, it is a no-op (and
113835 ** If *pRc is not SQLITE_OK when this function is called, it is a no-op (and
113881 int rc = SQLITE_OK; /* Return code */
113921 for(i=3; rc==SQLITE_OK && i<argc; i++){
113967 if( rc!=SQLITE_OK ) goto fts3_init_out;
113978 if( rc!=SQLITE_OK ) goto fts3_init_out;
114035 if( rc!=SQLITE_OK ) goto fts3_init_out;
114057 if( rc!=SQLITE_OK ){
114149 return SQLITE_OK;
114161 ** allocation succeeds, zero it and return SQLITE_OK. Otherwise,
114169 return SQLITE_OK;
114185 return SQLITE_OK;
114191 ** SQLITE_OK on success.
114198 return SQLITE_OK;
114201 if( rc==SQLITE_OK ){
114215 return SQLITE_OK;
114232 SQLITE_OK.
114242 int rc = SQLITE_OK; /* Return code */
114358 ** If an error occurs, an error code other than SQLITE_OK is returned.
114376 assert( !piLeaf2 || !piLeaf || rc!=SQLITE_OK || (*piLeaf<=*piLeaf2) );
114378 if( rc==SQLITE_OK && iHeight>1 ){
114384 if( rc==SQLITE_OK ){
114392 if( rc==SQLITE_OK ){
114395 if( rc==SQLITE_OK ){
114830 ** If successful, SQLITE_OK is returned. Otherwise, if a malloc error
114989 return SQLITE_OK;
115006 ** other doclists (except the aaOutput[0] one) and return SQLITE_OK.
115048 return SQLITE_OK;
115122 return SQLITE_OK;
115151 return SQLITE_OK;
115163 int rc = SQLITE_OK;
115185 if( rc==SQLITE_OK && pPending ){
115199 if( rc==SQLITE_OK ){
115202 while( rc==SQLITE_OK && SQLITE_ROW==(rc = sqlite3_step(pStmt)) ){
115228 if( rc!=SQLITE_OK ) goto finished;
115235 if( rc!=SQLITE_OK ) goto finished;
115268 for(i=0; rc==SQLITE_OK && i<pSegcsr->nSegment; i++){
115320 while( SQLITE_OK==rc
115328 if( rc==SQLITE_OK ){
115331 if( rc==SQLITE_OK ){
115383 int rc = SQLITE_OK;
115386 if( rc==SQLITE_OK ){
115392 for(i=0; rc==SQLITE_OK && i<pExpr->pPhrase->nToken; i++){
115433 ** If this function returns SQLITE_OK, but *pnOut is set to a negative value,
115448 int rc = SQLITE_OK;
115473 if( rc!=SQLITE_OK ) return rc;
115529 assert( rc!=SQLITE_OK || pCsr->eEvalmode || pTok->pSegcsr==0 );
115530 if( rc!=SQLITE_OK ) break;
115578 if( rc==SQLITE_OK ){
115623 if( rc!=SQLITE_OK ){
115655 rc = SQLITE_OK;
115665 if( rc!=SQLITE_OK ) return rc;
115693 int rc = SQLITE_OK; /* Return code */
115705 for(ii=0; rc==SQLITE_OK && ii<pPhrase->nToken; ii++){
115715 if( rc==SQLITE_OK ){
115835 int rc = SQLITE_OK; /* Return code */
115864 if( rc==SQLITE_OK ){
115869 if( rc==SQLITE_OK ){
115892 if( rc!=SQLITE_OK ) break;
115908 if( rc==SQLITE_OK ){
115987 assert( rc==SQLITE_OK || *paOut==0 );
116003 ** If an error occurs, an SQLite error code is returned. Otherwise, SQLITE_OK
116012 int rc = SQLITE_OK;
116017 if( rc==SQLITE_OK ){
116021 if( rc==SQLITE_OK ){
116040 ** Return SQLITE_OK if nothing goes wrong. SQLITE_OK is returned
116046 int rc = SQLITE_OK; /* Return code */
116068 }while( SQLITE_OK==(rc = fts3EvalDeferred(pCsr, &res)) && res==0 );
116130 if( rc!=SQLITE_OK ){
116139 if( rc!=SQLITE_OK ) return rc;
116143 if( rc!=SQLITE_OK ) return rc;
116161 if( rc==SQLITE_OK && idxNum==FTS3_DOCID_SEARCH ){
116166 if( rc!=SQLITE_OK ) return rc;
116196 return SQLITE_OK;
116227 rc = SQLITE_OK;
116230 if( rc==SQLITE_OK ){
116267 return SQLITE_OK;
116278 return SQLITE_OK;
116287 return SQLITE_OK;
116381 ** output variable *ppCsr and SQLITE_OK is returned. Otherwise, an error
116402 return SQLITE_OK;
116441 }else if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){
116461 if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){
116494 case SQLITE_OK:
116516 if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){
116574 if( rc!=SQLITE_OK ){
116662 int rc = SQLITE_OK;
116673 if( rc!=SQLITE_OK ) return rc;
116687 if( rc==SQLITE_OK ){
116699 if( rc==SQLITE_OK ){
116708 if( SQLITE_OK==rc
116712 && SQLITE_OK==(rc = sqlite3Fts3InitHashTable(db, pHash, "fts3_tokenizer"))
116714 && SQLITE_OK==(rc = sqlite3_overload_function(db, "snippet", -1))
116715 && SQLITE_OK==(rc = sqlite3_overload_function(db, "offsets", 1))
116716 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 1))
116717 && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 2))
116718 && SQLITE_OK==(rc = sqlite3_overload_function(db, "optimize", 1))
116726 if( rc==SQLITE_OK ){
116736 assert( rc!=SQLITE_OK );
116843 if( rc!=SQLITE_OK ) return rc;
116860 return SQLITE_OK;
116879 return SQLITE_OK;
116939 return SQLITE_OK;
116955 return SQLITE_OK;
116971 return SQLITE_OK;
116987 return SQLITE_OK;
117002 if( pCsr->aStat[pCsr->iCol].nDoc>0 ) return SQLITE_OK;
117019 return SQLITE_OK;
117077 rc = SQLITE_OK;
117136 if( rc==SQLITE_OK ){
117140 if( rc==SQLITE_OK ) rc = fts3auxNextMethod(pCursor);
117177 return SQLITE_OK;
117189 return SQLITE_OK;
117193 ** Register the fts3aux module with database connection db. Return SQLITE_OK
117355 ** Return SQLITE_OK if successful, or SQLITE_NOMEM if a memory allocation
117373 if( rc==SQLITE_OK ){
117381 if( rc==SQLITE_OK ){
117434 ** If successful, SQLITE_OK is returned and *ppExpr set to point at the
117453 if( rc==SQLITE_OK ){
117456 for(ii=0; rc==SQLITE_OK; ii++){
117460 if( rc==SQLITE_OK ){
117513 rc = SQLITE_OK;
117539 ** Returns an SQLite error code. SQLITE_OK if everything works, SQLITE_NOMEM
117620 return SQLITE_OK;
117635 if( rc==SQLITE_OK && !*ppExpr ){
117760 ** If successful, SQLITE_OK is returned, *ppExpr is set to point to the
117776 int rc = SQLITE_OK;
117779 while( rc==SQLITE_OK ){
117783 if( rc==SQLITE_OK ){
117867 assert( rc!=SQLITE_OK || (nByte>0 && nByte<=nIn) );
117878 rc = SQLITE_OK;
117895 if( rc!=SQLITE_OK ){
117909 ** of the parsed expression tree and SQLITE_OK is returned. If an error
117946 return SQLITE_OK;
117954 if( rc==SQLITE_OK && sParse.nNest ){
117997 if( rc!=SQLITE_OK ){
118110 assert( rc==SQLITE_NOMEM || rc==SQLITE_OK );
118132 if( rc!=SQLITE_OK && rc!=SQLITE_NOMEM ){
118612 return SQLITE_OK;
118620 return SQLITE_OK;
118655 return SQLITE_OK;
118666 return SQLITE_OK;
119157 return SQLITE_OK;
119379 assert( rc!=SQLITE_OK || *ppTok );
119380 if( rc!=SQLITE_OK ){
119473 if( SQLITE_OK!=p->xCreate(zArg ? 1 : 0, &zArg, &pTokenizer) ){
119478 if( SQLITE_OK!=p->xOpen(pTokenizer, zInput, nInput, &pCsr) ){
119484 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){
119492 if( SQLITE_OK!=p->xClose(pCsr) ){
119496 if( SQLITE_OK!=p->xDestroy(pTokenizer) ){
119521 if( rc!=SQLITE_OK ){
119544 if( rc!=SQLITE_OK ){
119594 assert( rc==SQLITE_OK );
119603 assert( rc==SQLITE_OK );
119605 assert( rc==SQLITE_OK );
119635 int rc = SQLITE_OK;
119650 if( SQLITE_OK==rc ){
119653 if( SQLITE_OK==rc ){
119657 if( SQLITE_OK==rc ){
119660 if( SQLITE_OK==rc ){
119663 if( SQLITE_OK==rc ){
119770 return SQLITE_OK;
119778 return SQLITE_OK;
119813 return SQLITE_OK;
119824 return SQLITE_OK;
119879 return SQLITE_OK;
120006 ** until SegmentReaderNext() returns something other than SQLITE_OK
120099 ** *pp is set to the requested statement handle and SQLITE_OK returned.
120145 int rc = SQLITE_OK;
120166 assert( rc==SQLITE_OK || pStmt==0 );
120173 for(i=0; rc==SQLITE_OK && i<nParam; i++){
120193 if( rc==SQLITE_OK ){
120200 if( rc==SQLITE_OK ) rc = SQLITE_CORRUPT;
120203 rc = SQLITE_OK;
120231 ** Returns SQLITE_OK if the statement is successfully executed, or an
120244 if( rc==SQLITE_OK ){
120274 if( rc==SQLITE_OK ){
120285 ** return SQLITE_OK. If an error occurs while preparing the statement,
120306 if( rc==SQLITE_OK ) sqlite3_bind_int(pStmt, 1, iLevel);
120314 ** Append a single varint to a PendingList buffer. SQLITE_OK is returned
120357 return SQLITE_OK;
120367 ** it is set to SQLITE_OK.
120377 int rc = SQLITE_OK;
120388 if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iDelta)) ){
120396 if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, 1))
120397 || SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iCol))
120407 if( rc==SQLITE_OK ){
120426 ** If successful, SQLITE_OK is returned. Otherwise, an SQLite error code.
120452 if( rc!=SQLITE_OK ){
120458 while( SQLITE_OK==rc
120459 && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos))
120487 if( rc==SQLITE_OK ){
120494 return (rc==SQLITE_DONE ? SQLITE_OK : rc);
120511 if( rc!=SQLITE_OK ) return rc;
120514 return SQLITE_OK;
120543 if( rc!=SQLITE_OK ){
120549 return SQLITE_OK;
120582 if( rc!=SQLITE_OK ){
120604 if( rc!=SQLITE_OK ) return rc;
120624 int rc = SQLITE_OK; /* Return code */
120658 if( rc==SQLITE_OK ){
120664 if( rc!=SQLITE_OK ){
120697 ** If successful, *piIdx is set to the allocated index slot and SQLITE_OK
120707 if( rc==SQLITE_OK ){
120715 if( rc==SQLITE_OK ){
120745 ** an SQLite error code is returned. Otherwise, SQLITE_OK is returned. If
120782 if( rc==SQLITE_OK ){
120791 if( rc!=SQLITE_OK ){
120815 ** segment. If successful, SQLITE_OK is returned. If there is no next term,
120845 return SQLITE_OK;
120857 return SQLITE_OK;
120863 if( rc!=SQLITE_OK ) return rc;
120903 return SQLITE_OK;
120981 int rc = SQLITE_OK; /* Return code */
121015 if( rc!=SQLITE_OK ) return rc;
121032 if( rc!=SQLITE_OK ) return rc;
121041 if( rc!=SQLITE_OK ) break;
121079 int rc = SQLITE_OK; /* Return code */
121108 if( rc==SQLITE_OK ){
121150 int rc = SQLITE_OK; /* Return Code */
121344 if( rc==SQLITE_OK ){
121368 if( rc==SQLITE_OK ){
121472 return SQLITE_OK;
121537 ** If successful, SQLITE_OK is returned and output variable *piLast is
121552 int rc = SQLITE_OK;
121564 for(pIter=pTree->pLeftmost; pIter && rc==SQLITE_OK; pIter=pIter->pRight){
121572 if( rc==SQLITE_OK ){
121609 ** If successful, SQLITE_OK is returned. Otherwise, an SQLite error code.
121643 if( rc!=SQLITE_OK ) return rc;
121649 if( rc!=SQLITE_OK ) return rc;
121668 if( rc!=SQLITE_OK ) return rc;
121684 if( rc!=SQLITE_OK ) return rc;
121740 return SQLITE_OK;
121746 ** to the segment using fts3SegWriterAdd(). If successful, SQLITE_OK is
121764 if( rc==SQLITE_OK ){
121768 if( rc==SQLITE_OK ){
121800 ** document apVal[0], or false otherwise, and SQLITE_OK is returned. If an
121807 if( rc==SQLITE_OK ){
121821 ** Return SQLITE_OK if successful, or an SQLite error code if not.
121828 if( rc!=SQLITE_OK ) return rc;
121848 ** SQLITE_OK is returned if successful, otherwise an SQLite error code.
121861 for(i=0; rc==SQLITE_OK && i<nReader; i++){
121870 if( rc!=SQLITE_OK ){
121881 if( rc==SQLITE_OK ){
121956 if( rc!=SQLITE_OK ) return rc;
121962 return SQLITE_OK;
121969 int rc = SQLITE_OK;
121981 if( pCsr->nSegment==0 ) return SQLITE_OK;
121992 if( rc!=SQLITE_OK ) return rc;
121997 /* If all the seg-readers are at EOF, we're finished. return SQLITE_OK. */
121998 assert( rc==SQLITE_OK );
122097 }while( rc==SQLITE_OK );
122127 ** Otherwise, if successful, SQLITE_OK is returned. If an error occurs,
122139 if( rc!=SQLITE_OK || csr.nSegment==0 ) goto finished;
122160 if( rc!=SQLITE_OK ) goto finished;
122169 while( SQLITE_OK==rc ){
122175 if( rc!=SQLITE_OK ) goto finished;
122179 if( rc!=SQLITE_OK ) goto finished;
122362 rc = SQLITE_OK;
122369 rc = SQLITE_OK;
122372 rc = SQLITE_OK;
122455 int rc = SQLITE_OK; /* Return code */
122468 for(i=0; i<p->nColumn && rc==SQLITE_OK; i++){
122473 while( rc==SQLITE_OK ){
122481 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
122492 if( rc==SQLITE_DONE ) rc = SQLITE_OK;
122495 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
122527 return SQLITE_OK;
122542 int rc = SQLITE_OK; /* Return Code */
122561 if( rc==SQLITE_OK ){
122586 if( nArg>1 && rc==SQLITE_OK ){
122588 if( rc==SQLITE_OK && (!isRemove || *pRowid!=iRemove) ){
122591 if( rc==SQLITE_OK ){
122617 if( rc==SQLITE_OK ){
122619 if( rc==SQLITE_OK ){
122621 if( rc==SQLITE_OK ){
122783 if( rc==SQLITE_OK && eType!=FTSQUERY_NOT ){
122798 ** If the callback function returns anything other than SQLITE_OK,
122800 ** Otherwise, SQLITE_OK is returned after a callback has been made for
122824 ** If an OOM error occurs, SQLITE_NOMEM is returned. Otherwise, SQLITE_OK.
122827 int rc = SQLITE_OK;
122831 SQLITE_OK
122863 int rc = SQLITE_OK;
122874 if( rc==SQLITE_OK ){
122910 return SQLITE_OK;
123064 return SQLITE_OK;
123104 if( rc!=SQLITE_OK ){
123156 return SQLITE_OK;
123194 return SQLITE_OK;
123255 if( rc!=SQLITE_OK ){
123259 while( rc==SQLITE_OK && iCurrent<(nSnippet+nDesired) ){
123264 if( rc!=SQLITE_OK && rc!=SQLITE_DONE ){ return rc; }
123274 return SQLITE_OK;
123312 return SQLITE_OK;
123319 if( rc!=SQLITE_OK ){
123324 while( rc==SQLITE_OK ){
123330 if( rc!=SQLITE_OK ){
123351 if( rc==SQLITE_OK && (iPos>0 || iFragment>0) ){
123354 if( rc!=SQLITE_OK || iCurrent<iPos ) continue;
123368 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zOpen, -1);
123369 if( rc==SQLITE_OK ) rc = fts3StringAppend(pOut, &zDoc[iBegin], iFin-iBegin);
123370 if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zClose, -1);
123479 if( rc!=SQLITE_OK ) return rc;
123488 return SQLITE_OK;
123502 return SQLITE_OK;
123530 return SQLITE_OK;
123546 return SQLITE_OK;
123589 if( rc!=SQLITE_OK ) return rc;
123600 return SQLITE_OK;
123631 return SQLITE_OK;
123668 ** array before returning. SQLITE_OK is returned in this case.
123744 return SQLITE_OK;
123760 ** Return SQLITE_OK if successful, or an SQLite error code if an error
123761 ** occurs. If a value other than SQLITE_OK is returned, the state the
123770 int rc = SQLITE_OK;
123775 for(i=0; rc==SQLITE_OK && zArg[i]; i++){
123800 if( rc==SQLITE_OK ){
123816 if( rc==SQLITE_OK ){
123831 if( rc==SQLITE_OK ){
123841 if( rc!=SQLITE_OK ) break;
123845 if( rc!=SQLITE_OK ) break;
123848 if( rc!=SQLITE_OK ) break;
123873 int rc = SQLITE_OK;
123945 int rc = SQLITE_OK;
123996 if( rc!=SQLITE_OK ){
124017 for(i=0; i<nSnippet && rc==SQLITE_OK; i++){
124025 if( rc!=SQLITE_OK ){
124075 return SQLITE_OK;
124105 if( rc!=SQLITE_OK ) goto offsets_out;
124152 if( rc!=SQLITE_OK ) goto offsets_out;
124156 while( rc==SQLITE_OK ){
124179 while( rc==SQLITE_OK && iCurrent<iMinPos ){
124182 if( rc==SQLITE_OK ){
124194 rc = SQLITE_OK;
124198 if( rc!=SQLITE_OK ) goto offsets_out;
124205 if( rc!=SQLITE_OK ){
124250 if( rc!=SQLITE_OK ){
124728 int rc2 = SQLITE_OK;
124742 return SQLITE_OK;
124766 if( rc==SQLITE_OK ) rc = rc2;
124785 if( pNode && rc==SQLITE_OK ){
124791 if( rc==SQLITE_OK ){
124838 ** is successful, return SQLITE_OK.
124869 int rc = SQLITE_OK;
124881 if( pNode->iNode==0 && rc==SQLITE_OK ){
124895 int rc = SQLITE_OK;
124906 if( rc==SQLITE_OK ){
125026 return SQLITE_OK;
125049 if( rc==SQLITE_OK ){
125067 rc = SQLITE_OK;
125146 ** Return SQLITE_OK if successful or an SQLite error code if an error
125153 int rc = SQLITE_OK;
125198 ** Return SQLITE_OK if successful or an SQLite error code if an error
125226 if( rc!=SQLITE_OK ){
125235 return SQLITE_OK;
125239 return SQLITE_OK;
125270 if( rc!=SQLITE_OK || isEof || iHeight==0 ){
125276 if( rc!=SQLITE_OK ){
125286 if( rc!=SQLITE_OK ){
125319 return SQLITE_OK;
125335 return SQLITE_OK;
125344 int rc = SQLITE_OK;
125365 if( rc!=SQLITE_OK || !isEof ){
125371 if( rc!=SQLITE_OK ){
125393 return SQLITE_OK;
125417 return SQLITE_OK;
125423 ** return SQLITE_OK. If there is no such record in the table, set
125424 ** *ppLeaf to 0 and return SQLITE_OK. If an error occurs, set *ppLeaf
125484 return SQLITE_OK;
125500 int rc = SQLITE_OK;
125514 assert( rc==SQLITE_OK );
125539 if( rc!=SQLITE_OK ){
125549 if( rc==SQLITE_OK ){
125553 if( rc==SQLITE_OK ){
125557 for(pCsr->iCell=0; rc==SQLITE_OK && pCsr->iCell<nCell; pCsr->iCell++){
125564 if( rc==SQLITE_OK && isEof ){
125569 assert( rc!=SQLITE_OK || !pCsr->pNode || pCsr->iCell<NCELL(pCsr->pNode) );
125612 int rc = SQLITE_OK;
125641 return SQLITE_OK;
125823 for(ii=0; rc==SQLITE_OK && ii<(pRtree->iDepth-iHeight); ii++){
125928 return SQLITE_OK;
126340 return SQLITE_OK;
126396 return SQLITE_OK;
126428 int rc = SQLITE_OK;
126477 if( rc!=SQLITE_OK ){
126486 if( SQLITE_OK!=(rc = nodeWrite(pRtree, pRight))
126487 || (0==pLeft->iNode && SQLITE_OK!=(rc = nodeWrite(pRtree, pLeft)))
126497 if( rc!=SQLITE_OK ){
126504 if( rc==SQLITE_OK ){
126508 if( rc!=SQLITE_OK ){
126522 if( rc!=SQLITE_OK ){
126530 if( rc!=SQLITE_OK ){
126538 if( rc==SQLITE_OK ){
126542 if( rc==SQLITE_OK ){
126566 int rc = SQLITE_OK;
126568 while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){
126569 int rc2 = SQLITE_OK; /* sqlite3_reset() return code */
126588 if( rc==SQLITE_OK ) rc = rc2;
126589 if( rc==SQLITE_OK && !pChild->pParent ) rc = SQLITE_CORRUPT;
126607 if( rc==SQLITE_OK ){
126613 if( rc==SQLITE_OK ){
126616 if( rc!=SQLITE_OK ){
126623 if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteNode)) ){
126630 if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteParent)) ){
126643 return SQLITE_OK;
126648 int rc = SQLITE_OK;
126661 if( rc==SQLITE_OK ){
126677 if( SQLITE_OK!=(rc = fixLeafParent(pRtree, pNode)) ){
126718 int rc = SQLITE_OK;
126768 for(ii=0; rc==SQLITE_OK && ii<(nCell-(RTREE_MINCELLS(pRtree)+1)); ii++){
126779 if( rc==SQLITE_OK ){
126782 for(; rc==SQLITE_OK && ii<nCell; ii++){
126789 if( rc==SQLITE_OK ){
126793 if( rc==SQLITE_OK ){
126813 int rc = SQLITE_OK;
126835 if( rc==SQLITE_OK ){
126848 int rc = SQLITE_OK;
126851 for(ii=0; rc==SQLITE_OK && ii<nCell; ii++){
126860 if( rc==SQLITE_OK ){
126864 if( rc==SQLITE_OK ){
126895 int rc = SQLITE_OK;
126917 if( rc==SQLITE_OK ){
126923 if( rc==SQLITE_OK ){
126926 if( rc==SQLITE_OK ){
126930 if( rc==SQLITE_OK ){
126936 if( rc==SQLITE_OK ){
126950 if( rc==SQLITE_OK && pRtree->iDepth>0 && NCELL(pRoot)==1 ){
126955 if( rc==SQLITE_OK ){
126959 if( rc==SQLITE_OK ) rc = rc2;
126960 if( rc==SQLITE_OK ){
126969 if( rc==SQLITE_OK ){
126977 if( rc==SQLITE_OK ){
126988 if( rc==SQLITE_OK && nData>1 ){
127031 if( rc==SQLITE_OK ){
127034 if( rc==SQLITE_OK ){
127039 if( rc==SQLITE_OK ){
127101 int rc = SQLITE_OK;
127138 if( rc!=SQLITE_OK ){
127153 for(i=0; i<N_STATEMENT && rc==SQLITE_OK; i++){
127170 ** is written to *piVal and SQLITE_OK returned. Otherwise, an SQLite error
127178 if( rc==SQLITE_OK ){
127191 ** to. If successful, pRtree->iNodeSize is populated and SQLITE_OK returned.
127214 if( rc==SQLITE_OK ){
127249 int rc = SQLITE_OK;
127293 if( rc==SQLITE_OK ){
127312 }else if( SQLITE_OK!=(rc = sqlite3_declare_vtab(db, zSql)) ){
127319 if( rc==SQLITE_OK ){
127405 if( rc==SQLITE_OK ){
127408 if( rc==SQLITE_OK ){
127412 if( rc==SQLITE_OK ){
127937 if( rc!=SQLITE_OK ){
127972 int rc = SQLITE_OK;
127975 for(i=0; rc==SQLITE_OK && i<(int)(sizeof(scalars)/sizeof(scalars[0])); i++){
128072 return SQLITE_OK;
128081 return SQLITE_OK;
128153 return SQLITE_OK;
128164 return SQLITE_OK;
128229 return SQLITE_OK;