From fd9d70a072926cccb002b283a02687acd8deeed6 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 7 Apr 2006 11:04:33 +0500 Subject: Bug#18285: ExtractValue not returning character data within as expected mysql-test/r/xml.result: Adding test case mysql-test/t/xml.test: Adding test case strings/xml.c: Adding missing support of CDATA sections. --- mysql-test/t/xml.test | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mysql-test/t') 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