Lines Matching refs:nRow
66135 int nRow; /* Stop when row count reaches this */
66169 nRow = p->nOp;
66184 nRow += apSub[i]->nOp;
66190 }while( i<nRow && p->explain==2 && p->aOp[i].opcode!=OP_Explain );
66191 if( i>=nRow ){
88362 tRowcnt nRow; /* Number of rows in the entire table */
88515 p->nRow = 0;
88803 if( p->nRow==0 ){
88823 p->nRow++;
88937 sqlite3_snprintf(24, zRet, "%llu", (u64)p->nRow);
88941 u64 iVal = (p->nRow + nDistinct - 1) / nDistinct;
89677 tRowcnt nRow; /* Number of rows in index */
89682 nRow = pFinal->anLt[iCol];
89686 nRow = pIdx->aiRowEst[0];
89689 pIdx->nRowEst0 = nRow;
89705 avgEq = ((i64)100 * (nRow - sumEq))/(nDist100 - nSum100);
108595 int nRow = 1;
108610 nRow++;
108618 p->nSelectRow = nRow;
112126 u32 nRow; /* Number of rows in the result */
112146 if( p->nRow==0 && argv!=0 ){
112162 if( p->nRow==0 ){
112192 p->nRow++;
112230 res.nRow = 0;
112273 if( pnRow ) *pnRow = res.nRow;
115928 LogEst nRow; /* Estimated number of rows generated by this path */
120818 LogEst nRow /* Number of rows in the entire table */
120857 if( pLoop->nOut > nRow-iReduce ) pLoop->nOut = nRow - iReduce;
122088 LogEst nRow,
122108 rSortCost = nRow + estLog(nRow) + rScale + 16;
122205 aFrom[0].nRow = MIN(pParse->nQueryLoop, 48); assert( 48==sqlite3LogEst(28) );
122236 rUnsorted = sqlite3LogEstAdd(pWLoop->rSetup,pWLoop->rRun + pFrom->nRow);
122238 nOut = pFrom->nRow + pWLoop->nOut;
122321 if( pTo->rCost<rCost || (pTo->rCost==rCost && pTo->nRow<=nOut) ){
122329 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow,
122347 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow,
122355 pTo->nRow = nOut;
122364 mxUnsorted = aTo[0].nRow;
122383 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow,
122458 pWInfo->nRowOut = pFrom->nRow;
134523 static void fts3SetEstimatedRows(sqlite3_index_info *pIdxInfo, i64 nRow){
134526 pIdxInfo->estimatedRows = nRow;
152626 static void setEstimatedRows(sqlite3_index_info *pIdxInfo, i64 nRow){
152629 pIdxInfo->estimatedRows = nRow;
152672 i64 nRow; /* Estimated rows returned by this scan */
152730 nRow = pRtree->nRowEst / (iIdx + 1);
152731 pIdxInfo->estimatedCost = (double)6.0 * (double)nRow;
152732 setEstimatedRows(pIdxInfo, nRow);
153952 i64 nRow = 0;
153960 if( sqlite3_step(p)==SQLITE_ROW ) nRow = sqlite3_column_int64(p, 0);
153967 if( nRow==0 ){
153970 pRtree->nRowEst = MAX(nRow, RTREE_MIN_ROWEST);