Lines Matching refs:tempFile
47504 u8 tempFile; /* zFilename is a temporary or immutable file */
47738 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK );
47739 assert( p->tempFile==0 || pPager->changeCountDone );
47775 assert( sqlite3PcacheRefCount(pPager->pPCache)==0 || pPager->tempFile );
47843 assert( sqlite3PcacheRefCount(pPager->pPCache)>0 || pPager->tempFile );
47893 , (int)p->tempFile, (int)p->memDb, (int)p->useJournal
48063 if( !pPager->tempFile ){
48734 if( pPager->tempFile==0 ){
48805 if( pPager->tempFile==0 ) return 1;
48914 rc = zeroJournalHdr(pPager, hasMaster||pPager->tempFile);
48922 int bDelete = !pPager->tempFile;
49240 assert( pPager->eState!=PAGER_OPEN || pPg==0 || pPager->tempFile );
49546 assert( isOpen(pPager->fd) || pPager->tempFile );
49548 if( pPager->tempFile
49778 pPager->changeCountDone = pPager->tempFile;
50098 assert( pPager->tempFile==0 );
50151 if( !pPager->tempFile ){
50236 pPager->changeCountDone = pPager->tempFile;
50427 if( pPager->tempFile ){
50694 assert( isOpen(pPager->fd) || pPager->tempFile );
51059 assert( !pPager->tempFile );
51194 assert( pPager->tempFile || pPager->eState==PAGER_WRITER_DBMOD );
51203 assert( pPager->tempFile && rc==SQLITE_OK );
51501 int tempFile = 0; /* True for temp files (incl. in-memory files) */
51685 tempFile = 1;
51731 pPager->tempFile = (u8)tempFile;
51732 assert( tempFile==PAGER_LOCKINGMODE_NORMAL
51733 || tempFile==PAGER_LOCKINGMODE_EXCLUSIVE );
51735 pPager->exclusiveMode = (u8)tempFile;
51736 pPager->changeCountDone = pPager->tempFile;
51739 assert( useJournal || pPager->tempFile );
51740 pPager->noSync = pPager->tempFile;
51759 assert( isOpen(pPager->fd) || tempFile );
51787 if( pPager->tempFile ) return SQLITE_OK;
51867 assert( pPager->tempFile==0 );
51970 assert( pPager->tempFile==0 || pPager->eLock==EXCLUSIVE_LOCK );
52034 assert( !pPager->tempFile );
52056 rc = pager_playback(pPager, !pPager->tempFile);
52090 if( !pPager->tempFile && pPager->hasHeldSharedLock ){
52152 if( pPager->tempFile==0 && pPager->eState==PAGER_OPEN && rc==SQLITE_OK ){
52394 if( pPager->eState>PAGER_READER || pPager->tempFile ){
52537 if( pPager->tempFile ){
52922 assert( pPager->tempFile==0 );
52962 if( !pPager->tempFile && (pPg->flags&PGHDR_DIRTY) && pPager->nSavepoint==0 ){
53023 assert( !pPager->tempFile && isOpen(pPager->fd) );
53171 assert( MEMDB==0 || pPager->tempFile );
53172 assert( isOpen(pPager->fd) || pPager->tempFile );
53519 return pPager->tempFile;
53819 assert( pPager->tempFile || !MEMDB );
53820 if( pPager->tempFile ){
53877 if( pPager->tempFile ){
53894 if( pPager->tempFile && pPgOld ){
53977 if( eMode>=0 && !pPager->tempFile && !sqlite3WalHeapMemory(pPager->pWal) ){
54025 assert( pPager->tempFile==0 || eMode!=PAGER_JOURNALMODE_WAL );
54146 assert( MEMDB==0 || pPager->tempFile );
54147 if( pPager->tempFile==0 ) pager_reset(pPager);
54220 assert( pPager->pWal==0 && pPager->tempFile==0 );
54272 assert( pbOpen!=0 || (!pPager->tempFile && !pPager->pWal) );
54274 if( !pPager->tempFile && !pPager->pWal ){