diff options
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index f1d91e445da..7cab72718c6 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -360,6 +360,7 @@ Item_func::fix_fields(THD *thd, Item **ref) with_window_func= with_window_func || item->with_window_func; with_field= with_field || item->with_field; used_tables_and_const_cache_join(item); + not_null_tables_cache|= item->not_null_tables(); m_with_subquery|= item->with_subquery(); } } |