Lines Matching defs:READ_LOCK
36886 ** Locks are added (or upgraded from READ_LOCK to WRITE_LOCK) when a cursor
36894 u8 eLock; /* READ_LOCK or WRITE_LOCK */
36899 #define READ_LOCK 1
37680 int eLockType /* Required lock type (READ_LOCK or WRITE_LOCK) */
37691 || (eLockType==READ_LOCK && (pBtree->db->flags & SQLITE_ReadUncommitted))
37773 ** (READ_LOCK or WRITE_LOCK) on the table with root-page iTab. Return
37782 assert( eLock==READ_LOCK || eLock==WRITE_LOCK );
37790 assert( eLock==READ_LOCK || (p==pBt->pWriter && p->inTrans==TRANS_WRITE) );
37791 assert( eLock==READ_LOCK || pBt->inTransaction==TRANS_WRITE );
37816 assert( pIter->eLock==READ_LOCK || pIter->eLock==WRITE_LOCK );
37817 assert( eLock==READ_LOCK || pIter->pBtree==p || pIter->eLock==READ_LOCK);
37834 ** by Btree handle p. Parameter eLock must be either READ_LOCK or
37855 assert( eLock==READ_LOCK || eLock==WRITE_LOCK );
37895 assert( WRITE_LOCK>READ_LOCK );
37966 assert( pLock->eLock==READ_LOCK || pLock->pBtree==p );
37967 pLock->eLock = READ_LOCK;
40034 rc = querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK);
40070 p->lock.eLock = READ_LOCK;
44663 assert( SQLITE_OK==querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK) );
45322 rc = querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK);
45339 u8 lockType = READ_LOCK + isWriteLock;
45340 assert( READ_LOCK+1==WRITE_LOCK );