Lines Matching refs:pState
220968 RbuState *pState = rbuLoadState(p);
220969 if( pState ){
220970 bOpen = (pState->eStage>=RBU_STAGE_MOVE);
220971 rbuFreeState(pState);
221117 ** If argument pState is not NULL, then the incremental checkpoint is
221124 static void rbuSetupCheckpoint(sqlite3rbu *p, RbuState *pState){
221126 /* If pState is NULL, then the wal file may not have been opened and
221129 if( pState==0 ){
221173 p->nStep = (pState ? pState->nRow : 0);
221179 if( p->nFrame==0 || (pState && pState->iWalCksum!=p->iWalCksum) ){
221933 static void rbuSetupOal(sqlite3rbu *p, RbuState *pState){
221935 if( pState->zTbl ){
221940 || rbuStrCompare(pIter->zIdx, pState->zIdx)
221941 || (pState->zDataTbl==0 && rbuStrCompare(pIter->zTbl, pState->zTbl))
221942 || (pState->zDataTbl && rbuStrCompare(pIter->zDataTbl, pState->zDataTbl))
221953 p->nStep = pState->nRow;
222118 RbuState *pState = 0;
222155 pState = rbuLoadState(p);
222156 assert( pState || p->rc!=SQLITE_OK );
222159 if( pState->eStage==0 ){
222164 p->eStage = pState->eStage;
222165 p->nPhaseOneStep = pState->nPhaseOneStep;
222167 p->nProgress = pState->nProgress;
222168 p->iOalSz = pState->iOalSz;
222185 && pState->eStage!=0
222188 if( pFd->iCookie!=pState->iCookie ){
222216 if( p->rc==SQLITE_OK && pState->eStage==0 && rbuIsVacuum(p) ){
222239 rbuSetupOal(p, pState);
222253 rbuSetupCheckpoint(p, pState);
222261 rbuFreeState(pState);