summaryrefslogtreecommitdiff
path: root/mysql-test/main/compound.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/compound.test')
-rw-r--r--mysql-test/main/compound.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/main/compound.test b/mysql-test/main/compound.test
index 94a6c18b2f5..1f901e2a2b3 100644
--- a/mysql-test/main/compound.test
+++ b/mysql-test/main/compound.test
@@ -145,6 +145,8 @@ drop table t1|
# MDEV-6606 Server crashes in String::append on selecting sql_mode inside anonymous block
# MDEV-6609 SQL inside an anonymous block is executed with wrong SQL_MODE
#
+
+set @@sql_mode="STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION";
begin not atomic select @@sql_mode; end|
create table t1 (a int)|
select a from t1 having a > 1|