SHARED_LOCK 22682 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK ); SHARED_LOCK 22684 ext/sqlite3/libsqlite/sqlite3.c assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK ); SHARED_LOCK 22709 ext/sqlite3/libsqlite/sqlite3.c if( locktype==SHARED_LOCK && res == NO_ERROR ){ SHARED_LOCK 22713 ext/sqlite3/libsqlite/sqlite3.c newLocktype = SHARED_LOCK; SHARED_LOCK 22721 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->locktype==SHARED_LOCK ); SHARED_LOCK 22745 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->locktype>=SHARED_LOCK ); SHARED_LOCK 22765 ext/sqlite3/libsqlite/sqlite3.c if( gotPendingLock && locktype==SHARED_LOCK ){ SHARED_LOCK 22851 ext/sqlite3/libsqlite/sqlite3.c assert( locktype<=SHARED_LOCK ); SHARED_LOCK 22861 ext/sqlite3/libsqlite/sqlite3.c if( locktype==SHARED_LOCK && getReadLock(pFile) != NO_ERROR ){ SHARED_LOCK 22876 ext/sqlite3/libsqlite/sqlite3.c if( locktype==NO_LOCK && type>=SHARED_LOCK ){ SHARED_LOCK 24996 ext/sqlite3/libsqlite/sqlite3.c case SHARED_LOCK: return "SHARED"; SHARED_LOCK 25679 ext/sqlite3/libsqlite/sqlite3.c if( pFile->pInode->eFileLock>SHARED_LOCK ){ SHARED_LOCK 25844 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK ); SHARED_LOCK 25846 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK ); SHARED_LOCK 25857 ext/sqlite3/libsqlite/sqlite3.c (pInode->eFileLock>=PENDING_LOCK || eFileLock>SHARED_LOCK)) SHARED_LOCK 25867 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK && SHARED_LOCK 25868 ext/sqlite3/libsqlite/sqlite3.c (pInode->eFileLock==SHARED_LOCK || pInode->eFileLock==RESERVED_LOCK) ){ SHARED_LOCK 25869 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock==SHARED_LOCK ); SHARED_LOCK 25872 ext/sqlite3/libsqlite/sqlite3.c pFile->eFileLock = SHARED_LOCK; SHARED_LOCK 25885 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK SHARED_LOCK 25888 ext/sqlite3/libsqlite/sqlite3.c lock.l_type = (eFileLock==SHARED_LOCK?F_RDLCK:F_WRLCK); SHARED_LOCK 25904 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK ){ SHARED_LOCK 25933 ext/sqlite3/libsqlite/sqlite3.c pFile->eFileLock = SHARED_LOCK; SHARED_LOCK 25975 ext/sqlite3/libsqlite/sqlite3.c && pFile->eFileLock<=SHARED_LOCK SHARED_LOCK 26038 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock<=SHARED_LOCK ); SHARED_LOCK 26046 ext/sqlite3/libsqlite/sqlite3.c if( pFile->eFileLock>SHARED_LOCK ){ SHARED_LOCK 26078 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK ){ SHARED_LOCK 26150 ext/sqlite3/libsqlite/sqlite3.c pInode->eFileLock = SHARED_LOCK; SHARED_LOCK 26363 ext/sqlite3/libsqlite/sqlite3.c if( pFile->eFileLock>SHARED_LOCK ){ SHARED_LOCK 26463 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock<=SHARED_LOCK ); SHARED_LOCK 26473 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK ){ SHARED_LOCK 26474 ext/sqlite3/libsqlite/sqlite3.c pFile->eFileLock = SHARED_LOCK; SHARED_LOCK 26558 ext/sqlite3/libsqlite/sqlite3.c if( pFile->eFileLock>SHARED_LOCK ){ SHARED_LOCK 26680 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock<=SHARED_LOCK ); SHARED_LOCK 26688 ext/sqlite3/libsqlite/sqlite3.c if (eFileLock==SHARED_LOCK) { SHARED_LOCK 26748 ext/sqlite3/libsqlite/sqlite3.c if( pFile->eFileLock>SHARED_LOCK ){ SHARED_LOCK 26764 ext/sqlite3/libsqlite/sqlite3.c reserved = (pFile->eFileLock < SHARED_LOCK); SHARED_LOCK 26848 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock<=SHARED_LOCK ); SHARED_LOCK 26856 ext/sqlite3/libsqlite/sqlite3.c if (eFileLock==SHARED_LOCK) { SHARED_LOCK 26998 ext/sqlite3/libsqlite/sqlite3.c if( pFile->pInode->eFileLock>SHARED_LOCK ){ SHARED_LOCK 27077 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK ); SHARED_LOCK 27079 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK ); SHARED_LOCK 27090 ext/sqlite3/libsqlite/sqlite3.c (pInode->eFileLock>=PENDING_LOCK || eFileLock>SHARED_LOCK)) SHARED_LOCK 27100 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK && SHARED_LOCK 27101 ext/sqlite3/libsqlite/sqlite3.c (pInode->eFileLock==SHARED_LOCK || pInode->eFileLock==RESERVED_LOCK) ){ SHARED_LOCK 27102 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock==SHARED_LOCK ); SHARED_LOCK 27105 ext/sqlite3/libsqlite/sqlite3.c pFile->eFileLock = SHARED_LOCK; SHARED_LOCK 27115 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK SHARED_LOCK 27129 ext/sqlite3/libsqlite/sqlite3.c if( eFileLock==SHARED_LOCK ){ SHARED_LOCK 27159 ext/sqlite3/libsqlite/sqlite3.c pFile->eFileLock = SHARED_LOCK; SHARED_LOCK 27248 ext/sqlite3/libsqlite/sqlite3.c assert( eFileLock<=SHARED_LOCK ); SHARED_LOCK 27255 ext/sqlite3/libsqlite/sqlite3.c if( pFile->eFileLock>SHARED_LOCK ){ SHARED_LOCK 27278 ext/sqlite3/libsqlite/sqlite3.c if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1) ){ SHARED_LOCK 27295 ext/sqlite3/libsqlite/sqlite3.c if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1)){ SHARED_LOCK 27296 ext/sqlite3/libsqlite/sqlite3.c pInode->eFileLock = SHARED_LOCK; SHARED_LOCK 30443 ext/sqlite3/libsqlite/sqlite3.c rc = conchFile->pMethod->xLock((sqlite3_file*)conchFile, SHARED_LOCK); SHARED_LOCK 30488 ext/sqlite3/libsqlite/sqlite3.c rc = proxyConchLock(pFile, myHostID, SHARED_LOCK); SHARED_LOCK 30617 ext/sqlite3/libsqlite/sqlite3.c conchFile->pMethod->xUnlock((sqlite3_file*)conchFile, SHARED_LOCK); SHARED_LOCK 32533 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK ); SHARED_LOCK 32535 ext/sqlite3/libsqlite/sqlite3.c assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK ); SHARED_LOCK 32562 ext/sqlite3/libsqlite/sqlite3.c if( locktype==SHARED_LOCK && res ){ SHARED_LOCK 32566 ext/sqlite3/libsqlite/sqlite3.c newLocktype = SHARED_LOCK; SHARED_LOCK 32575 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->locktype==SHARED_LOCK ); SHARED_LOCK 32594 ext/sqlite3/libsqlite/sqlite3.c assert( pFile->locktype>=SHARED_LOCK ); SHARED_LOCK 32610 ext/sqlite3/libsqlite/sqlite3.c if( gotPendingLock && locktype==SHARED_LOCK ){ SHARED_LOCK 32672 ext/sqlite3/libsqlite/sqlite3.c assert( locktype<=SHARED_LOCK ); SHARED_LOCK 32678 ext/sqlite3/libsqlite/sqlite3.c if( locktype==SHARED_LOCK && !getReadLock(pFile) ){ SHARED_LOCK 32687 ext/sqlite3/libsqlite/sqlite3.c if( locktype==NO_LOCK && type>=SHARED_LOCK ){ SHARED_LOCK 37657 ext/sqlite3/libsqlite/sqlite3.c assert( p->eLock>=SHARED_LOCK || p->noReadlock ); SHARED_LOCK 37760 ext/sqlite3/libsqlite/sqlite3.c p->eLock==SHARED_LOCK ? "SHARED" : SHARED_LOCK 37852 ext/sqlite3/libsqlite/sqlite3.c assert( eLock==NO_LOCK || eLock==SHARED_LOCK ); SHARED_LOCK 37878 ext/sqlite3/libsqlite/sqlite3.c assert( eLock==SHARED_LOCK || eLock==RESERVED_LOCK || eLock==EXCLUSIVE_LOCK ); SHARED_LOCK 38769 ext/sqlite3/libsqlite/sqlite3.c rc2 = pagerUnlockDb(pPager, SHARED_LOCK); SHARED_LOCK 39854 ext/sqlite3/libsqlite/sqlite3.c assert( pPager->eLock>=SHARED_LOCK || pPager->noReadlock ); SHARED_LOCK 39912 ext/sqlite3/libsqlite/sqlite3.c assert( pPager->eLock>=SHARED_LOCK || pPager->noReadlock ); SHARED_LOCK 40437 ext/sqlite3/libsqlite/sqlite3.c || (pPager->eLock==NO_LOCK && locktype==SHARED_LOCK) SHARED_LOCK 41425 ext/sqlite3/libsqlite/sqlite3.c if( !pPager->exclusiveMode ) pagerUnlockDb(pPager, SHARED_LOCK); SHARED_LOCK 41517 ext/sqlite3/libsqlite/sqlite3.c rc = pager_wait_on_lock(pPager, SHARED_LOCK); SHARED_LOCK 41527 ext/sqlite3/libsqlite/sqlite3.c if( pPager->eLock<=SHARED_LOCK ){ SHARED_LOCK 41601 ext/sqlite3/libsqlite/sqlite3.c pagerUnlockDb(pPager, SHARED_LOCK); SHARED_LOCK 41626 ext/sqlite3/libsqlite/sqlite3.c assert( (pPager->eLock==SHARED_LOCK) SHARED_LOCK 41627 ext/sqlite3/libsqlite/sqlite3.c || (pPager->exclusiveMode && pPager->eLock>SHARED_LOCK) SHARED_LOCK 43376 ext/sqlite3/libsqlite/sqlite3.c pagerUnlockDb(pPager, SHARED_LOCK); SHARED_LOCK 43472 ext/sqlite3/libsqlite/sqlite3.c assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK ); SHARED_LOCK 43477 ext/sqlite3/libsqlite/sqlite3.c pagerUnlockDb(pPager, SHARED_LOCK); SHARED_LOCK 43493 ext/sqlite3/libsqlite/sqlite3.c assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK || pPager->noReadlock); SHARED_LOCK 43583 ext/sqlite3/libsqlite/sqlite3.c rc = pagerLockDb(pPager, SHARED_LOCK);