• Igor Babaev's avatar
    Fixed bug mdev-12368. · ad7da60d
    Igor Babaev authored
    Mutually recursive CTE could cause a crash of the server in the case
    when they were not Standard compliant. The crash happened in
    mysql_derived_prepare(), because the destructor the derived_result
    object created for a CTE that was mutually recursive with some others
    was called twice. Yet this destructor should not be called for resursive
    references.
    ad7da60d
cte_recursive.result 62 KB