Bug #16314 XML: extractvalue() crash if vertical bar
Submitted: 9 Jan 2006 23:21 Modified: 10 Feb 2006 9:36
Reporter: Peter Gulutzan Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: XML functions Severity:S3 (Non-critical)
Version:5.1.5-alpha-debug OS:Linux (SUSE 10.0)
Assigned to: Assigned Account CPU Architecture:Any

[9 Jan 2006 23:21] Peter Gulutzan
Description:
With extractvalue(), I use | in a certain place. Crash.

How to repeat:
mysql> select extractvalue('<a><b>B</b></a>','/a|b');
ERROR 2013 (HY000): Lost connection to MySQL server during query
[9 Jan 2006 23:41] MySQL Verification Team
mysql> select extractvalue('<a><b>B</b></a>','/a|b');
ERROR 2013 (HY000): Lost connection to MySQL server during query
[18 Jan 2006 10:44] Alexander Barkov
Peter, what is expected behaviour?

It should work the same as:
select extractvalue('<a><b>B</b></a>','/a|/b');

Right?
[10 Feb 2006 9:36] Alexander Barkov
The source of this bug is the same with Bug#16234
Closing as duplicatate.