• Igor Babaev's avatar
    MDEV-30052 Crash with a query containing nested WINDOW clauses · ea270178
    Igor Babaev authored
    Use SELECT_LEX to save lists for ORDER BY and GROUP BY before parsing
    WINDOW clauses / specifications. This is needed for proper parsing
    of a nested WINDOW clause when a WINDOW clause is used in a subquery
    contained in another WINDOW clause.
    
    Fix assignment of empty SQL_I_List to another one (in case of empty list
    next shoud point on first).
    ea270178
sql_parse.cc 324 KB