]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix an obsolete comment on the whereRangeScanEst() routine. No
authordrh <drh@noemail.net>
Fri, 6 Jun 2014 17:09:52 +0000 (17:09 +0000)
committerdrh <drh@noemail.net>
Fri, 6 Jun 2014 17:09:52 +0000 (17:09 +0000)
changes to code.

FossilOrigin-Name: b16bf8518b7c50f6a939aa54900fea91b1098470

manifest
manifest.uuid
src/where.c

index fa19abb656fd615d81f72df5b45f130b0f5c742d..7a1381283245aa07483568418ebf86768e7ba9d5 100644 (file)
--- a/manifest
+++ b/manifest
@@ -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
index 67f786fd6a5cfaee1dc5578d266f4a22ab150579..98f7bd81f2cbdf6a8317cdce887412f0e19a9528 100644 (file)
@@ -1 +1 @@
-7123bb2605216396f65db5d156431b3613f313b5
\ No newline at end of file
+b16bf8518b7c50f6a939aa54900fea91b1098470
\ No newline at end of file
index f914004b25303a50eb184bbaec518e01ed3d9ed1..e9ef46c19752345759d0e8e6f06a5b614c599c71 100644 (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 */