summaryrefslogtreecommitdiff
path: root/mysql-test/t/get_diagnostics.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/get_diagnostics.test')
-rw-r--r--mysql-test/t/get_diagnostics.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/get_diagnostics.test b/mysql-test/t/get_diagnostics.test
index 0b0d8a77087..e96e8016d2f 100644
--- a/mysql-test/t/get_diagnostics.test
+++ b/mysql-test/t/get_diagnostics.test
@@ -667,6 +667,7 @@ DROP PROCEDURE p1;
--echo # Message is truncated to fit into target. No truncation warning.
--echo
+SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
DELIMITER |;
CREATE PROCEDURE p1()
BEGIN
@@ -682,6 +683,7 @@ CALL p1();
DROP TABLE t1;
DROP PROCEDURE p1;
+SET sql_mode = DEFAULT;
--echo
--echo # Returns number of rows updated by the UPDATE statements.