mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Merging from mysql-5.1-security
This commit is contained in:
commit
324cb45899
6 changed files with 50 additions and 3 deletions
|
|
@ -2798,12 +2798,12 @@ String *Item_func_xml_extractvalue::val_str(String *str)
|
|||
null_value= 0;
|
||||
if (!nodeset_func ||
|
||||
!(res= args[0]->val_str(str)) ||
|
||||
!parse_xml(res, &pxml))
|
||||
!parse_xml(res, &pxml) ||
|
||||
!(res= nodeset_func->val_str(&tmp_value)))
|
||||
{
|
||||
null_value= 1;
|
||||
return 0;
|
||||
}
|
||||
res= nodeset_func->val_str(&tmp_value);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue