1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +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

@@ -1,5 +1,5 @@
C Fix\sa\sproblem\sthat\swas\scausing\sthe\sFTS4\sintegrity-check\scommand\sto\sfail\sif\sthe\stable\shad\sone\sor\smore\s"notindexed"\scolumns.
D 2014-06-05T11:15:56.350
C Fix\san\sobsolete\scomment\son\sthe\swhereRangeScanEst()\sroutine.\s\sNo\nchanges\sto\scode.
D 2014-06-06T17:09:52.932
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in dd2b1aba364ff9b05de41086f74407f285c57670
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -294,7 +294,7 @@ F src/vtab.c 21b932841e51ebd7d075e2d0ad1415dce8d2d5fd
F src/wal.c 76e7fc6de229bea8b30bb2539110f03a494dc3a8
F src/wal.h df01efe09c5cb8c8e391ff1715cca294f89668a4
F src/walker.c 11edb74d587bc87b33ca96a5173e3ec1b8389e45
F src/where.c a7d59dd5d5bf6d6ab905fb549567a0a11376de25
F src/where.c b6dc818941e13210ae7c64b9b5198b1a693bf765
F src/whereInt.h 929c1349b5355fd44f22cee5c14d72b3329c58a6
F test/8_3_names.test ebbb5cd36741350040fd28b432ceadf495be25b2
F test/aggerror.test a867e273ef9e3d7919f03ef4f0e8c0d2767944f2
@@ -1173,7 +1173,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
P b1ed4f2a34ba66c29b130f8d13e9092758019212
R 377d24b74ba4106b5f52a423e2a5cf2f
U dan
Z 2cd68ab7b6aef503eef49b559771fe52
P 7123bb2605216396f65db5d156431b3613f313b5
R 47d6ccb6d1a86c986ab1ed05f4aba5d5
U drh
Z c4d23929c4a97c69fe369953e2b29d73

View File

@@ -1 +1 @@
7123bb2605216396f65db5d156431b3613f313b5
b16bf8518b7c50f6a939aa54900fea91b1098470

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