Home
last modified time | relevance | path

Searched refs:rCost (Results 1 – 5 of 5) sorted by relevance

/sqlite-3.40.0/ext/misc/
H A Damatch.c540 if( pA->rCost<=pB->rCost ){ in amatchMergeRules()
591 if( p->rSub==0 || p->rSub>rCost ) p->rSub = rCost; in amatchLoadOneRule()
597 if( rCost<=0 || rCost>AMATCH_MX_COST ){ in amatchLoadOneRule()
616 if( p->rIns==0 || p->rIns>rCost ) p->rIns = rCost; in amatchLoadOneRule()
619 if( p->rDel==0 || p->rDel>rCost ) p->rDel = rCost; in amatchLoadOneRule()
632 pRule->rCost = rCost; in amatchLoadOneRule()
1024 amatch_cost rCost, in amatchAddWord() argument
1055 if( pWord->rCost>rCost ){ in amatchAddWord()
1062 pWord->rCost = rCost; in amatchAddWord()
1076 pWord->rCost = rCost; in amatchAddWord()
[all …]
H A Dfuzzer.c197 fuzzer_cost rCost; /* Cost of this transformation */ member
267 if( pA->rCost<=pB->rCost ){ in fuzzerMergeRules()
351 pRule->rCost = nCost; in fuzzerLoadOneRule()
657 return pStem->rCostX = pStem->rBaseCost + pStem->pRule->rCost; in fuzzerCost()
995 pCur->nullRule.rCost = 0; in fuzzerFilter()
1085 double rCost = 1e12; in fuzzerBestIndex() local
1101 rCost /= 1e6; in fuzzerBestIndex()
1110 rCost /= 10.0; in fuzzerBestIndex()
1119 rCost /= 10.0; in fuzzerBestIndex()
1138 if( seenMatch && (iPlan&1)==0 ) rCost = 1e99; in fuzzerBestIndex()
[all …]
H A Dclosure.c831 double rCost = 10000000.0; in closureBestIndex() local
843 rCost /= 100.0; in closureBestIndex()
854 rCost /= 5.0; in closureBestIndex()
863 rCost /= 5.0; in closureBestIndex()
897 rCost *= 1e30; in closureBestIndex()
910 pIdxInfo->estimatedCost = rCost; in closureBestIndex()
/sqlite-3.40.0/src/
H A Dwhere.c4918 rUnsorted, rCost)); in wherePathSolver()
4920 rCost = rUnsorted; in wherePathSolver()
4927 rCost += -10; in wherePathSolver()
4953 && (rCost>mxCost || (rCost==mxCost && rUnsorted>=mxUnsorted)) in wherePathSolver()
4993 if( pTo->rCost<rCost in wherePathSolver()
4994 || (pTo->rCost==rCost in wherePathSolver()
5012 testcase( pTo->rCost==rCost ); in wherePathSolver()
5015 testcase( pTo->rCost==rCost+1 ); in wherePathSolver()
5034 pTo->rCost = rCost; in wherePathSolver()
5041 mxCost = aTo[0].rCost; in wherePathSolver()
[all …]
H A DwhereInt.h210 LogEst rCost; /* Total cost of this path */ member