Lines Matching refs:nRow
66117 int nRow; /* Stop when row count reaches this */
66151 nRow = p->nOp;
66166 nRow += apSub[i]->nOp;
66172 }while( i<nRow && p->explain==2 && p->aOp[i].opcode!=OP_Explain );
66173 if( i>=nRow ){
88344 tRowcnt nRow; /* Number of rows in the entire table */
88497 p->nRow = 0;
88785 if( p->nRow==0 ){
88805 p->nRow++;
88919 sqlite3_snprintf(24, zRet, "%llu", (u64)p->nRow);
88923 u64 iVal = (p->nRow + nDistinct - 1) / nDistinct;
89659 tRowcnt nRow; /* Number of rows in index */
89664 nRow = pFinal->anLt[iCol];
89668 nRow = pIdx->aiRowEst[0];
89671 pIdx->nRowEst0 = nRow;
89687 avgEq = ((i64)100 * (nRow - sumEq))/(nDist100 - nSum100);
108577 int nRow = 1;
108592 nRow++;
108600 p->nSelectRow = nRow;
112108 u32 nRow; /* Number of rows in the result */
112128 if( p->nRow==0 && argv!=0 ){
112144 if( p->nRow==0 ){
112174 p->nRow++;
112212 res.nRow = 0;
112255 if( pnRow ) *pnRow = res.nRow;
115910 LogEst nRow; /* Estimated number of rows generated by this path */
120800 LogEst nRow /* Number of rows in the entire table */
120839 if( pLoop->nOut > nRow-iReduce ) pLoop->nOut = nRow - iReduce;
122070 LogEst nRow,
122090 rSortCost = nRow + estLog(nRow) + rScale + 16;
122187 aFrom[0].nRow = MIN(pParse->nQueryLoop, 48); assert( 48==sqlite3LogEst(28) );
122218 rUnsorted = sqlite3LogEstAdd(pWLoop->rSetup,pWLoop->rRun + pFrom->nRow);
122220 nOut = pFrom->nRow + pWLoop->nOut;
122303 if( pTo->rCost<rCost || (pTo->rCost==rCost && pTo->nRow<=nOut) ){
122311 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow,
122329 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow,
122337 pTo->nRow = nOut;
122346 mxUnsorted = aTo[0].nRow;
122365 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow,
122440 pWInfo->nRowOut = pFrom->nRow;
134505 static void fts3SetEstimatedRows(sqlite3_index_info *pIdxInfo, i64 nRow){
134508 pIdxInfo->estimatedRows = nRow;
152596 static void setEstimatedRows(sqlite3_index_info *pIdxInfo, i64 nRow){
152599 pIdxInfo->estimatedRows = nRow;
152642 i64 nRow; /* Estimated rows returned by this scan */
152700 nRow = pRtree->nRowEst / (iIdx + 1);
152701 pIdxInfo->estimatedCost = (double)6.0 * (double)nRow;
152702 setEstimatedRows(pIdxInfo, nRow);
153922 i64 nRow = 0;
153930 if( sqlite3_step(p)==SQLITE_ROW ) nRow = sqlite3_column_int64(p, 0);
153937 if( nRow==0 ){
153940 pRtree->nRowEst = MAX(nRow, RTREE_MIN_ROWEST);