Lines Matching refs:nRow

19739     u32 nRow;            /* Number of rows in a VALUES clause */  member
32563 pItem->u1.nRow); in sqlite3_str_vappendf()
71232 i64 nRow; /* Number of rows visited in current tree */ member
82413 pCheck->nRow += nCell;
82715 sCheck.nRow = 0;
82726 sqlite3MemSetArrayInt64(aCnt, i, sCheck.nRow);
88161 int nRow; /* Stop when row count reaches this */ local
88176 nRow = p->nOp;
88185 nRow += apSub[i]->nOp;
88191 if( i>=nRow ){
88235 nRow += aOp[i].p4.pProgram->nOp;
112256 pNewItem->u1.nRow = pOldItem->u1.nRow;
120385 tRowcnt nRow; /* Number of rows visited so far */
120545 p->nRow = 0;
120818 if( p->nRow==0 ){
120845 p->nRow++;
120875 if( p->nLimit && p->nRow>(tRowcnt)p->nLimit*(p->nSkipAhead+1) ){
120969 p->nSkipAhead ? (u64)p->nEst : (u64)p->nRow);
120972 u64 iVal = (p->nRow + nDistinct - 1) / nDistinct;
120973 if( iVal==2 && p->nRow*10 <= nDistinct*11 ) iVal = 1;
120976 assert( p->current.anEq[i] || p->nRow==0 );
121802 tRowcnt nRow; /* Number of rows in index */
121807 nRow = pFinal->anLt[iCol];
121811 nRow = pIdx->aiRowEst[0];
121814 pIdx->nRowEst0 = nRow;
121829 if( nDist100>nSum100 && sumEq<nRow ){
121830 avgEq = ((i64)100 * (nRow - sumEq))/(nDist100 - nSum100);
135547 p->u1.nRow = 2;
135575 p->u1.nRow++;
147686 int nRow = 1;
147700 nRow += bShowAll;
147702 ExplainQueryPlan((pParse, 0, "SCAN %d CONSTANT ROW%s", nRow,
147703 nRow==1 ? "" : "S"));
147707 p->nSelectRow = nRow;
153693 u32 nRow; /* Number of rows in the result */
153713 if( p->nRow==0 && argv!=0 ){
153729 if( p->nRow==0 ){
153759 p->nRow++;
153797 res.nRow = 0;
153840 if( pnRow ) *pnRow = res.nRow;
159170 LogEst nRow; /* Estimated number of rows generated by this path */
167426 LogEst nRow /* Number of rows in the entire table */
167491 if( pLoop->nOut > nRow-iReduce ){
167492 pLoop->nOut = nRow - iReduce;
169866 LogEst nRow, /* Estimated number of rows to sort */
169896 rSortCost = nRow + nCol;
169912 if( pWInfo->iLimit<nRow ){
169913 nRow = pWInfo->iLimit;
169918 if( nRow>10 ){ nRow -= 10; assert( 10==sqlite3LogEst(2) ); }
169920 rSortCost += estLog(nRow);
170232 aFrom[0].nRow = MIN(pParse->nQueryLoop, 48); assert( 48==sqlite3LogEst(28) );
170261 if( (pWLoop->wsFlags & WHERE_AUTO_INDEX)!=0 && pFrom->nRow<3 ){
170272 rUnsort = pWLoop->rRun + pFrom->nRow;
170277 nOut = pFrom->nRow + pWLoop->nOut;
170373 || (pTo->rCost==rCost && pTo->nRow<nOut)
170374 || (pTo->rCost==rCost && pTo->nRow==nOut && pTo->rUnsort<rUnsort)
170375 || (pTo->rCost==rCost && pTo->nRow==nOut && pTo->rUnsort==rUnsort
170385 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow,
170403 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow,
170411 pTo->nRow = nOut;
170420 mxUnsort = aTo[0].nRow;
170449 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow,
170555 pWInfo->nRowOut = pFrom->nRow;
190658 static void fts3SetEstimatedRows(sqlite3_index_info *pIdxInfo, i64 nRow){
190661 pIdxInfo->estimatedRows = nRow;
215490 i64 nRow; /* Estimated rows returned by this scan */
215569 nRow = pRtree->nRowEst >> (iIdx/2);
215570 pIdxInfo->estimatedCost = (double)6.0 * (double)nRow;
215571 pIdxInfo->estimatedRows = nRow;
216775 i64 nRow = RTREE_MIN_ROWEST;
216790 if( sqlite3_step(p)==SQLITE_ROW ) nRow = sqlite3_column_int64(p, 0);
216795 pRtree->nRowEst = MAX(nRow, RTREE_MIN_ROWEST);
221498 int nRow;
224022 pRet->nRow = sqlite3_column_int(pStmt, 1);
224352 p->nStep = (pState ? pState->nRow : 0);
225132 p->nStep = pState->nRow;
238654 sqlite3_int64 nRow = 0; /* Number of rows in table */
238673 if( rc==SQLITE_OK ) rc = pApi->xRowCount(pFts, &nRow);
238674 assert( rc!=SQLITE_OK || nRow>0 );
238676 if( rc==SQLITE_OK ) p->avgdl = (double)nToken / (double)nRow;
238696 double idf = log( (nRow - nHit + 0.5) / (nHit + 0.5) );
258913 i64 nRow = 0;
258914 rc = fts5StorageCount(p, "content", &nRow);
258915 if( rc==SQLITE_OK && nRow!=p->nTotalRow ) rc = FTS5_CORRUPT;
258918 i64 nRow = 0;
258919 rc = fts5StorageCount(p, "docsize", &nRow);
258920 if( rc==SQLITE_OK && nRow!=p->nTotalRow ) rc = FTS5_CORRUPT;