LogEst 11519 ext/sqlite3/libsqlite/sqlite3.c LogEst nRowLogEst; /* Estimated rows in table - from sqlite_stat1 table */ LogEst 11520 ext/sqlite3/libsqlite/sqlite3.c LogEst szTabRow; /* Estimated size of each table row in bytes */ LogEst 11522 ext/sqlite3/libsqlite/sqlite3.c LogEst costMult; /* Cost multiplier for using this table */ LogEst 11734 ext/sqlite3/libsqlite/sqlite3.c LogEst *aiRowLogEst; /* From ANALYZE: Est. rows selected by each column */ LogEst 11743 ext/sqlite3/libsqlite/sqlite3.c LogEst szIdxRow; /* Estimated average row size in bytes */ LogEst 13374 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE LogEst sqlite3LogEst(u64); LogEst 13375 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE LogEst sqlite3LogEstAdd(LogEst,LogEst); LogEst 13377 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble(double); LogEst 14807 ext/sqlite3/libsqlite/sqlite3.c LogEst nEst; /* Estimated output rows per loop */ LogEst 24730 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE LogEst sqlite3LogEstAdd(LogEst a, LogEst b){ LogEst 24757 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE LogEst sqlite3LogEst(u64 x){ LogEst 24758 ext/sqlite3/libsqlite/sqlite3.c static LogEst a[] = { 0, 2, 3, 5, 6, 7, 8, 9 }; LogEst 24759 ext/sqlite3/libsqlite/sqlite3.c LogEst y = 40; LogEst 24775 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble(double x){ LogEst 24777 ext/sqlite3/libsqlite/sqlite3.c LogEst e; LogEst 70511 ext/sqlite3/libsqlite/sqlite3.c LogEst x = pScan->nEst; LogEst 93601 ext/sqlite3/libsqlite/sqlite3.c ROUND8(sizeof(LogEst)*(nCol+1) + /* Index.aiRowLogEst */ LogEst 93608 ext/sqlite3/libsqlite/sqlite3.c p->aiRowLogEst = (LogEst*)pExtra; pExtra += sizeof(LogEst)*(nCol+1); LogEst 94135 ext/sqlite3/libsqlite/sqlite3.c LogEst aVal[] = { 33, 32, 30, 28, 26 }; LogEst 94136 ext/sqlite3/libsqlite/sqlite3.c LogEst *a = pIdx->aiRowLogEst; LogEst 94148 ext/sqlite3/libsqlite/sqlite3.c memcpy(&a[1], aVal, nCopy*sizeof(LogEst)); LogEst 115838 ext/sqlite3/libsqlite/sqlite3.c LogEst rSetup; /* One-time setup cost (ex: create transient index) */ LogEst 115839 ext/sqlite3/libsqlite/sqlite3.c LogEst rRun; /* Cost of running each loop */ LogEst 115840 ext/sqlite3/libsqlite/sqlite3.c LogEst nOut; /* Estimated number of output rows */ LogEst 115871 ext/sqlite3/libsqlite/sqlite3.c LogEst rRun; /* Cost of running this subquery */ LogEst 115872 ext/sqlite3/libsqlite/sqlite3.c LogEst nOut; /* Number of outputs for this subquery */ LogEst 115910 ext/sqlite3/libsqlite/sqlite3.c LogEst nRow; /* Estimated number of rows generated by this path */ LogEst 115911 ext/sqlite3/libsqlite/sqlite3.c LogEst rCost; /* Total cost of this path */ LogEst 115912 ext/sqlite3/libsqlite/sqlite3.c LogEst rUnsorted; /* Total cost of this path ignoring sorting costs */ LogEst 115977 ext/sqlite3/libsqlite/sqlite3.c LogEst truthProb; /* Probability of truth for this expression */ LogEst 116128 ext/sqlite3/libsqlite/sqlite3.c LogEst nRowOut; /* Estimated number of output rows */ LogEst 117790 ext/sqlite3/libsqlite/sqlite3.c static LogEst estLog(LogEst N){ LogEst 118407 ext/sqlite3/libsqlite/sqlite3.c static LogEst whereRangeAdjust(WhereTerm *pTerm, LogEst nNew){ LogEst 118408 ext/sqlite3/libsqlite/sqlite3.c LogEst nRet = nNew; LogEst 118577 ext/sqlite3/libsqlite/sqlite3.c LogEst nNew; LogEst 118724 ext/sqlite3/libsqlite/sqlite3.c pLoop->nOut = (LogEst)nOut; LogEst 120805 ext/sqlite3/libsqlite/sqlite3.c LogEst iReduce = 0; /* pLoop->nOut should not exceed nRow-iReduce */ LogEst 120882 ext/sqlite3/libsqlite/sqlite3.c LogEst saved_nOut; /* Original value of pNew->nOut */ LogEst 120885 ext/sqlite3/libsqlite/sqlite3.c LogEst rSize; /* Number of rows in the table */ LogEst 120886 ext/sqlite3/libsqlite/sqlite3.c LogEst rLogSize; /* Logarithm of table size */ LogEst 120919 ext/sqlite3/libsqlite/sqlite3.c LogEst rCostIdx; LogEst 120920 ext/sqlite3/libsqlite/sqlite3.c LogEst nOutUnadjusted; /* nOut before IN() and WHERE adjustments */ LogEst 121115 ext/sqlite3/libsqlite/sqlite3.c LogEst nIter; LogEst 121244 ext/sqlite3/libsqlite/sqlite3.c LogEst aiRowEstPk[2]; /* The aiRowLogEst[] value for the sPk index */ LogEst 121252 ext/sqlite3/libsqlite/sqlite3.c LogEst rSize; /* number of rows in the table */ LogEst 121253 ext/sqlite3/libsqlite/sqlite3.c LogEst rLogSize; /* Logarithm of the number of rows in the table */ LogEst 122068 ext/sqlite3/libsqlite/sqlite3.c static LogEst whereSortingCost( LogEst 122087 ext/sqlite3/libsqlite/sqlite3.c LogEst rScale, rSortCost; LogEst 122123 ext/sqlite3/libsqlite/sqlite3.c LogEst mxCost = 0; /* Maximum cost of a set of paths */ LogEst 122124 ext/sqlite3/libsqlite/sqlite3.c LogEst mxUnsorted = 0; /* Maximum unsorted cost of a set of path */ LogEst 122132 ext/sqlite3/libsqlite/sqlite3.c LogEst *aSortCost = 0; /* Sorting and partial sorting costs */ LogEst 122159 ext/sqlite3/libsqlite/sqlite3.c nSpace += sizeof(LogEst) * nOrderBy; LogEst 122176 ext/sqlite3/libsqlite/sqlite3.c aSortCost = (LogEst*)pX; LogEst 122177 ext/sqlite3/libsqlite/sqlite3.c memset(aSortCost, 0, sizeof(LogEst) * nOrderBy); LogEst 122207 ext/sqlite3/libsqlite/sqlite3.c LogEst nOut; /* Rows visited by (pFrom+pWLoop) */ LogEst 122208 ext/sqlite3/libsqlite/sqlite3.c LogEst rCost; /* Cost of path (pFrom+pWLoop) */ LogEst 122209 ext/sqlite3/libsqlite/sqlite3.c LogEst rUnsorted; /* Unsorted cost of (pFrom+pWLoop) */ LogEst 122515 ext/sqlite3/libsqlite/sqlite3.c pLoop->nOut = (LogEst)1;