summaryrefslogtreecommitdiff
path: root/mysql-test/t/xml.test
diff options
context:
space:
mode:
authorAlexander Barkov <alexander.barkov@oracle.com>2011-01-18 09:50:03 +0300
committerAlexander Barkov <alexander.barkov@oracle.com>2011-01-18 09:50:03 +0300
commitdaf602a2236e7bf1a2193057b0524d8f8a7743a5 (patch)
tree4c1a9099a9669e9c5c3ccd7b2a331902d47c1240 /mysql-test/t/xml.test
parent377c9661e4dbd478ddc602a8bdbd1cf150e45a17 (diff)
parent5574a2cd91eaf76fd2263b38d64d8c617d3c1d02 (diff)
downloadmariadb-git-daf602a2236e7bf1a2193057b0524d8f8a7743a5.tar.gz
Merging from 5.1.
Diffstat (limited to 'mysql-test/t/xml.test')
-rw-r--r--mysql-test/t/xml.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/xml.test b/mysql-test/t/xml.test
index 1dc5eadbccc..3bc580fe4e5 100644
--- a/mysql-test/t/xml.test
+++ b/mysql-test/t/xml.test
@@ -640,6 +640,11 @@ SELECT UPDATEXML(NULL, (LPAD(0.1111E-15, '2011', 1)), 1);
--error ER_ILLEGAL_VALUE_FOR_TYPE
SELECT EXTRACTVALUE('', LPAD(0.1111E-15, '2011', 1));
+--echo #
+--echo # Bug #44332 my_xml_scan reads behind the end of buffer
+--echo #
+SELECT UPDATEXML(CONVERT(_latin1'<' USING utf8),'1','1');
+SELECT UPDATEXML(CONVERT(_latin1'<!--' USING utf8),'1','1');
--echo End of 5.1 tests