mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-16 23:02:26 +03:00
Fix typos in comments in where.c. (CVS 5180)
FossilOrigin-Name: 7cadb223cb79387a7def7762dc9e42028d14baf3
This commit is contained in:
14
manifest
14
manifest
@@ -1,5 +1,5 @@
|
|||||||
C Consolidated\sinline\sassembly\sversions\sof\s"hwtime()"\sinto\shwtime.h.\s\sProvided\sMSVC\sversion.\s\sModified\scode\sfor\sconsistent\suse\sof\shwtime().\s\sChanged\simplementation\sto\suse\ssqlite_uint64\sand\ssqlite_int64\sinstead\sof\sunsigned\slong\slong\sint\sand\slong\slong\sint\sfor\sMSVC\scompiler\ssupport.\s(CVS\s5179)
|
C Fix\stypos\sin\scomments\sin\swhere.c.\s(CVS\s5180)
|
||||||
D 2008-05-29T20:22:37
|
D 2008-05-30T14:58:37
|
||||||
F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
|
F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
|
||||||
F Makefile.in ce92ea8dc7adfb743757794f51c10d1b0d9c55e4
|
F Makefile.in ce92ea8dc7adfb743757794f51c10d1b0d9c55e4
|
||||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||||
@@ -188,7 +188,7 @@ F src/vdbeblob.c 554736781ee273a8089c776e96bdb53e66f57ce6
|
|||||||
F src/vdbefifo.c 1644a41c6366ff25a920df4ca675f12d3f559687
|
F src/vdbefifo.c 1644a41c6366ff25a920df4ca675f12d3f559687
|
||||||
F src/vdbemem.c a39a822e6ae61c4cab4a512df4a315888b206911
|
F src/vdbemem.c a39a822e6ae61c4cab4a512df4a315888b206911
|
||||||
F src/vtab.c ce9d19ca9053812a557010fd4be7e842f8ebba2d
|
F src/vtab.c ce9d19ca9053812a557010fd4be7e842f8ebba2d
|
||||||
F src/where.c ad88aefac0e6469b3899477a81ef81b6bdc82913
|
F src/where.c 53c6b8014622aa918046957e56bc020101754768
|
||||||
F tclinstaller.tcl 4356d9d94d2b5ed5e68f9f0c80c4df3048dd7617
|
F tclinstaller.tcl 4356d9d94d2b5ed5e68f9f0c80c4df3048dd7617
|
||||||
F test/aggerror.test a867e273ef9e3d7919f03ef4f0e8c0d2767944f2
|
F test/aggerror.test a867e273ef9e3d7919f03ef4f0e8c0d2767944f2
|
||||||
F test/all.test d56a3ca8acdf761204aff0a2e7aa5eb8e11b31e6
|
F test/all.test d56a3ca8acdf761204aff0a2e7aa5eb8e11b31e6
|
||||||
@@ -591,7 +591,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
|
|||||||
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
|
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
|
||||||
F tool/speedtest8.c 1dbced29de5f59ba2ebf877edcadf171540374d1
|
F tool/speedtest8.c 1dbced29de5f59ba2ebf877edcadf171540374d1
|
||||||
F tool/speedtest8inst1.c c65494ca99d1e09c246dfe37a7ca7a354af9990f
|
F tool/speedtest8inst1.c c65494ca99d1e09c246dfe37a7ca7a354af9990f
|
||||||
P 9883b406ce24eae93942ee5e6aab33fb6b05329f
|
P 19f5f571dd09c91b6e6a3f82857f54bd30791c03
|
||||||
R 458af2184cd56db6e376c81a0c3c302b
|
R 370cbc62aa9ac62f8f836f2b7096e753
|
||||||
U shane
|
U drh
|
||||||
Z 98aa2a75de827de92c3fa65796b99ae6
|
Z 9dd2f30f46ebe42610e1e3f60bc2001b
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
19f5f571dd09c91b6e6a3f82857f54bd30791c03
|
7cadb223cb79387a7def7762dc9e42028d14baf3
|
||||||
14
src/where.c
14
src/where.c
@@ -10,13 +10,13 @@
|
|||||||
**
|
**
|
||||||
*************************************************************************
|
*************************************************************************
|
||||||
** This module contains C code that generates VDBE code used to process
|
** This module contains C code that generates VDBE code used to process
|
||||||
** the WHERE clause of SQL statements. This module is reponsible for
|
** the WHERE clause of SQL statements. This module is responsible for
|
||||||
** generating the code that loops through a table looking for applicable
|
** generating the code that loops through a table looking for applicable
|
||||||
** rows. Indices are selected and used to speed the search when doing
|
** rows. Indices are selected and used to speed the search when doing
|
||||||
** so is applicable. Because this module is responsible for selecting
|
** so is applicable. Because this module is responsible for selecting
|
||||||
** indices, you might also think of this module as the "query optimizer".
|
** indices, you might also think of this module as the "query optimizer".
|
||||||
**
|
**
|
||||||
** $Id: where.c,v 1.306 2008/05/29 05:23:42 drh Exp $
|
** $Id: where.c,v 1.307 2008/05/30 14:58:37 drh Exp $
|
||||||
*/
|
*/
|
||||||
#include "sqliteInt.h"
|
#include "sqliteInt.h"
|
||||||
|
|
||||||
@@ -219,7 +219,7 @@ static void whereClauseClear(WhereClause *pWC){
|
|||||||
** for freeing the expression p is assumed by the WhereClause object.
|
** for freeing the expression p is assumed by the WhereClause object.
|
||||||
**
|
**
|
||||||
** WARNING: This routine might reallocate the space used to store
|
** WARNING: This routine might reallocate the space used to store
|
||||||
** WhereTerms. All pointers to WhereTerms should be invalided after
|
** WhereTerms. All pointers to WhereTerms should be invalidated after
|
||||||
** calling this routine. Such pointers may be reinitialized by referencing
|
** calling this routine. Such pointers may be reinitialized by referencing
|
||||||
** the pWC->a[] array.
|
** the pWC->a[] array.
|
||||||
*/
|
*/
|
||||||
@@ -382,7 +382,7 @@ static int allowedOp(int op){
|
|||||||
#define SWAP(TYPE,A,B) {TYPE t=A; A=B; B=t;}
|
#define SWAP(TYPE,A,B) {TYPE t=A; A=B; B=t;}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Commute a comparision operator. Expressions of the form "X op Y"
|
** Commute a comparison operator. Expressions of the form "X op Y"
|
||||||
** are converted into "Y op X".
|
** are converted into "Y op X".
|
||||||
**
|
**
|
||||||
** If a collation sequence is associated with either the left or right
|
** If a collation sequence is associated with either the left or right
|
||||||
@@ -621,7 +621,7 @@ static void transferJoinMarkings(Expr *pDerived, Expr *pBase){
|
|||||||
** a=<expr1> OR a=<expr2> OR b=<expr3> OR ...
|
** a=<expr1> OR a=<expr2> OR b=<expr3> OR ...
|
||||||
**
|
**
|
||||||
** The pOrTerm input to this routine corresponds to a single term of
|
** The pOrTerm input to this routine corresponds to a single term of
|
||||||
** this OR clause. In order for the term to be a condidate for
|
** this OR clause. In order for the term to be a candidate for
|
||||||
** conversion to an IN operator, the following must be true:
|
** conversion to an IN operator, the following must be true:
|
||||||
**
|
**
|
||||||
** * The left-hand side of the term must be the column which
|
** * The left-hand side of the term must be the column which
|
||||||
@@ -676,7 +676,7 @@ static int orTermIsOptCandidate(WhereTerm *pOrTerm, int iCursor, int iColumn){
|
|||||||
** This routine merely checks to see if pOrTerm has a duplicate that
|
** This routine merely checks to see if pOrTerm has a duplicate that
|
||||||
** might qualify. If there is a duplicate that has not yet been
|
** might qualify. If there is a duplicate that has not yet been
|
||||||
** disqualified, then return true. If there are no duplicates, or
|
** disqualified, then return true. If there are no duplicates, or
|
||||||
** the duplicate has also been disqualifed, return false.
|
** the duplicate has also been disqualified, return false.
|
||||||
*/
|
*/
|
||||||
static int orTermHasOkDuplicate(WhereClause *pOr, WhereTerm *pOrTerm){
|
static int orTermHasOkDuplicate(WhereClause *pOr, WhereTerm *pOrTerm){
|
||||||
if( pOrTerm->flags & TERM_COPIED ){
|
if( pOrTerm->flags & TERM_COPIED ){
|
||||||
@@ -1166,7 +1166,7 @@ static int sortableByRowid(
|
|||||||
/*
|
/*
|
||||||
** Prepare a crude estimate of the logarithm of the input value.
|
** Prepare a crude estimate of the logarithm of the input value.
|
||||||
** The results need not be exact. This is only used for estimating
|
** The results need not be exact. This is only used for estimating
|
||||||
** the total cost of performing operatings with O(logN) or O(NlogN)
|
** the total cost of performing operations with O(logN) or O(NlogN)
|
||||||
** complexity. Because N is just a guess, it is no great tragedy if
|
** complexity. Because N is just a guess, it is no great tragedy if
|
||||||
** logN is a little off.
|
** logN is a little off.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user