diff options
author | unknown <acurtis@pcgem.rdg.cyberkinetica.com> | 2005-02-03 23:08:43 +0000 |
---|---|---|
committer | unknown <acurtis@pcgem.rdg.cyberkinetica.com> | 2005-02-03 23:08:43 +0000 |
commit | 150cf58f8f4c08f3b2ab3baa80bcd1c25a3bbcbb (patch) | |
tree | c8ea8fb63267a6fb0302a2a72c7c690d2557d2d4 /mysql-test/r/func_test.result | |
parent | 888c211805fdc501e078c7f8576821b121eb6637 (diff) | |
download | mariadb-git-150cf58f8f4c08f3b2ab3baa80bcd1c25a3bbcbb.tar.gz |
Bug#6726 - failure to parse NOT BETWEEN
Fix and test for parse bug
mysql-test/r/func_test.result:
Bug#6726
Test for parse bug
mysql-test/t/func_test.test:
Bug#6726
Test for parse bug
sql/sql_yacc.yy:
Bug#6726
Parser was confused by NOT in lookahead
Diffstat (limited to 'mysql-test/r/func_test.result')
-rw-r--r-- | mysql-test/r/func_test.result | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/func_test.result b/mysql-test/r/func_test.result index 2815500b33e..32883921e70 100644 --- a/mysql-test/r/func_test.result +++ b/mysql-test/r/func_test.result @@ -183,3 +183,13 @@ select 5.1 mod 3, 5.1 mod -3, -5.1 mod 3, -5.1 mod -3; select 5 mod 3, 5 mod -3, -5 mod 3, -5 mod -3; 5 mod 3 5 mod -3 -5 mod 3 -5 mod -3 2 2 -2 -2 +create table t1 (a int, b int); +insert into t1 values (1,2), (2,3), (3,4), (4,5); +select * from t1 where a not between 1 and 2; +a b +3 4 +4 5 +select * from t1 where a not between 1 and 2 and b not between 3 and 4; +a b +4 5 +drop table t1; |