diff options
author | drh <drh@noemail.net> | 2009-11-13 15:03:59 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2009-11-13 15:03:59 +0000 |
commit | 5c03f30a9ae286fdb296c6c78ce52239f531539a (patch) | |
tree | 367d2cd13b4e4812e928c069b431020eb49ddfd1 /src/expr.c | |
parent | 91fc4a0c4ddda097fb9704d9414717cdfbf01272 (diff) | |
download | sqlite-5c03f30a9ae286fdb296c6c78ce52239f531539a.tar.gz sqlite-5c03f30a9ae286fdb296c6c78ce52239f531539a.zip |
Changes to test_intarray.c so that it build with SQLITE_OMIT_VIRTUALTABLE.
Added testcase() macros to expr.c.
FossilOrigin-Name: f0599d28fabe9e67a7150a91c266cb7655a2002e
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/expr.c b/src/expr.c index a50348f2d..a5e5edd32 100644 --- a/src/expr.c +++ b/src/expr.c @@ -3192,6 +3192,7 @@ void sqlite3ExprIfTrue(Parse *pParse, Expr *pExpr, int dest, int jumpIfNull){ break; } case TK_BETWEEN: { + testcase( jumpIfNull==0 ); exprCodeBetween(pParse, pExpr, dest, 1, jumpIfNull); break; } @@ -3284,6 +3285,7 @@ void sqlite3ExprIfFalse(Parse *pParse, Expr *pExpr, int dest, int jumpIfNull){ break; } case TK_NOT: { + testcase( jumpIfNull==0 ); sqlite3ExprIfTrue(pParse, pExpr->pLeft, dest, jumpIfNull); break; } @@ -3331,6 +3333,7 @@ void sqlite3ExprIfFalse(Parse *pParse, Expr *pExpr, int dest, int jumpIfNull){ break; } case TK_BETWEEN: { + testcase( jumpIfNull==0 ); exprCodeBetween(pParse, pExpr, dest, 0, jumpIfNull); break; } |