Home
last modified time | relevance | path

Searched refs:inCkpt (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dpager.c116 u8 inCkpt; /* TRUE if written to the checkpoint journal */ member
400 if( pPg->inCkpt ) return; in page_add_to_ckpt_list()
408 pPg->inCkpt = 1; in page_add_to_ckpt_list()
411 if( !pPg->inCkpt ) return; in page_remove_from_ckpt_list()
425 pPg->inCkpt = 0; in page_remove_from_ckpt_list()
1778 if( pPg->inJournal && (pPg->inCkpt || pPager->ckptInUse==0) ){ in sqlitepager_write()
1855 if( pPager->ckptInUse && !pPg->inCkpt && (int)pPg->pgno<=pPager->ckptSize ){ in sqlitepager_write()
1978 if( pPager->ckptInUse && !pPg->inCkpt && (int)pPg->pgno<=pPager->ckptSize ){ in sqlitepager_dont_rollback()
2171 assert( pPg->inCkpt ); in sqlitepager_ckpt_commit()
2172 pPg->inCkpt = 0; in sqlitepager_ckpt_commit()
H A Dbtree.c357 u8 inCkpt; /* True if there is a checkpoint on the transaction */ member
829 pBt->inCkpt = 0; in unlockBtreeIfUnused()
896 pBt->inCkpt = 0; in fileBtreeBeginTrans()
913 pBt->inCkpt = 0; in fileBtreeCommit()
932 pBt->inCkpt = 0; in fileBtreeRollback()
956 if( !pBt->inTrans || pBt->inCkpt ){ in fileBtreeBeginCkpt()
960 pBt->inCkpt = 1; in fileBtreeBeginCkpt()
971 if( pBt->inCkpt && !pBt->readOnly ){ in fileBtreeCommitCkpt()
976 pBt->inCkpt = 0; in fileBtreeCommitCkpt()
991 if( pBt->inCkpt==0 || pBt->readOnly ) return SQLITE_OK; in fileBtreeRollbackCkpt()
[all …]