mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
xml.test:
xml.result: Adding test for Bug #16312 XML: extractvalue() crash if angle brackets, A fix for #16234 fixed this bug automatically. mysql-test/t/xml.test: Adding test for Bug #16312 XML: extractvalue() crash if angle brackets, A fix for #16234 fixed this bug automatically.
This commit is contained in:
parent
7d5ac7e4ca
commit
e2393aa24a
2 changed files with 8 additions and 0 deletions
|
@ -542,3 +542,5 @@ a
|
|||
select extractvalue('<a>a<b>B</b></a>','a|/b');
|
||||
extractvalue('<a>a<b>B</b></a>','a|/b')
|
||||
a
|
||||
select extractvalue('<a>A</a>','/<a>');
|
||||
ERROR HY000: XPATH syntax error: '>'
|
||||
|
|
|
@ -231,3 +231,9 @@ select extractvalue('<a><b>B</b></a>','/a|b');
|
|||
select extractvalue('<a>a<b>B</b></a>','/a|/b');
|
||||
select extractvalue('<a>a<b>B</b></a>','/a|b');
|
||||
select extractvalue('<a>a<b>B</b></a>','a|/b');
|
||||
|
||||
#
|
||||
# Bug#16312 XML: extractvalue() crash if angle brackets
|
||||
#
|
||||
--error 1105
|
||||
select extractvalue('<a>A</a>','/<a>');
|
||||
|
|
Loading…
Reference in a new issue