Lines Matching refs:aiRowEst
17983 tRowcnt *aiRowEst; /* Non-logarithmic stat1 data for this index */
110341 tRowcnt *aiRowEst = 0;
110344 /* Index.aiRowEst may already be set here if there are duplicate
110347 if( pIndex->aiRowEst==0 ){
110348 pIndex->aiRowEst = (tRowcnt*)sqlite3MallocZero(sizeof(tRowcnt) * nCol);
110349 if( pIndex->aiRowEst==0 ) sqlite3OomFault(pInfo->db);
110351 aiRowEst = pIndex->aiRowEst;
110354 decodeIntArray((char*)z, nCol, aiRowEst, pIndex->aiRowLogEst, pIndex);
110426 if( !pIdx->aiRowEst || iCol>=pIdx->nKeyCol || pIdx->aiRowEst[iCol+1]==0 ){
110431 nRow = pIdx->aiRowEst[0];
110432 nDist100 = ((i64)100 * pIdx->aiRowEst[0]) / pIdx->aiRowEst[iCol+1];
110625 ** contents of sqlite_stat1 are used to populate the Index.aiRowEst[]
110698 sqlite3_free(pIdx->aiRowEst);
110699 pIdx->aiRowEst = 0;
112114 sqlite3_free(p->aiRowEst);
115767 ** Fill the Index.aiRowEst[] array with default information - information
115770 ** aiRowEst[0] is supposed to contain the number of elements in the index.
115771 ** Since we do not know, guess 1 million. aiRowEst[1] is an estimate of the
115773 ** first column of the index. aiRowEst[2] is an estimate of the number
115777 ** aiRowEst[N]<=aiRowEst[N-1]
115778 ** aiRowEst[N]>=1
115781 ** how aiRowEst[] should be initialized. The numbers generated here