• Vicențiu Ciorbaru's avatar
    MDEV-13774: Server Crash on Execute of SQL Statement · 454b9b1b
    Vicențiu Ciorbaru authored
    Window functions can not be used as arguments to aggregate functions, as
    the aggregation happens before window function computation. Disallow
    such constructs by returning an error.
    
    In order to detect this case a change was needed in the base
    Item_sum_xxx::fix_fields to propagate the with_window_func flag.
    
    Item_func_group_concat requires the same change.
    454b9b1b
errmsg-utf8.txt 528 KB