• Igor Babaev's avatar
    Fixed the bug mdev-12440. · 428a922c
    Igor Babaev authored
    When a CTE referring to another CTE from the same with clause
    was used twice then the server could not find the second CTE and
    reported a bogus error message.
    This happened because for any unit that was created as a clone of
    a CTE specification the pointer to the WITH clause that owned this CTE
    was not set.
    428a922c
cte_nonrecursive.test 20.6 KB