• Sergei Petrunia's avatar
    MDEV-9634: Window function produces incorrect value · d290a665
    Sergei Petrunia authored
    - Item_sum_count::remove() should check if the argument's value is NULL.
    - Window Function item must have its Item_window_func::split_sum_func
      called,
    - and it must call split_sum_func for aggregate's arguments (see the
      comment near Item_window_func::split_sum_func for explanation why)
    d290a665
item_windowfunc.h 10.2 KB