diff options
author | drh <drh@noemail.net> | 2014-06-06 17:09:52 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-06-06 17:09:52 +0000 |
commit | 94aa7e091b2788dd81baf2f9e42999ea39a96d08 (patch) | |
tree | 568ff9d341c0d5ce4737c5ab4a298e819cb94cc7 /src/where.c | |
parent | 33b7bcb319f16a4b0e579be958dfa4c0def75bb6 (diff) | |
download | sqlite-94aa7e091b2788dd81baf2f9e42999ea39a96d08.tar.gz sqlite-94aa7e091b2788dd81baf2f9e42999ea39a96d08.zip |
Fix an obsolete comment on the whereRangeScanEst() routine. No
changes to code.
FossilOrigin-Name: b16bf8518b7c50f6a939aa54900fea91b1098470
Diffstat (limited to 'src/where.c')
-rw-r--r-- | src/where.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/where.c b/src/where.c index f914004b2..e9ef46c19 100644 --- a/src/where.c +++ b/src/where.c @@ -2035,9 +2035,9 @@ static LogEst whereRangeAdjust(WhereTerm *pTerm, LogEst nNew){ ** to account for the range contraints pLower and pUpper. ** ** In the absence of sqlite_stat4 ANALYZE data, or if such data cannot be -** used, each range inequality reduces the search space by a factor of 4. -** Hence a pair of constraints (x>? AND x<?) reduces the expected number of -** rows visited by a factor of 16. +** used, a single range inequality reduces the search space by a factor of 4. +** and a pair of constraints (x>? AND x<?) reduces the expected number of +** rows visited by a factor of 64. */ static int whereRangeScanEst( Parse *pParse, /* Parsing & code generating context */ |