summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-05-03 10:48:24 +0300
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-05-03 10:48:24 +0300
commit01b68c51052514681287dd63e8e713742c42cd0c (patch)
treedaf416307940106fbee129775b57aa569d64557a /sql/sql_load.cc
parentae154449f1617585e8c6237331fa8a3db4e674bb (diff)
downloadmariadb-git-01b68c51052514681287dd63e8e713742c42cd0c.tar.gz
Bug #12375190: UPDATEXML CRASHES ON SIMPLE INPUTS
The XPATH implementation was not handling correctly the XPATH production #19 (http://www.w3.org/TR/1999/REC-xpath-19991116/#node-sets), namely PathExpr ::= | FilterExpr '/' RelativeLocationPath | FilterExpr '//' RelativeLocationPath It was lacking context for the RelativeLocationPath and it was just ignoring the second slash instead of treating it as a different axis specifier. Fixed the above two problems and added a test case.
Diffstat (limited to 'sql/sql_load.cc')
0 files changed, 0 insertions, 0 deletions