From 9bf1fb4c198f6a80dbee8d0ff3e2f279a415ba89 Mon Sep 17 00:00:00 2001
From: "bar@mysql.com" <>
Date: Fri, 7 Apr 2006 11:04:33 +0500
Subject: Bug#18285: ExtractValue not returning character data within
as expected
---
mysql-test/t/xml.test | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'mysql-test/t/xml.test')
diff --git a/mysql-test/t/xml.test b/mysql-test/t/xml.test
index af3ec2d827e..0dda1922b8d 100644
--- a/mysql-test/t/xml.test
+++ b/mysql-test/t/xml.test
@@ -278,6 +278,12 @@ select extractvalue('Jack','/a[contains(../a,"j")]');
select extractvalue('Jack','/a[contains(../a,"j")]' collate latin1_bin);
select extractvalue('Jack' collate latin1_bin,'/a[contains(../a,"j")]');
+#
+# Bug#18285: ExtractValue not returning character
+# data within as expected
+#
+select ExtractValue('','/tag1');
+
#
# Bug #18171 XML: ExtractValue: the XPath position()
# function crashes the server!
--
cgit v1.2.1