Lines Matching defs:SQLITE_BUSY
825 ** SQLITE_BUSY.
933 #define SQLITE_BUSY 5 /* The database file is locked */
1006 #define SQLITE_BUSY_RECOVERY (SQLITE_BUSY | (1<<8))
1998 ** [SQLITE_BUSY].)^</dd>
2215 ** CAPI3REF: Register A Callback To Handle SQLITE_BUSY Errors
2221 ** ^If the busy callback is NULL, then [SQLITE_BUSY] or [SQLITE_IOERR_BLOCKED]
2230 ** access the database and [SQLITE_BUSY] or [SQLITE_IOERR_BLOCKED] is returned.
2236 ** handler could result in a deadlock, it will go ahead and return [SQLITE_BUSY]
2245 ** SQLite returns [SQLITE_BUSY] for the first process, hoping that this
2251 ** ^The [SQLITE_BUSY] error is converted to [SQLITE_IOERR_BLOCKED]
2259 ** code is promoted from the relatively benign [SQLITE_BUSY] to
2288 ** [SQLITE_BUSY] or [SQLITE_IOERR_BLOCKED].
3566 ** ^In the legacy interface, the return value will be either [SQLITE_BUSY],
3571 ** ^[SQLITE_BUSY] means that the database engine was unable to acquire the
3614 ** error other than [SQLITE_BUSY] and [SQLITE_MISUSE]. You must call
4606 ** [SQLITE_NOMEM], [SQLITE_BUSY], and [SQLITE_INTERRUPT]) then the
5625 ** SQLITE_BUSY. ^The sqlite3_mutex_try() interface returns [SQLITE_OK]
5637 ** will always return SQLITE_BUSY. The SQLite core only ever uses
6377 ** [SQLITE_NOMEM], [SQLITE_BUSY], [SQLITE_LOCKED], or an
6393 ** [SQLITE_BUSY] is returned to the caller. ^In this case the call to
6441 ** ^A return of [SQLITE_BUSY] or [SQLITE_LOCKED] from sqlite3_backup_step()
16257 ** thread holds the mutex and it cannot be obtained, return SQLITE_BUSY.
16441 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
16700 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
16731 rc = SQLITE_BUSY;
16976 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
17051 rc = SQLITE_BUSY;
17064 rc = SQLITE_BUSY;
17361 ** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK
17387 int rc = SQLITE_BUSY;
22076 rc = SQLITE_BUSY;
22966 ** a normal expected return code of SQLITE_BUSY or SQLITE_OK
22968 #define IS_LOCK_ERROR(x) ((x != SQLITE_OK) && (x != SQLITE_BUSY))
23411 ** intended to translate a variety of "try again" errors into SQLITE_BUSY
23430 return SQLITE_BUSY;
23438 return SQLITE_BUSY;
24121 rc = SQLITE_BUSY;
24205 rc = SQLITE_BUSY;
24701 rc = SQLITE_BUSY;
24933 rc = SQLITE_BUSY;
24976 r = SQLITE_BUSY;
25104 rc = SQLITE_BUSY;
25216 ** Return SQLITE_OK on success, SQLITE_BUSY on failure.
25244 rc = SQLITE_BUSY;
25374 rc = SQLITE_BUSY;
25448 rc = SQLITE_BUSY;
26369 rc = (rc!=(-1)) ? SQLITE_OK : SQLITE_BUSY;
26739 ** SQLITE_BUSY.
26743 rc = SQLITE_BUSY;
26764 ** lock. If any do, return SQLITE_BUSY right away.
26768 rc = SQLITE_BUSY;
28248 ** will fail and SQLITE_BUSY is returned.
28451 return SQLITE_BUSY;
28608 if( rc==SQLITE_BUSY ){
28630 return SQLITE_BUSY;
28643 SQLITE_BUSY;
28647 return SQLITE_BUSY;
28664 } while( rc==SQLITE_BUSY && nTries<3 );
28758 rc = SQLITE_BUSY;
28778 rc = SQLITE_BUSY;
28854 rc=SQLITE_CANTOPEN_BKPT; /* SQLITE_BUSY? proxyTakeConch called
28976 return SQLITE_BUSY;
29043 return SQLITE_BUSY;
30724 rc = SQLITE_BUSY;
31002 rc = SQLITE_BUSY;
31274 ** SQLITE_BUSY.
31278 rc = SQLITE_BUSY;
31299 ** lock. If any do, return SQLITE_BUSY right away.
31303 rc = SQLITE_BUSY;
33086 if( rc!=SQLITE_OK && rc!=SQLITE_BUSY ){
35177 ** If the VFS xLock() or xUnlock() returns an error other than SQLITE_BUSY
38204 ** SQLITE_BUSY when trying to upgrade from no-lock to a SHARED lock,
38218 ** retried. If it returns zero, then the SQLITE_BUSY error is
38440 }while( rc==SQLITE_BUSY && pPager->xBusyHandler(pPager->pBusyHandlerArg) );
38754 ** SQLITE_BUSY is returned and no data is written to the database file.
38774 ** be obtained, SQLITE_BUSY is returned.
40455 ** Otherwise, either SQLITE_BUSY or an SQLITE_IOERR_XXX error code is
41525 ** error (SQLITE_BUSY) is returned and the log connection is not closed.
42347 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
42363 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); )
42623 ** the necessary locks, this routine returns SQLITE_BUSY.
43190 }else if( rc==SQLITE_BUSY ){
43252 }else if( rc==SQLITE_BUSY ){
43449 ** I/O error or an SQLITE_BUSY because another process is running
43531 if( rc==SQLITE_BUSY ){
43541 /* This branch is taken when the xShmMap() method returns SQLITE_BUSY.
43544 ** modules may return SQLITE_BUSY due to a race condition in the
43552 }else if( rc==SQLITE_BUSY ){
43588 }else if( rc!=SQLITE_BUSY ){
43618 }else if( rc!=SQLITE_BUSY ){
43624 assert( rc==SQLITE_BUSY );
43630 return rc==SQLITE_BUSY ? WAL_RETRY : rc;
43687 testcase( (rc&0xff)==SQLITE_BUSY );
43847 ** returns SQLITE_BUSY in that case and no write transaction is started.
43863 ** SQLITE_BUSY if unable.
43878 rc = SQLITE_BUSY;
44033 }else if( rc!=SQLITE_BUSY ){
44044 assert( (rc&0xff)!=SQLITE_BUSY ); /* BUSY not possible when useWal==1 */
44242 /* Usually this is SQLITE_BUSY meaning that another thread or process
47651 ** SQLITE_BUSY is returned if the database is locked. SQLITE_NOMEM
47884 ** invoke the busy handler - just return SQLITE_BUSY. SQLITE_BUSY is
47891 ** no progress. By returning SQLITE_BUSY and not invoking the busy callback
47971 }while( (rc&0xFF)==SQLITE_BUSY && pBt->inTransaction==TRANS_NONE &&
53699 ** are considered fatal except for SQLITE_BUSY and SQLITE_LOCKED.
53702 return (rc!=SQLITE_OK && rc!=SQLITE_BUSY && ALWAYS(rc!=SQLITE_LOCKED));
53826 ** SQLITE_BUSY immediately.
53829 rc = SQLITE_BUSY;
54091 assert( rc!=SQLITE_BUSY && rc!=SQLITE_LOCKED );
56388 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY || p->rc==SQLITE_NOMEM );
57124 assert( rc!=SQLITE_BUSY );
57336 ** lock contention, return SQLITE_BUSY. If SQLITE_BUSY is returned, it
57435 if( rc==SQLITE_BUSY ){
57437 return SQLITE_BUSY;
58903 || rc==SQLITE_BUSY || rc==SQLITE_MISUSE
60539 ** return SQLITE_BUSY.
60990 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY );
61274 assert( rc==SQLITE_BUSY || rc==SQLITE_OK || rc==SQLITE_ERROR );
61275 if( rc==SQLITE_BUSY ){
61276 p->rc = rc = SQLITE_BUSY;
62997 rc = SQLITE_BUSY;
63048 rc = SQLITE_BUSY;
63061 if( sqlite3VdbeHalt(p)==SQLITE_BUSY ){
63064 p->rc = rc = SQLITE_BUSY;
63143 rc = SQLITE_BUSY;
63150 rc = SQLITE_BUSY;
63160 if( sqlite3VdbeHalt(p)==SQLITE_BUSY ){
63163 p->rc = rc = SQLITE_BUSY;
63228 if( rc==SQLITE_BUSY ){
63230 p->rc = rc = SQLITE_BUSY;
63403 ** SQLITE_BUSY error code.
105248 ** If lookaside is already active, return SQLITE_BUSY.
105259 return SQLITE_BUSY;
105480 /* If there are any outstanding VMs, return SQLITE_BUSY. */
105498 sqlite3Error(db, SQLITE_BUSY,
105501 return SQLITE_BUSY;
105632 /* SQLITE_BUSY */ "database is locked",
105713 ** returns 0, the operation aborts with an SQLITE_BUSY error.
105851 ** and there are active VMs, then return SQLITE_BUSY. If a function
105858 SQLITE_BUSY,
105861 return SQLITE_BUSY;
106397 sqlite3Error(db, SQLITE_BUSY,
106399 return SQLITE_BUSY;