Lines Matching refs:SQLITE_BUSY
617 #define SQLITE_BUSY 5 /* The database file is locked */ macro
688 #define SQLITE_BUSY_RECOVERY (SQLITE_BUSY | (1<<8))
689 #define SQLITE_BUSY_SNAPSHOT (SQLITE_BUSY | (2<<8))
19769 rc = SQLITE_BUSY; in pthreadMutexTry()
19782 rc = SQLITE_BUSY; in pthreadMutexTry()
20424 int rc = SQLITE_BUSY;
25406 #define IS_LOCK_ERROR(x) ((x != SQLITE_OK) && (x != SQLITE_BUSY))
26223 return SQLITE_BUSY;
26231 return SQLITE_BUSY;
27026 rc = SQLITE_BUSY;
27060 if( rc!=SQLITE_BUSY ){
27095 if( rc!=SQLITE_BUSY ){
27107 rc = SQLITE_BUSY;
27128 if( rc!=SQLITE_BUSY ){
27598 rc = SQLITE_BUSY;
27828 rc = SQLITE_BUSY;
27990 rc = SQLITE_BUSY;
28130 rc = SQLITE_BUSY;
28261 rc = SQLITE_BUSY;
28335 rc = SQLITE_BUSY;
29583 rc = (rc!=(-1)) ? SQLITE_OK : SQLITE_BUSY;
30051 rc = SQLITE_BUSY;
30076 rc = SQLITE_BUSY;
32015 return SQLITE_BUSY;
32179 if( rc==SQLITE_BUSY ){
32201 return SQLITE_BUSY;
32214 return SQLITE_BUSY;
32218 return SQLITE_BUSY;
32235 } while( rc==SQLITE_BUSY && nTries<3 );
32330 rc = SQLITE_BUSY;
32350 rc = SQLITE_BUSY;
32541 return SQLITE_BUSY;
32609 return SQLITE_BUSY;
34470 rc = SQLITE_BUSY;
36328 rc = SQLITE_BUSY;
36721 rc = SQLITE_BUSY;
36997 rc = SQLITE_BUSY;
37022 rc = SQLITE_BUSY;
39556 if( rc!=SQLITE_OK && rc!=SQLITE_BUSY ){
45419 }while( rc==SQLITE_BUSY && pPager->xBusyHandler(pPager->pBusyHandlerArg) );
49684 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
49701 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
50517 }while( xBusy && rc==SQLITE_BUSY && xBusy(pBusyArg) );
50650 }else if( rc==SQLITE_BUSY ){
50718 if( rc==SQLITE_BUSY ){
50733 rc = SQLITE_BUSY;
51080 if( rc==SQLITE_BUSY ){
51101 }else if( rc==SQLITE_BUSY ){
51137 }else if( rc!=SQLITE_BUSY ){
51169 }else if( rc!=SQLITE_BUSY ){
51175 assert( rc==SQLITE_BUSY || (pWal->readOnly & WAL_SHM_RDONLY)!=0 );
51176 return rc==SQLITE_BUSY ? WAL_RETRY : SQLITE_READONLY_CANTLOCK;
51181 return rc==SQLITE_BUSY ? WAL_RETRY : rc;
51238 testcase( (rc&0xff)==SQLITE_BUSY );
51577 }else if( rc!=SQLITE_BUSY ){
51588 assert( (rc&0xff)!=SQLITE_BUSY ); /* BUSY not possible when useWal==1 */
51897 testcase( rc==SQLITE_BUSY );
51916 }else if( rc==SQLITE_BUSY ){
51940 if( rc==SQLITE_OK || rc==SQLITE_BUSY ){
51961 return (rc==SQLITE_OK && eMode!=eMode2 ? SQLITE_BUSY : rc);
56010 }while( (rc&0xFF)==SQLITE_BUSY && pBt->inTransaction==TRANS_NONE &&
62524 return (rc!=SQLITE_OK && rc!=SQLITE_BUSY && ALWAYS(rc!=SQLITE_LOCKED));
62680 rc = SQLITE_BUSY;
63000 assert( rc!=SQLITE_BUSY && rc!=SQLITE_LOCKED );
66128 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY || p->rc==SQLITE_NOMEM );
66925 assert( rc!=SQLITE_BUSY );
67204 if( rc==SQLITE_BUSY && p->readOnly ){
67206 return SQLITE_BUSY;
67296 return (p->rc==SQLITE_BUSY ? SQLITE_BUSY : SQLITE_OK);
69430 if( (rc = p->rc&0xff)==SQLITE_BUSY || rc==SQLITE_LOCKED ){
69521 || rc==SQLITE_BUSY || rc==SQLITE_MISUSE
71406 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY );
71813 assert( rc==SQLITE_BUSY || rc==SQLITE_OK || rc==SQLITE_ERROR );
71814 if( rc==SQLITE_BUSY ){
71815 p->rc = rc = SQLITE_BUSY;
73629 rc = SQLITE_BUSY;
73688 rc = SQLITE_BUSY;
73701 if( sqlite3VdbeHalt(p)==SQLITE_BUSY ){
73704 p->rc = rc = SQLITE_BUSY;
73801 rc = SQLITE_BUSY;
73810 rc = SQLITE_BUSY;
73820 if( sqlite3VdbeHalt(p)==SQLITE_BUSY ){
73823 p->rc = rc = SQLITE_BUSY;
73897 if( rc==SQLITE_BUSY ){
73899 p->rc = rc = SQLITE_BUSY;
76640 if( rc==SQLITE_BUSY ){
128638 return SQLITE_BUSY;
128987 sqlite3ErrorWithMsg(db, SQLITE_BUSY, "unable to close due to unfinalized "
128990 return SQLITE_BUSY;
129212 case SQLITE_BUSY: zName = "SQLITE_BUSY"; break;
129575 sqlite3ErrorWithMsg(db, SQLITE_BUSY,
129578 return SQLITE_BUSY;
130038 if( rc==SQLITE_BUSY ){
130045 return (rc==SQLITE_OK && bBusy) ? SQLITE_BUSY : rc;
130226 sqlite3ErrorWithMsg(db, SQLITE_BUSY,
130228 return SQLITE_BUSY;