Lines Matching full:pstate
211657 RbuState *pState = rbuLoadState(p);
211658 if( pState ){
211659 bOpen = (pState->eStage>=RBU_STAGE_MOVE);
211660 rbuFreeState(pState);
211806 ** If argument pState is not NULL, then the incremental checkpoint is
211813 static void rbuSetupCheckpoint(sqlite3rbu *p, RbuState *pState){
211815 /* If pState is NULL, then the wal file may not have been opened and
211818 if( pState==0 ){
211862 p->nStep = (pState ? pState->nRow : 0);
211868 if( p->nFrame==0 || (pState && pState->iWalCksum!=p->iWalCksum) ){
212606 static void rbuSetupOal(sqlite3rbu *p, RbuState *pState){
212608 if( pState->zTbl ){
212613 || rbuStrCompare(pIter->zIdx, pState->zIdx)
212614 || (pState->zDataTbl==0 && rbuStrCompare(pIter->zTbl, pState->zTbl))
212615 || (pState->zDataTbl && rbuStrCompare(pIter->zDataTbl, pState->zDataTbl))
212626 p->nStep = pState->nRow;
212790 RbuState *pState = 0;
212827 pState = rbuLoadState(p);
212828 assert( pState || p->rc!=SQLITE_OK );
212831 if( pState->eStage==0 ){
212836 p->eStage = pState->eStage;
212837 p->nPhaseOneStep = pState->nPhaseOneStep;
212839 p->nProgress = pState->nProgress;
212840 p->iOalSz = pState->iOalSz;
212857 && pState->eStage!=0
212860 if( pFd->iCookie!=pState->iCookie ){
212888 if( p->rc==SQLITE_OK && pState->eStage==0 && rbuIsVacuum(p) ){
212911 rbuSetupOal(p, pState);
212925 rbuSetupCheckpoint(p, pState);
212933 rbuFreeState(pState);