Lines Matching refs:pState
204628 RbuState *pState = rbuLoadState(p);
204629 if( pState ){
204630 bOpen = (pState->eStage>=RBU_STAGE_MOVE);
204631 rbuFreeState(pState);
204777 ** If argument pState is not NULL, then the incremental checkpoint is
204784 static void rbuSetupCheckpoint(sqlite3rbu *p, RbuState *pState){
204786 /* If pState is NULL, then the wal file may not have been opened and
204789 if( pState==0 ){
204833 p->nStep = (pState ? pState->nRow : 0);
204839 if( p->nFrame==0 || (pState && pState->iWalCksum!=p->iWalCksum) ){
205602 static void rbuSetupOal(sqlite3rbu *p, RbuState *pState){
205604 if( pState->zTbl ){
205609 || rbuStrCompare(pIter->zIdx, pState->zIdx)
205610 || (pState->zDataTbl==0 && rbuStrCompare(pIter->zTbl, pState->zTbl))
205611 || (pState->zDataTbl && rbuStrCompare(pIter->zDataTbl, pState->zDataTbl))
205622 p->nStep = pState->nRow;
205786 RbuState *pState = 0;
205822 pState = rbuLoadState(p);
205823 assert( pState || p->rc!=SQLITE_OK );
205826 if( pState->eStage==0 ){
205831 p->eStage = pState->eStage;
205832 p->nPhaseOneStep = pState->nPhaseOneStep;
205834 p->nProgress = pState->nProgress;
205835 p->iOalSz = pState->iOalSz;
205852 && pState->eStage!=0
205855 if( pFd->iCookie!=pState->iCookie ){
205883 if( p->rc==SQLITE_OK && pState->eStage==0 && rbuIsVacuum(p) ){
205906 rbuSetupOal(p, pState);
205920 rbuSetupCheckpoint(p, pState);
205928 rbuFreeState(pState);