summaryrefslogtreecommitdiff
path: root/sql/item_xmlfunc.h
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2013-09-25 15:30:13 +0300
committerunknown <sanja@askmonty.org>2013-09-25 15:30:13 +0300
commitec7da1561e028aac40dee69433113978c982ce84 (patch)
treedf2b7923621ea7a4a2003a3e018ce1e35d665507 /sql/item_xmlfunc.h
parent779003e18073332a73ed185410f95acc1ef85094 (diff)
downloadmariadb-git-ec7da1561e028aac40dee69433113978c982ce84.tar.gz
MDEV-5039: incorrect Item_func_regex::update_used_tables()
Other fix of maybe_null problem and revert of revno: 3608 "MDEV-3873 & MDEV-3876 & MDEV-3912 : Wrong result (extra rows) with ALL subquery from a MERGE view."
Diffstat (limited to 'sql/item_xmlfunc.h')
-rw-r--r--sql/item_xmlfunc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/item_xmlfunc.h b/sql/item_xmlfunc.h
index be56a83349f..ce33d161c79 100644
--- a/sql/item_xmlfunc.h
+++ b/sql/item_xmlfunc.h
@@ -30,10 +30,14 @@ protected:
public:
Item_xml_str_func(Item *a, Item *b):
Item_str_func(a,b)
- {}
+ {
+ maybe_null= TRUE;
+ }
Item_xml_str_func(Item *a, Item *b, Item *c):
Item_str_func(a,b,c)
- {}
+ {
+ maybe_null= TRUE;
+ }
void fix_length_and_dec();
String *parse_xml(String *raw_xml, String *parsed_xml_buf);
bool check_vcol_func_processor(uchar *int_arg)