Skip to content

Commit e541894

Browse files
author
Alexander Barkov
committed
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.
1 parent 3ad035f commit e541894

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mysql-test/t/xml.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,9 @@ SELECT ExtractValue('<a><b>xxx</c></a>','/a/b');
674674
--echo # Bug#58175 xml functions read initialized bytes when conversions happen
675675
--echo #
676676
SET NAMES latin1;
677+
--enable_prepare_warnings
677678
SELECT UPDATEXML(CONVERT('' USING swe7), TRUNCATE('',1), 0);
679+
--disable_prepare_warnings
678680

679681
--echo #
680682
--echo # Bug#12375190: UPDATEXML CRASHES ON SIMPLE INPUTS

0 commit comments

Comments
 (0)