diff options
author | drh <drh@noemail.net> | 2000-06-17 13:12:39 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2000-06-17 13:12:39 +0000 |
commit | 1ccde15d690660e76e680fad640c43504960614a (patch) | |
tree | 3e0bfc33640411660664a2d0e75f4b6cef4585ae /src/expr.c | |
parent | 0040077d779749a21179863d73e6f6f9cd856fe9 (diff) | |
download | sqlite-1ccde15d690660e76e680fad640c43504960614a.tar.gz sqlite-1ccde15d690660e76e680fad640c43504960614a.zip |
:-) (CVS 101)
FossilOrigin-Name: 6ed35a1d477906dc7e35bea0579951484fcdc858
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/expr.c b/src/expr.c index 7ca712300..74873bc1e 100644 --- a/src/expr.c +++ b/src/expr.c @@ -21,9 +21,10 @@ ** http://www.hwaci.com/drh/ ** ************************************************************************* -** This file contains C code routines used for processing expressions +** This file contains routines used for analyzing expressions and +** for generating VDBE code that evaluates expressions. ** -** $Id: expr.c,v 1.16 2000/06/16 20:51:26 drh Exp $ +** $Id: expr.c,v 1.17 2000/06/17 13:12:40 drh Exp $ */ #include "sqliteInt.h" @@ -59,7 +60,7 @@ static int isConstant(Expr *p){ ** ** These operators have to be processed before field names are ** resolved because each such operator increments pParse->nTab -** to reserve a cursor number for its own use. But pParse->nTab +** to reserve cursor numbers for its own use. But pParse->nTab ** needs to be constant once we begin resolving field names. ** ** Actually, the processing of IN-SELECT is only started by this @@ -439,7 +440,7 @@ int sqliteExprCheck(Parse *pParse, Expr *pExpr, int allowAgg, int *pIsAgg){ /* ** Generate code into the current Vdbe to evaluate the given -** expression and leave the result on the stack. +** expression and leave the result on the top of stack. */ void sqliteExprCode(Parse *pParse, Expr *pExpr){ Vdbe *v = pParse->pVdbe; @@ -542,7 +543,7 @@ void sqliteExprCode(Parse *pParse, Expr *pExpr){ sqliteFree(z); break; } - /* Fall true into TK_NOT */ + /* Fall through into TK_NOT */ } case TK_NOT: { sqliteExprCode(pParse, pExpr->pLeft); |