SHARED_LOCK 26097 ext/sqlite3/libsqlite/sqlite3.c case SHARED_LOCK: return "SHARED"; SHARED_LOCK 26845 ext/sqlite3/libsqlite/sqlite3.c if( pFile->pInode->eFileLock>SHARED_LOCK ){ SHARED_LOCK 27011 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK ); SHARED_LOCK 27013 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK ); SHARED_LOCK 27024 ext/sqlite3/libsqlite/sqlite3.c (pInode->eFileLock>=PENDING_LOCK || eFileLock>SHARED_LOCK)) SHARED_LOCK 27034 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK && SHARED_LOCK 27035 ext/sqlite3/libsqlite/sqlite3.c (pInode->eFileLock==SHARED_LOCK || pInode->eFileLock==RESERVED_LOCK) ){ SHARED_LOCK 27036 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock==SHARED_LOCK ); SHARED_LOCK 27039 ext/sqlite3/libsqlite/sqlite3.c pFile->eFileLock = SHARED_LOCK; SHARED_LOCK 27052 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK SHARED_LOCK 27055 ext/sqlite3/libsqlite/sqlite3.c lock.l_type = (eFileLock==SHARED_LOCK?F_RDLCK:F_WRLCK); SHARED_LOCK 27071 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK ){ SHARED_LOCK 27100 ext/sqlite3/libsqlite/sqlite3.c pFile->eFileLock = SHARED_LOCK; SHARED_LOCK 27142 ext/sqlite3/libsqlite/sqlite3.c && pFile->eFileLock<=SHARED_LOCK SHARED_LOCK 27204 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock<=SHARED_LOCK ); SHARED_LOCK 27211 ext/sqlite3/libsqlite/sqlite3.c if( pFile->eFileLock>SHARED_LOCK ){ SHARED_LOCK 27235 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK ){ SHARED_LOCK 27306 ext/sqlite3/libsqlite/sqlite3.c pInode->eFileLock = SHARED_LOCK; SHARED_LOCK 27359 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock==SHARED_LOCK || ((unixFile *)id)->nFetchOut==0 ); SHARED_LOCK 27531 ext/sqlite3/libsqlite/sqlite3.c if( pFile->eFileLock>SHARED_LOCK ){ SHARED_LOCK 27630 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock<=SHARED_LOCK ); SHARED_LOCK 27640 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK ){ SHARED_LOCK 27641 ext/sqlite3/libsqlite/sqlite3.c pFile->eFileLock = SHARED_LOCK; SHARED_LOCK 27726 ext/sqlite3/libsqlite/sqlite3.c if( pFile->eFileLock>SHARED_LOCK ){ SHARED_LOCK 27848 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock<=SHARED_LOCK ); SHARED_LOCK 27856 ext/sqlite3/libsqlite/sqlite3.c if (eFileLock==SHARED_LOCK) { SHARED_LOCK 27918 ext/sqlite3/libsqlite/sqlite3.c if( pFile->eFileLock>SHARED_LOCK ){ SHARED_LOCK 27933 ext/sqlite3/libsqlite/sqlite3.c reserved = (pFile->eFileLock < SHARED_LOCK); SHARED_LOCK 28016 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock<=SHARED_LOCK ); SHARED_LOCK 28024 ext/sqlite3/libsqlite/sqlite3.c if (eFileLock==SHARED_LOCK) { SHARED_LOCK 28167 ext/sqlite3/libsqlite/sqlite3.c if( pFile->pInode->eFileLock>SHARED_LOCK ){ SHARED_LOCK 28246 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK ); SHARED_LOCK 28248 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK ); SHARED_LOCK 28259 ext/sqlite3/libsqlite/sqlite3.c (pInode->eFileLock>=PENDING_LOCK || eFileLock>SHARED_LOCK)) SHARED_LOCK 28269 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK && SHARED_LOCK 28270 ext/sqlite3/libsqlite/sqlite3.c (pInode->eFileLock==SHARED_LOCK || pInode->eFileLock==RESERVED_LOCK) ){ SHARED_LOCK 28271 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock==SHARED_LOCK ); SHARED_LOCK 28274 ext/sqlite3/libsqlite/sqlite3.c pFile->eFileLock = SHARED_LOCK; SHARED_LOCK 28284 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK SHARED_LOCK 28298 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK ){ SHARED_LOCK 28328 ext/sqlite3/libsqlite/sqlite3.c pFile->eFileLock = SHARED_LOCK; SHARED_LOCK 28417 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock<=SHARED_LOCK ); SHARED_LOCK 28424 ext/sqlite3/libsqlite/sqlite3.c if( pFile->eFileLock>SHARED_LOCK ){ SHARED_LOCK 28447 ext/sqlite3/libsqlite/sqlite3.c if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1) ){ SHARED_LOCK 28464 ext/sqlite3/libsqlite/sqlite3.c if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1)){ SHARED_LOCK 28465 ext/sqlite3/libsqlite/sqlite3.c pInode->eFileLock = SHARED_LOCK; SHARED_LOCK 32228 ext/sqlite3/libsqlite/sqlite3.c rc = conchFile->pMethod->xLock((sqlite3_file*)conchFile, SHARED_LOCK); SHARED_LOCK 32274 ext/sqlite3/libsqlite/sqlite3.c rc = proxyConchLock(pFile, myHostID, SHARED_LOCK); SHARED_LOCK 32404 ext/sqlite3/libsqlite/sqlite3.c conchFile->pMethod->xUnlock((sqlite3_file*)conchFile, SHARED_LOCK); SHARED_LOCK 36228 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK ); SHARED_LOCK 36230 ext/sqlite3/libsqlite/sqlite3.c assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK ); SHARED_LOCK 36270 ext/sqlite3/libsqlite/sqlite3.c if( locktype==SHARED_LOCK && res ){ SHARED_LOCK 36274 ext/sqlite3/libsqlite/sqlite3.c newLocktype = SHARED_LOCK; SHARED_LOCK 36283 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->locktype==SHARED_LOCK ); SHARED_LOCK 36302 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->locktype>=SHARED_LOCK ); SHARED_LOCK 36317 ext/sqlite3/libsqlite/sqlite3.c if( gotPendingLock && locktype==SHARED_LOCK ){ SHARED_LOCK 36384 ext/sqlite3/libsqlite/sqlite3.c assert( locktype<=SHARED_LOCK ); SHARED_LOCK 36390 ext/sqlite3/libsqlite/sqlite3.c if( locktype==SHARED_LOCK && !winGetReadLock(pFile) ){ SHARED_LOCK 36400 ext/sqlite3/libsqlite/sqlite3.c if( locktype==NO_LOCK && type>=SHARED_LOCK ){ SHARED_LOCK 42527 ext/sqlite3/libsqlite/sqlite3.c assert( p->eLock>=SHARED_LOCK ); SHARED_LOCK 42630 ext/sqlite3/libsqlite/sqlite3.c p->eLock==SHARED_LOCK ? "SHARED" : SHARED_LOCK 42723 ext/sqlite3/libsqlite/sqlite3.c assert( eLock==NO_LOCK || eLock==SHARED_LOCK ); SHARED_LOCK 42749 ext/sqlite3/libsqlite/sqlite3.c assert( eLock==SHARED_LOCK || eLock==RESERVED_LOCK || eLock==EXCLUSIVE_LOCK ); SHARED_LOCK 43661 ext/sqlite3/libsqlite/sqlite3.c rc2 = pagerUnlockDb(pPager, SHARED_LOCK); SHARED_LOCK 44779 ext/sqlite3/libsqlite/sqlite3.c assert( pPager->eLock>=SHARED_LOCK ); SHARED_LOCK 44834 ext/sqlite3/libsqlite/sqlite3.c assert( pPager->eLock>=SHARED_LOCK ); SHARED_LOCK 45413 ext/sqlite3/libsqlite/sqlite3.c || (pPager->eLock==NO_LOCK && locktype==SHARED_LOCK) SHARED_LOCK 46550 ext/sqlite3/libsqlite/sqlite3.c if( !pPager->exclusiveMode ) pagerUnlockDb(pPager, SHARED_LOCK); SHARED_LOCK 46640 ext/sqlite3/libsqlite/sqlite3.c rc = pager_wait_on_lock(pPager, SHARED_LOCK); SHARED_LOCK 46649 ext/sqlite3/libsqlite/sqlite3.c if( pPager->eLock<=SHARED_LOCK ){ SHARED_LOCK 46728 ext/sqlite3/libsqlite/sqlite3.c pagerUnlockDb(pPager, SHARED_LOCK); SHARED_LOCK 46753 ext/sqlite3/libsqlite/sqlite3.c assert( (pPager->eLock==SHARED_LOCK) SHARED_LOCK 46754 ext/sqlite3/libsqlite/sqlite3.c || (pPager->exclusiveMode && pPager->eLock>SHARED_LOCK) SHARED_LOCK 48637 ext/sqlite3/libsqlite/sqlite3.c pagerUnlockDb(pPager, SHARED_LOCK); SHARED_LOCK 48745 ext/sqlite3/libsqlite/sqlite3.c assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK ); SHARED_LOCK 48750 ext/sqlite3/libsqlite/sqlite3.c pagerUnlockDb(pPager, SHARED_LOCK); SHARED_LOCK 48766 ext/sqlite3/libsqlite/sqlite3.c assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK ); SHARED_LOCK 48857 ext/sqlite3/libsqlite/sqlite3.c rc = pagerLockDb(pPager, SHARED_LOCK);