Home
last modified time | relevance | path

Searched refs:sqlite3LogEst (Results 1 – 10 of 10) sorted by relevance

/sqlite-3.40.0/src/
H A Dwhere.c652 return N<=10 ? 0 : sqlite3LogEst(N) - 33; in estLog()
1631 nRet -= 20; assert( 20==sqlite3LogEst(4) ); in whereRangeAdjust()
1742 int nAdjust = (sqlite3LogEst(p->nSample) - sqlite3LogEst(nDiff)); in whereRangeSkipScanEst()
1911 nNew = sqlite3LogEst(iUpper - iLower); in whereRangeScanEst()
2896 nIn = 46; assert( 46==sqlite3LogEst(25) ); in whereLoopAddBtreeIndex()
2908 nIn = sqlite3LogEst(pExpr->x.pList->nExpr); in whereLoopAddBtreeIndex()
3050 pNew->nOut = sqlite3LogEst(nOut); in whereLoopAddBtreeIndex()
3145 assert( 42==sqlite3LogEst(18) ); in whereLoopAddBtreeIndex()
3828 pNew->nOut = sqlite3LogEst(pIdxInfo->estimatedRows); in whereLoopAddVirtualOne()
4747 assert( nOrderBy>0 && 66==sqlite3LogEst(100) ); in whereSortingCost()
[all …]
H A Danalyze.c1488 if( aLog ) aLog[i] = sqlite3LogEst(v);
1493 aLog[i] = sqlite3LogEst(v);
1510 pIndex->szIdxRow = sqlite3LogEst(sz);
1516 pIndex->pTable->costMult = sqlite3LogEst(sqlite3Atoi(z+9));
H A Dbuild.c1317 pTable->nRowLogEst = sqlite3LogEst(SQLITE_DEFAULT_ROWEST); in sqlite3StartTable()
1319 pTable->nRowLogEst = 200; assert( 200==sqlite3LogEst(1048576) ); in sqlite3StartTable()
2211 pTab->szTabRow = sqlite3LogEst(wTable*4); in estimateTableWidth()
2226 pIdx->szIdxRow = sqlite3LogEst(wIndex*4); in estimateIndexWidth()
4535 assert( 99==sqlite3LogEst(1000) ); in sqlite3DefaultRowEst()
4539 if( pIdx->pPartIdxWhere!=0 ){ x -= 10; assert( 10==sqlite3LogEst(2) ); } in sqlite3DefaultRowEst()
4546 a[i] = 23; assert( 23==sqlite3LogEst(5) ); in sqlite3DefaultRowEst()
4549 assert( 0==sqlite3LogEst(1) ); in sqlite3DefaultRowEst()
H A Dutil.c1567 LogEst sqlite3LogEst(u64 x){ in sqlite3LogEst() function
1595 if( x<=2000000000 ) return sqlite3LogEst((u64)x); in sqlite3LogEstFromDouble()
H A Dselect.c2353 pTab->nRowLogEst = 200; assert( 200==sqlite3LogEst(1048576) ); in sqlite3ResultSetOfSelect()
2430 }else if( n>=0 && p->nSelectRow>sqlite3LogEst((u64)n) ){ in computeLimitRegisters()
2431 p->nSelectRow = sqlite3LogEst((u64)n); in computeLimitRegisters()
2906 && nLimit>0 && p->nSelectRow > sqlite3LogEst((u64)nLimit) in multiSelect()
2908 p->nSelectRow = sqlite3LogEst((u64)nLimit); in multiSelect()
5516 pTab->nRowLogEst = 200; assert( 200==sqlite3LogEst(1048576) ); in resolveFromTermToCte()
5663 pTab->nRowLogEst = 200; assert( 200==sqlite3LogEst(1048576) ); in sqlite3ExpandSubquery()
7339 assert( 66==sqlite3LogEst(100) ); in sqlite3Select()
7367 assert( 0==sqlite3LogEst(1) ); in sqlite3Select()
H A Dwhereexpr.c81 pTerm->truthProb = sqlite3LogEst(p->iTable) - 270; in whereClauseInsert()
H A Dpragma.c2358 szThreshold = pTab->nRowLogEst + 46; assert( sqlite3LogEst(25)==46 ); in sqlite3Pragma()
H A Dmain.c4439 *pI2 = sqlite3LogEst(*pU64); in sqlite3_test_control()
H A DsqliteInt.h4949 LogEst sqlite3LogEst(u64);
H A Dvdbe.c6067 if( ALWAYS(sz>=0) && sqlite3LogEst((u64)sz)<pOp->p3 ) res = 1; in sqlite3VdbeExec()