• Igor Babaev's avatar
    Changed the base class for Item_window_func from Item_result_field to · 602e15a0
    Igor Babaev authored
    Item_func_or_sum.
    Implemented method update_used_tables for class Item_findow_func.
    Added the flag Item::with_window_func.
    Made sure that window functions could be used only in SELECT list
    and ORDER BY clause.
    Added test cases that checked different illegal placements of
    window functions.
    602e15a0
sql_window.cc 46.8 KB