diff options
Diffstat (limited to 'sql/item.cc')
-rw-r--r-- | sql/item.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.cc b/sql/item.cc index d5a4b4363d3..f91705bfaff 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -8601,6 +8601,7 @@ Item_cache_wrapper::Item_cache_wrapper(THD *thd, Item *item_arg): with_field= orig_item->with_field; name= item_arg->name; m_with_subquery= orig_item->with_subquery(); + with_window_func= orig_item->with_window_func; if ((expr_value= orig_item->get_cache(thd))) expr_value->setup(thd, orig_item); |