Lines Matching refs:WRITE_LOCK
64237 ** Locks are added (or upgraded from READ_LOCK to WRITE_LOCK) when a cursor
64245 u8 eLock; /* READ_LOCK or WRITE_LOCK */
64251 #define WRITE_LOCK 2
65122 ** assert( hasSharedCacheTableLock(pBtree, iRoot, 0, WRITE_LOCK) );
65139 int eLockType /* Required lock type (READ_LOCK or WRITE_LOCK) */
65193 && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1))
65240 ** (READ_LOCK or WRITE_LOCK) on the table with root-page iTab. Return
65249 assert( eLock==READ_LOCK || eLock==WRITE_LOCK );
65251 assert( !(p->db->flags&SQLITE_ReadUncommit)||eLock==WRITE_LOCK||iTab==1 );
65277 ** (eLock==WRITE_LOCK || pIter->eLock==WRITE_LOCK)
65279 ** since we know that if eLock==WRITE_LOCK, then no other connection
65280 ** may hold a WRITE_LOCK on any table in this file (since there can
65283 assert( pIter->eLock==READ_LOCK || pIter->eLock==WRITE_LOCK );
65287 if( eLock==WRITE_LOCK ){
65302 ** WRITE_LOCK.
65322 assert( eLock==READ_LOCK || eLock==WRITE_LOCK );
65329 assert( 0==(p->db->flags&SQLITE_ReadUncommit) || eLock==WRITE_LOCK );
65362 assert( WRITE_LOCK>READ_LOCK );
75540 assert( READ_LOCK+1==WRITE_LOCK );