• 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
sql_cte.cc 39.6 KB