Home | History | Annotate | Download | only in dist

Lines Matching refs:pSavepoint

9005   Savepoint *pSavepoint;        /* List of active savepoints */
9181 ** sqlite3.pSavepoint. The first element in the list is the most recently
37932 ** Playback savepoint pSavepoint. Or, if pSavepoint==NULL, then playback
37933 ** the entire master journal file. The case pSavepoint==NULL occurs when
37937 ** When pSavepoint is not NULL (meaning a non-transaction savepoint is
37959 ** If pSavepoint is NULL, then pages are only played back from the main
37967 static int pagerPlaybackSavepoint(Pager *pPager, PagerSavepoint *pSavepoint){
37977 if( pSavepoint ){
37978 pDone = sqlite3BitvecCreate(pSavepoint->nOrig);
37987 pPager->dbSize = pSavepoint ? pSavepoint->nOrig : pPager->dbOrigSize;
37990 if( !pSavepoint && pagerUseWal(pPager) ){
38009 if( pSavepoint && !pagerUseWal(pPager) ){
38010 iHdrOff = pSavepoint->iHdrOffset ? pSavepoint->iHdrOffset : szJ;
38011 pPager->journalOff = pSavepoint->iOffset;
38053 if( pSavepoint ){
38055 i64 offset = pSavepoint->iSubRec*(4+pPager->pageSize);
38058 rc = sqlite3WalSavepointUndo(pPager->pWal, pSavepoint->aWalData);
38060 for(ii=pSavepoint->iSubRec; rc==SQLITE_OK && ii<pPager->nSubRec; ii++){
40970 PagerSavepoint *pSavepoint = (nNew==0)?0:&pPager->aSavepoint[nNew-1];
40971 rc = pagerPlaybackSavepoint(pPager, pSavepoint);
60490 ** linked list starting at sqlite3.pSavepoint.
60499 for(p=db->pSavepoint; p; p=p->pNext) n++;
60698 Savepoint *pSavepoint;
62966 Savepoint *pSavepoint;
62978 assert( db->pSavepoint==0 || db->autoCommit==0 );
62980 assert( db->pSavepoint || db->isTransactionSavepoint==0 );
63010 u.aq.pNew->pNext = db->pSavepoint;
63011 db->pSavepoint = u.aq.pNew;
63021 u.aq.pSavepoint = db->pSavepoint;
63022 u.aq.pSavepoint && sqlite3StrICmp(u.aq.pSavepoint->zName, u.aq.zName);
63023 u.aq.pSavepoint = u.aq.pSavepoint->pNext
63027 if( !u.aq.pSavepoint ){
63048 int isTransaction = u.aq.pSavepoint->pNext==0 && db->isTransactionSavepoint;
63079 while( db->pSavepoint!=u.aq.pSavepoint ){
63080 u.aq.pTmp = db->pSavepoint;
63081 db->pSavepoint = u.aq.pTmp->pNext;
63091 assert( u.aq.pSavepoint==db->pSavepoint );
63092 db->pSavepoint = u.aq.pSavepoint->pNext;
63093 sqlite3DbFree(db, u.aq.pSavepoint);
63098 db->nDeferredCons = u.aq.pSavepoint->nDeferredCons;
105420 while( db->pSavepoint ){
105421 Savepoint *pTmp = db->pSavepoint;
105422 db->pSavepoint = pTmp->pNext;