From e5418942609833edb681d16c4e2705f8c338bfee Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Wed, 23 Sep 2015 20:59:54 +0400 Subject: 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. --- mysql-test/t/xml.test | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mysql-test/t/xml.test') 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('xxx','/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 -- cgit v1.2.1