summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2018-06-27 14:48:03 +0400
committerAlexander Barkov <bar@mariadb.com>2018-06-27 14:48:03 +0400
commite213b20e07e9304c595d3b2d57c275ce902e4097 (patch)
tree3ad14b97a00165f909e1313dc24a7eab81495f56 /sql/item_row.cc
parentd60fdb58141f4ae607b9595acd0ac5655fc71970 (diff)
downloadmariadb-git-e213b20e07e9304c595d3b2d57c275ce902e4097.tar.gz
MDEV-16592 Change Item::with_sum_func from a member to a virtual method
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index b7ded07440d..665c900cb3a 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -60,7 +60,7 @@ bool Item_row::fix_fields(THD *thd, Item **ref)
}
}
maybe_null|= item->maybe_null;
- with_sum_func= with_sum_func || item->with_sum_func;
+ join_with_sum_func(item);
with_window_func = with_window_func || item->with_window_func;
with_field= with_field || item->with_field;
m_with_subquery|= item->with_subquery();