summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item.h b/sql/item.h
index baff64cac24..89cb9b76439 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -2057,7 +2057,7 @@ public:
{
update_table_bitmaps();
if (field && field->table)
- maybe_null= field->maybe_null();
+ maybe_null|= field->maybe_null();
}
Item *get_tmp_table_item(THD *thd);
bool collect_item_field_processor(uchar * arg);
@@ -3112,7 +3112,7 @@ public:
void update_used_tables()
{
orig_item->update_used_tables();
- maybe_null= orig_item->maybe_null;
+ 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(); }