summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-09-23 20:59:54 +0400
committerAlexander Barkov <bar@mariadb.org>2015-09-23 20:59:54 +0400
commite5418942609833edb681d16c4e2705f8c338bfee (patch)
tree1015c4d4e91d4e9ce3f2ddce34f3fad9ea026605
parent3ad035f66b74284f515b2786f7d4553dba5c14a2 (diff)
downloadmariadb-git-e5418942609833edb681d16c4e2705f8c338bfee.tar.gz
Fixing a failure in "mtr --ps xml",
introduced by the patch for MDEV-8466 and MDEV-8468. Using --enable_prepare_warnings and --disable_prepare_warnings around the affected query, to have the same warning in regular and --ps mtr runs.
-rw-r--r--mysql-test/t/xml.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/xml.test b/mysql-test/t/xml.test
index 371fcb72b0d..3e7c9b78673 100644
--- a/mysql-test/t/xml.test
+++ b/mysql-test/t/xml.test
@@ -674,7 +674,9 @@ SELECT ExtractValue('<a><b>xxx</c></a>','/a/b');
--echo # Bug#58175 xml functions read initialized bytes when conversions happen
--echo #
SET NAMES latin1;
+--enable_prepare_warnings
SELECT UPDATEXML(CONVERT('' USING swe7), TRUNCATE('',1), 0);
+--disable_prepare_warnings
--echo #
--echo # Bug#12375190: UPDATEXML CRASHES ON SIMPLE INPUTS