diff options
author | drh <drh@noemail.net> | 2015-04-17 19:41:37 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-04-17 19:41:37 +0000 |
commit | 7693c42f1a01fe414fcc2b74721efe3c93aee88a (patch) | |
tree | 06baef3b69b2d1bc3577b6824457a54c8cd9778a /test/expr.test | |
parent | 7b4da150da7615c380e1ce3bd142ff66e817d962 (diff) | |
download | sqlite-7693c42f1a01fe414fcc2b74721efe3c93aee88a.tar.gz sqlite-7693c42f1a01fe414fcc2b74721efe3c93aee88a.zip |
In the expression-tree comparison routine, do not compiler Expr.iColumn
and Expr.iTable for TK_STRING expressions.
FossilOrigin-Name: b67bb16c72c3e015ea82665ada9b5d3289ef6fb2
Diffstat (limited to 'test/expr.test')
-rw-r--r-- | test/expr.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/expr.test b/test/expr.test index 8d913d2a1..7d7b8ce5a 100644 --- a/test/expr.test +++ b/test/expr.test @@ -943,5 +943,13 @@ do_realnum_test expr-13.7 { } } {9.22337203685478e+18} +do_execsql_test expr-13.8 { + SELECT "" <= ''; +} {1} +do_execsql_test expr-13.9 { + SELECT '' <= ""; +} {1} + + finish_test |