mirror of
https://github.com/MariaDB/server.git
synced 2025-12-09 08:01:34 +03:00
When running setup fields during the final step of insert using select the final setup_fields does not have any sum functions. Our current condition for calling split_sum_func however would attempt to use an empty NULL sum_func_list, if the item contained a window function. The solution is to not perform another split_sum_func for the item containing a window function if we do not actually have a sum_func_list.
1.8 KiB
1.8 KiB