diff options
author | bar@mysql.com <> | 2006-03-20 14:57:34 +0400 |
---|---|---|
committer | bar@mysql.com <> | 2006-03-20 14:57:34 +0400 |
commit | 2e7cf881ace2595fb84afb643156e96016cd0793 (patch) | |
tree | f209b3c5a6738ea9d5c2ec741c26d967825e724c /config/ac-macros/storage.m4 | |
parent | 95242e71862fd121e8ef1b3a7801d94fbd89a4eb (diff) | |
download | mariadb-git-2e7cf881ace2595fb84afb643156e96016cd0793.tar.gz |
Bug #18172 XML: Extractvalue() accepts mallformed
XPath without a XPath syntax error
item_xmlfunc.cc:
Error message didn't happen because after
a failing attempt to parse RelativeLocationPath,
my_xpath_parse_AbsoluteLocationPath() returned success.
Changeing logic a bit:
- Try to parse EOF first, return success if true.
- Then try to parse RelativeLocationPath(), return success if true.
- Otherwise return failure.
xml.result:
Adding test case.
Also, this change made it possible to generate
an error message earlier in the case of another
bad XPATH syntax.
xml.test:
Adding test case.
Diffstat (limited to 'config/ac-macros/storage.m4')
0 files changed, 0 insertions, 0 deletions