summaryrefslogtreecommitdiff
path: root/mysql-test/main/bool.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/bool.test')
-rw-r--r--mysql-test/main/bool.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/main/bool.test b/mysql-test/main/bool.test
index 34c51c648d3..d79e3e36762 100644
--- a/mysql-test/main/bool.test
+++ b/mysql-test/main/bool.test
@@ -21,10 +21,12 @@ SELECT * FROM t1 where (1 AND a)=1;
SELECT * FROM t1 where (1 AND a) IS NULL;
# WL#638 - Behaviour of NOT does not follow SQL specification
+--disable_service_connection
set sql_mode='high_not_precedence';
select * from t1 where not a between 2 and 3;
set sql_mode=default;
select * from t1 where not a between 2 and 3;
+--enable_service_connection
# SQL boolean tests
select a, a is false, a is true, a is unknown from t1;