Home
last modified time | relevance | path

Searched refs:iLastPg (Results 1 – 6 of 6) sorted by relevance

/sqlite-3.40.0/ext/lsm1/
H A Dlsm_file.c1697 || (pRun->iLastPg>=iFirst && pRun->iLastPg<=iLast) in fsRunEndsBetween()
2039 if( iPg==pRun->iLastPg ){ in lsmFsDbPageNext()
2109 LsmPgno iPrev = p->iLastPg; in lsmFsSortedAppend()
2166 p->iLastPg = iApp; in lsmFsSortedAppend()
2191 if( p && p->iLastPg ){ in lsmFsSortedFinish()
2201 if( fsLastPageOnPagesBlock(pFS, p->iLastPg)!=p->iLastPg ){ in lsmFsSortedFinish()
2246 LsmPgno iPg = pSeg->iLastPg; in lsmFsDbPageLast()
2548 pSeg->iLastPg = iApp-1; in fsAppendData()
2600 LsmPgno iPrev = pSeg->iLastPg; in fsAppendPage()
2631 pSeg->iLastPg = *piNew; in fsAppendPage()
[all …]
H A Dlsm_ckpt.c314 ckptAppend64(p, piOut, pSeg->iLastPg, pRc); in ckptExportSegment()
509 assert( pSegment->iFirst==0 && pSegment->iLastPg==0 ); in ckptNewSegment()
512 pSegment->iLastPg = ckptGobble64(aIn, piIn); in ckptNewSegment()
H A DlsmInt.h406 LsmPgno iLastPg; /* Last page of this run */ member
H A Dlsm_main.c436 pSeg->iFirst, pSeg->iLastPg, pSeg->iRoot, pSeg->nSize in lsmAppendSegmentList()
H A Dlsm_sorted.c5475 LsmPgno iLast = pSeg->iLastPg; in segToString()
/sqlite-3.40.0/src/
H A Dbtree.c3870 static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit){ in incrVacuumStep() argument
3875 assert( iLastPg>nFin ); in incrVacuumStep()
3877 if( !PTRMAP_ISPAGE(pBt, iLastPg) && iLastPg!=PENDING_BYTE_PAGE(pBt) ){ in incrVacuumStep()
3886 rc = ptrmapGet(pBt, iLastPg, &eType, &iPtrPage); in incrVacuumStep()
3903 rc = allocateBtreePage(pBt, &pFreePg, &iFreePg, iLastPg, BTALLOC_EXACT); in incrVacuumStep()
3907 assert( iFreePg==iLastPg ); in incrVacuumStep()
3916 rc = btreeGetPage(pBt, iLastPg, &pLastPg, 0); in incrVacuumStep()
3946 assert( iFreePg<iLastPg ); in incrVacuumStep()
3958 iLastPg--; in incrVacuumStep()
3959 }while( iLastPg==PENDING_BYTE_PAGE(pBt) || PTRMAP_ISPAGE(pBt, iLastPg) ); in incrVacuumStep()
[all …]