Lines Matching refs:iLastPg
77155 static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit){ argument
77160 assert( iLastPg>nFin );
77162 if( !PTRMAP_ISPAGE(pBt, iLastPg) && iLastPg!=PENDING_BYTE_PAGE(pBt) ){
77171 rc = ptrmapGet(pBt, iLastPg, &eType, &iPtrPage);
77188 rc = allocateBtreePage(pBt, &pFreePg, &iFreePg, iLastPg, BTALLOC_EXACT);
77192 assert( iFreePg==iLastPg );
77201 rc = btreeGetPage(pBt, iLastPg, &pLastPg, 0);
77231 assert( iFreePg<iLastPg );
77243 iLastPg--;
77244 }while( iLastPg==PENDING_BYTE_PAGE(pBt) || PTRMAP_ISPAGE(pBt, iLastPg) );
77246 pBt->nPage = iLastPg;