Lines Matching refs:pgnoLast
250491 int pgnoLast; /* Last leaf page number in segment */ member
251271 i += fts5GetVarint32(&pData[i], pSeg->pgnoLast);
251280 if( pSeg->pgnoLast<pSeg->pgnoFirst ){
251445 assert_nc( p1->pgnoLast==p2->pgnoLast );
251539 fts5BufferAppendVarint(&p->rc, &buf, pSeg->pgnoLast);
251571 return 1 + pSeg->pgnoLast - pSeg->pgnoFirst;
251637 szSeg = (1 + pSeg->pgnoLast - pSeg->pgnoFirst);
251647 int sz = pTst->aSeg[i].pgnoLast - pTst->aSeg[i].pgnoFirst + 1;
251916 }else if( pIter->iLeafPgno<=pSeg->pgnoLast ){
252509 int pgnoLast = 0; local
252513 pgnoLast = fts5DlidxIterPgno(pDlidx);
252514 pLast = fts5LeafRead(p, FTS5_SEGMENT_ROWID(iSegid, pgnoLast));
252539 for(pgno=pIter->iLeafPgno+1; !p->rc && pgno<=pSeg->pgnoLast; pgno++){
252548 pgnoLast = pgno;
252570 pIter->iLeafPgno = pgnoLast;
253198 if( iLeafPgno>pIter->pSeg->pgnoLast ){
254779 pSeg->pSeg->pgnoLast = 0;
254877 writer.writer.pgno = pSeg->pgnoLast+1;
254962 fts5WriteFinish(p, &writer, &pSeg->pgnoLast);
254984 if( pSeg->pgnoLast==0 ){
254989 assert( pSeg->pgnoLast>0 );
255235 for(pgno=iPgno; p->rc==SQLITE_OK && pgno<=pSeg->pgnoLast; pgno++){
255681 int pgnoLast = 0; /* Last leaf page number in segment */ local
255850 fts5WriteFinish(p, &writer, &pgnoLast);
255852 assert( p->rc!=SQLITE_OK || bSecureDelete || pgnoLast>0 );
255853 if( pgnoLast>0 ){
255864 pSeg->pgnoLast = pgnoLast;
255878 fts5IndexAutomerge(p, &pStruct, pgnoLast + p->nContentlessDelete);
258558 int iDlidxPrevLeaf = pSeg->pgnoLast;
258681 iDlidxPrevLeaf = pSeg->pgnoLast;
258693 if( p->rc==SQLITE_OK && iter.iLeaf!=pSeg->pgnoLast ){
258880 pSeg->iSegid, pSeg->pgnoFirst, pSeg->pgnoLast
259503 sqlite3_result_int(ctx, pSeg->pgnoLast);