summaryrefslogtreecommitdiff
path: root/mysql-test/t/get_diagnostics.test
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2017-01-18 11:44:47 -0500
committerNirbhay Choubey <nirbhay@mariadb.com>2017-01-18 11:44:47 -0500
commita3a91332d006fd39a32e1f6d4663e11515ea944b (patch)
tree560c152c9f8146a4c1bcd52ad2a2fa454be48aec /mysql-test/t/get_diagnostics.test
parent2805baf06c31dac21604148ec089300461790e3d (diff)
downloadmariadb-git-bb-10.2-mdev7635.saved.tar.gz
MDEV-7635: Update tests to adapt to the new default sql_modebb-10.2-mdev7635.savedbb-10.2-mdev7635.final
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.