diff options
author | unknown <bar@mysql.com/bar.intranet.mysql.r18.ru> | 2006-10-23 14:17:57 +0500 |
---|---|---|
committer | unknown <bar@mysql.com/bar.intranet.mysql.r18.ru> | 2006-10-23 14:17:57 +0500 |
commit | 7595cb06eb92658258bc59ac7a0c8212388d75e8 (patch) | |
tree | 80ec071f5e4273a7cb535927c60ec872affb2853 /README | |
parent | 81eb1ccda26658d4cae69cc396413bb2819221ff (diff) | |
download | mariadb-git-7595cb06eb92658258bc59ac7a0c8212388d75e8.tar.gz |
Bug#22823 gt and lt operators appear to be reversed in ExtractValue() command
Problem: "greater than" and "less than" XPath operators appeared to have been implemented in reverse.
Fix: swap arguments to eq_func() and eq_func_reverse() to provide correct operation result.
mysql-test/r/xml.result:
Adding test case
mysql-test/t/xml.test:
Adding test case
sql/item_xmlfunc.cc:
Pass argumemtns to eq_func() and eq_func_reverse() in correct order:
nodeset argument first, then scalar argument.
Also, fixing eq_func_reverse() to do correct conversion, e.g:
"scalar > nodeset" into "nodeset < scalar" instead of wrong "nodeset <= scalar"
"scalar >= nodeset" into "nodeset <= scalar" instead of wrong "nodeset < scalar".
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions