• Igor Babaev's avatar
    MDEV-25086 Stored Procedure Crashes Server · 6dec0332
    Igor Babaev authored
    The cause of this bug is the same as of the bug MDEV-24454.
    This bug manifested itself at the second execution of the queries that
    contained a set function whose only argument was outer reference to
    a column of a mergeable view or derived table or CTE. The first execution
    of such query worked fine, but the second execution of the query caused
    a crash of the server because the aggregation select for the used set
    function was determined incorrectly at the name resolution phase of the
    second execution.
    6dec0332
derived_view.test 70.5 KB