Commit e5418942 authored by Alexander Barkov's avatar Alexander Barkov

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.
parent 3ad035f6
...@@ -674,7 +674,9 @@ SELECT ExtractValue('<a><b>xxx</c></a>','/a/b'); ...@@ -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 # Bug#58175 xml functions read initialized bytes when conversions happen
--echo # --echo #
SET NAMES latin1; SET NAMES latin1;
--enable_prepare_warnings
SELECT UPDATEXML(CONVERT('' USING swe7), TRUNCATE('',1), 0); SELECT UPDATEXML(CONVERT('' USING swe7), TRUNCATE('',1), 0);
--disable_prepare_warnings
--echo # --echo #
--echo # Bug#12375190: UPDATEXML CRASHES ON SIMPLE INPUTS --echo # Bug#12375190: UPDATEXML CRASHES ON SIMPLE INPUTS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment