• Igor Babaev's avatar
    Fixed bug mdev-12375. · 93dd70ce
    Igor Babaev authored
    The function st_select_lex_unit::exec_recursive() incorrectly determined
    that a CTE mutually recursive with some others was stabilized in the case
    when the non-recursive part of the CTE returned an empty set. As a result
    the server fell into an infinite loop when executing a query using
    this CTE.
    93dd70ce
cte_recursive.result 63.6 KB