mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-16592 Change Item::with_sum_func from a member to a virtual method
This commit is contained in:
@ -7345,7 +7345,7 @@ bool setup_fields(THD *thd, Ref_ptr_array ref_pointer_array,
|
||||
Item_window_func::split_sum_func.
|
||||
*/
|
||||
if (sum_func_list &&
|
||||
((item->with_sum_func && item->type() != Item::SUM_FUNC_ITEM) ||
|
||||
((item->with_sum_func() && item->type() != Item::SUM_FUNC_ITEM) ||
|
||||
item->with_window_func))
|
||||
{
|
||||
item->split_sum_func(thd, ref_pointer_array, *sum_func_list,
|
||||
|
Reference in New Issue
Block a user