diff options
author | unknown <sanja@askmonty.org> | 2013-09-25 15:30:13 +0300 |
---|---|---|
committer | unknown <sanja@askmonty.org> | 2013-09-25 15:30:13 +0300 |
commit | ec7da1561e028aac40dee69433113978c982ce84 (patch) | |
tree | df2b7923621ea7a4a2003a3e018ce1e35d665507 /sql/item.h | |
parent | 779003e18073332a73ed185410f95acc1ef85094 (diff) | |
download | mariadb-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.h')
-rw-r--r-- | sql/item.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sql/item.h b/sql/item.h index 13f8e359dbd..fd19180f3be 100644 --- a/sql/item.h +++ b/sql/item.h @@ -1877,8 +1877,6 @@ public: void update_used_tables() { update_table_bitmaps(); - if (field && field->table) - maybe_null|= field->maybe_null(); } Item *get_tmp_table_item(THD *thd); bool collect_item_field_processor(uchar * arg); @@ -2905,7 +2903,6 @@ public: void update_used_tables() { orig_item->update_used_tables(); - maybe_null|= orig_item->maybe_null; } bool const_item() const { return orig_item->const_item(); } table_map not_null_tables() const { return orig_item->not_null_tables(); } @@ -2998,7 +2995,6 @@ public: Item *replace_equal_field(uchar *arg); table_map used_tables() const; table_map not_null_tables() const; - void update_used_tables(); bool walk(Item_processor processor, bool walk_subquery, uchar *arg) { return (*ref)->walk(processor, walk_subquery, arg) || |