Lines Matching refs:pState
197789 RbuState *pState = rbuLoadState(p);
197790 if( pState ){
197791 bOpen = (pState->eStage>=RBU_STAGE_MOVE);
197792 rbuFreeState(pState);
197938 ** If argument pState is not NULL, then the incremental checkpoint is
197945 static void rbuSetupCheckpoint(sqlite3rbu *p, RbuState *pState){
197947 /* If pState is NULL, then the wal file may not have been opened and
197950 if( pState==0 ){
197994 p->nStep = (pState ? pState->nRow : 0);
198000 if( p->nFrame==0 || (pState && pState->iWalCksum!=p->iWalCksum) ){
198733 static void rbuSetupOal(sqlite3rbu *p, RbuState *pState){
198735 if( pState->zTbl ){
198740 || rbuStrCompare(pIter->zIdx, pState->zIdx)
198741 || (pState->zDataTbl==0 && rbuStrCompare(pIter->zTbl, pState->zTbl))
198742 || (pState->zDataTbl && rbuStrCompare(pIter->zDataTbl, pState->zDataTbl))
198753 p->nStep = pState->nRow;
198917 RbuState *pState = 0;
198953 pState = rbuLoadState(p);
198954 assert( pState || p->rc!=SQLITE_OK );
198957 if( pState->eStage==0 ){
198962 p->eStage = pState->eStage;
198963 p->nPhaseOneStep = pState->nPhaseOneStep;
198965 p->nProgress = pState->nProgress;
198966 p->iOalSz = pState->iOalSz;
198983 && pState->eStage!=0
198986 if( pFd->iCookie!=pState->iCookie ){
199014 if( p->rc==SQLITE_OK && pState->eStage==0 && rbuIsVacuum(p) ){
199037 rbuSetupOal(p, pState);
199043 rbuSetupCheckpoint(p, pState);
199051 rbuFreeState(pState);