• Home
  • Raw
  • Download

Lines Matching refs:SQLITE_BUSY

760 #define SQLITE_BUSY         5   /* The database file is locked */  macro
843 #define SQLITE_BUSY_RECOVERY (SQLITE_BUSY | (1<<8))
844 #define SQLITE_BUSY_SNAPSHOT (SQLITE_BUSY | (2<<8))
845 #define SQLITE_BUSY_TIMEOUT (SQLITE_BUSY | (3<<8))
27606 rc = SQLITE_BUSY;
27619 rc = SQLITE_BUSY;
28087 int rc = SQLITE_BUSY;
34527 #define IS_LOCK_ERROR(x) ((x != SQLITE_OK) && (x != SQLITE_BUSY))
35210 return SQLITE_BUSY;
36073 rc = SQLITE_BUSY;
36107 if( rc!=SQLITE_BUSY ){
36142 if( rc!=SQLITE_BUSY ){
36154 rc = SQLITE_BUSY;
36175 if( rc!=SQLITE_BUSY ){
36639 rc = SQLITE_BUSY;
36642 if( rc!=SQLITE_BUSY ){
36862 rc = SQLITE_BUSY;
37021 rc = SQLITE_BUSY;
37162 rc = SQLITE_BUSY;
37292 rc = SQLITE_BUSY;
37366 rc = SQLITE_BUSY;
38731 rc = (pFile->iBusyTimeout ? SQLITE_BUSY_TIMEOUT : SQLITE_BUSY);
38733 rc = SQLITE_BUSY;
38877 rc = SQLITE_BUSY;
39322 rc = SQLITE_BUSY;
39340 rc = SQLITE_BUSY;
41444 return SQLITE_BUSY;
41608 if( rc==SQLITE_BUSY ){
41630 return SQLITE_BUSY;
41643 return SQLITE_BUSY;
41647 return SQLITE_BUSY;
41664 } while( rc==SQLITE_BUSY && nTries<3 );
41759 rc = SQLITE_BUSY;
41779 rc = SQLITE_BUSY;
41970 return SQLITE_BUSY;
42038 return SQLITE_BUSY;
43788 rc = SQLITE_BUSY;
45829 rc = SQLITE_BUSY;
46279 rc = SQLITE_BUSY;
46584 rc = SQLITE_BUSY;
46609 rc = SQLITE_BUSY;
49000 rc = SQLITE_BUSY;
49010 rc = SQLITE_BUSY;
50362 if( rc!=SQLITE_OK && rc!=SQLITE_BUSY ){
56729 }while( rc==SQLITE_BUSY && pPager->xBusyHandler(pPager->pBusyHandlerArg) );
61549 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && (rc&0xFF)!=SQLITE_BUSY); )
61565 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && (rc&0xFF)!=SQLITE_BUSY); )
62028 }else if( rc!=SQLITE_BUSY ){
62563 }while( xBusy && rc==SQLITE_BUSY && xBusy(pBusyArg) );
62567 rc = SQLITE_BUSY;
62690 }else if( rc==SQLITE_BUSY ){
62778 if( rc==SQLITE_BUSY ){
62793 rc = SQLITE_BUSY;
63143 if( rc==SQLITE_BUSY ) rc = WAL_RETRY;
63363 if( rc==SQLITE_BUSY ){
63384 }else if( rc==SQLITE_BUSY ){
63429 }else if( rc!=SQLITE_BUSY ){
63466 }else if( rc!=SQLITE_BUSY ){
63472 assert( rc==SQLITE_BUSY || (pWal->readOnly & WAL_SHM_RDONLY)!=0 );
63473 return rc==SQLITE_BUSY ? WAL_RETRY : SQLITE_READONLY_CANTINIT;
63478 return rc==SQLITE_BUSY ? WAL_RETRY : rc;
63657 testcase( (rc&0xff)==SQLITE_BUSY );
64072 }else if( rc!=SQLITE_BUSY ){
64083 assert( (rc&0xff)!=SQLITE_BUSY ); /* BUSY not possible when useWal==1 */
64499 testcase( rc==SQLITE_BUSY );
64517 }else if( rc==SQLITE_BUSY ){
64546 if( rc==SQLITE_OK || rc==SQLITE_BUSY ){
64573 if( rc==SQLITE_BUSY_TIMEOUT ) rc = SQLITE_BUSY;
64575 return (rc==SQLITE_OK && eMode!=eMode2 ? SQLITE_BUSY : rc);
69296 if( rc!=SQLITE_BUSY && rc!=SQLITE_OK ) break;
69320 rc = SQLITE_BUSY;
69329 }while( (rc&0xFF)==SQLITE_BUSY && pBt->inTransaction==TRANS_NONE &&
69333 if( rc==SQLITE_BUSY_TIMEOUT ) rc = SQLITE_BUSY;
76916 return (rc!=SQLITE_OK && rc!=SQLITE_BUSY && ALWAYS(rc!=SQLITE_LOCKED));
77070 rc = SQLITE_BUSY;
77405 assert( rc!=SQLITE_BUSY && rc!=SQLITE_LOCKED );
81566 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY || p->rc==SQLITE_NOMEM );
82292 assert( rc!=SQLITE_BUSY );
82578 if( rc==SQLITE_BUSY && p->readOnly ){
82580 return SQLITE_BUSY;
82670 return (p->rc==SQLITE_BUSY ? SQLITE_BUSY : SQLITE_OK);
85361 if( (rc = p->rc&0xff)==SQLITE_BUSY || rc==SQLITE_LOCKED ){
85462 || (rc&0xff)==SQLITE_BUSY || rc==SQLITE_MISUSE
87789 assert( p->rc==SQLITE_OK || (p->rc&0xff)==SQLITE_BUSY );
88210 assert( rc==SQLITE_BUSY || rc==SQLITE_OK || rc==SQLITE_ERROR );
88211 if( rc==SQLITE_BUSY ){
88212 p->rc = SQLITE_BUSY;
90515 rc = SQLITE_BUSY;
90574 rc = SQLITE_BUSY;
90587 if( sqlite3VdbeHalt(p)==SQLITE_BUSY ){
90590 p->rc = rc = SQLITE_BUSY;
90696 rc = SQLITE_BUSY;
90703 if( sqlite3VdbeHalt(p)==SQLITE_BUSY ){
90706 p->rc = rc = SQLITE_BUSY;
90791 if( (rc&0xff)==SQLITE_BUSY ){
94466 if( rc!=SQLITE_BUSY ) goto abort_due_to_error;
167960 return SQLITE_BUSY;
168105 if( rc==SQLITE_BUSY ){
168113 return ((rc==SQLITE_OK && bSeenBusy) ? SQLITE_BUSY : rc);
168457 sqlite3ErrorWithMsg(db, SQLITE_BUSY, "unable to close due to unfinalized "
168460 return SQLITE_BUSY;
168713 case SQLITE_BUSY: zName = "SQLITE_BUSY"; break;
169126 sqlite3ErrorWithMsg(db, SQLITE_BUSY,
169129 return SQLITE_BUSY;
169751 if( rc==SQLITE_BUSY ){
169758 return (rc==SQLITE_OK && bBusy) ? SQLITE_BUSY : rc;
169941 sqlite3ErrorWithMsg(db, SQLITE_BUSY,
169943 return SQLITE_BUSY;
205548 pRbu->rc = SQLITE_BUSY;
206535 p->rc = SQLITE_BUSY;
207233 rc = SQLITE_BUSY;
207350 if( ofst==WAL_LOCK_CKPT && n==1 ) rc = SQLITE_BUSY;