From f536974b73dec47ddd87cb525f2f0d26d84f1a1d Mon Sep 17 00:00:00 2001 From: Dmitry Shulga Date: Thu, 29 Apr 2021 17:16:56 +0700 Subject: MDEV-16708: Unsupported commands for prepared statements Fixed failures of the tests main.compound, main.union --- mysql-test/main/compound.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mysql-test/main/compound.test') diff --git a/mysql-test/main/compound.test b/mysql-test/main/compound.test index 1f901e2a2b3..c902ef77b52 100644 --- a/mysql-test/main/compound.test +++ b/mysql-test/main/compound.test @@ -94,7 +94,7 @@ end loop| show tables| # REPEAT -set @a=0; +set @a=0| repeat set @a = @a + 1; until @a > 5 @@ -146,7 +146,7 @@ drop table t1| # 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"; +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| -- cgit v1.2.1