]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
:-) (CVS 19)
authordrh <drh@noemail.net>
Tue, 30 May 2000 20:17:49 +0000 (20:17 +0000)
committerdrh <drh@noemail.net>
Tue, 30 May 2000 20:17:49 +0000 (20:17 +0000)
FossilOrigin-Name: 03725ce5ae871247789ece0f2c3426f74ba575e7

manifest
manifest.uuid
src/where.c

index dd29e43578854cd2da6a61628d0f58f3cd1473dc..f65555fb146f3f7427cfd4b7c284f133ded62262 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C :-)\s(CVS\s18)
-D 2000-05-30T19:22:26
+C :-)\s(CVS\s19)
+D 2000-05-30T20:17:49
 F COPYRIGHT 74a8a6531a42e124df07ab5599aad63870fa0bd4
 F Makefile.in 89921c1ee4de75275bfadfbac198396da31704d1
 F README 6b5960603c7f8bf42fc022b4b6436f242f238dbb
@@ -19,7 +19,7 @@ F src/tokenize.c e176b2c1c38e11482ee3419d6b50b733860a1587
 F src/util.c 2a0314dcc9de230526380765339071a5b304d70d
 F src/vdbe.c 117ce5541143e3af9dccdc15c22c4920a7b9bdb4
 F src/vdbe.h 03de26632f2e608c2a44a40262fbba21a8bdfd81
-F src/where.c be3973952e9bb5d2bb0bc5523b03f5d1f9e9d6f9
+F src/where.c 2c8de69c4cf5a620ed380d3d6bb658bbbe8da5d5
 F test/all.test 66a8a5b8291a472157944edcdce51a320ebd1f35
 F test/copy.test 641bd3cfaab61c4ee32889587e21e4c70788a97a
 F test/delete.test 814d53e3b0d2d7069fb17e005d4041454d6585d4
@@ -38,7 +38,7 @@ F tool/renumberOps.awk 6d067177ad5f8d711b79577b462da9b3634bd0a9
 F www/c_interface.tcl f875864edf7974157d1c257ca08de854660882a5
 F www/index.tcl 2466d1b2e26c6f354b0acedee12025309a216799
 F www/sqlite.tcl 947e067bcc347dc767af4c1a6e5a8d47d8404aa3
-P 97a0fb780ea1992c4d681cc0301bbfa1a06c2fb0
-R acfb1fc3d2b41afa7db1dd81b628bbd3
+P 2d41caec807a6ab83b67e59c849ebbda004f2869
+R d274f71e9bf0807a8f2c186fb0e9f965
 U drh
-Z 3db5ecf0eb5f7fb4a1980c5de63d9edb
+Z 1247bb7c9fa8cc79296726f95e563a76
index e6708f159cda808a5cf95611dbd7d1eecd3fcc91..e90040432987fb21bf8a40af21ec7a6357636493 100644 (file)
@@ -1 +1 @@
-2d41caec807a6ab83b67e59c849ebbda004f2869
\ No newline at end of file
+03725ce5ae871247789ece0f2c3426f74ba575e7
\ No newline at end of file
index a481b54fc702790bde59a620706d6a205f3ad6c2..4efabff20a055e767b8895e616b4cb7a4b3fd5fb 100644 (file)
@@ -25,7 +25,7 @@
 ** the WHERE clause of SQL statements.  Also found here are subroutines
 ** to generate VDBE code to evaluate expressions.
 **
-** $Id: where.c,v 1.2 2000/05/30 03:28:36 drh Exp $
+** $Id: where.c,v 1.3 2000/05/30 20:17:49 drh Exp $
 */
 #include "sqliteInt.h"
 
@@ -188,7 +188,7 @@ WhereInfo *sqliteWhereBegin(
   ** be the first nested loop and so on.  aOrder[pTabList->nId-1] will
   ** be the innermost loop.
   **
-  ** Someday will put in a good algorithm here to reorder to the loops
+  ** Someday will put in a good algorithm here to reorder the loops
   ** for an effiecient query.  But for now, just use whatever order the
   ** tables appear in in the pTabList.
   */
@@ -212,7 +212,7 @@ WhereInfo *sqliteWhereBegin(
     Index *pBestIdx = 0;
 
     /* Do a search for usable indices.  Leave pBestIdx pointing to
-    ** most specific usable index.
+    ** the most specific usable index.
     **
     ** "Most specific" means that pBestIdx is the usable index that
     ** has the largest value for nField.  A usable index is one for
@@ -255,6 +255,7 @@ WhereInfo *sqliteWhereBegin(
       }
     }
     aIdx[i] = pBestIdx;
+    loopMask |= 1<<idx;
   }
 
   /* Open all tables in the pTabList and all indices in aIdx[].