• Igor Babaev's avatar
    MDEV-15556 MariaDB crash with big_tables=1 and CTE · e34d3184
    Igor Babaev authored
    This bug manifested itself when the optimizer chose an execution plan with
    an access of the recursive CTE in a recursive query by key and ARIA/MYISAM
    temporary tables were used to store recursive tables.
    The problem appeared due to passing an incorrect parameter to the call of
    instantiate_tmp_table() in the function With_element::instantiate_tmp_tables().
    e34d3184
sql_cte.cc 42.7 KB