• Igor Babaev's avatar
    MDEV-25631 Crash executing query with VIEW, aggregate and subquery · 7692cec5
    Igor Babaev authored
    This bug could cause a crash of the server for queries with a derived table
    whose specification contained the set function using a subquery over a view
    as its only argument. The crash could happen if the specification of the
    view contained an outer reference. In this case the aggregation select
    could be determined incorrectly.
    The crash also could be observed if a CTE is used instead of the view, but
    only for queries having at least two references to the CTE.
    7692cec5
view.test 171 KB