1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Fix an obsolete comment on the whereRangeScanEst() routine. No

changes to code.

FossilOrigin-Name: b16bf8518b7c50f6a939aa54900fea91b1098470
This commit is contained in:
drh
2014-06-06 17:09:52 +00:00
parent 33b7bcb319
commit 94aa7e091b
3 changed files with 11 additions and 11 deletions

View File

@@ -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 */