• Igor Babaev's avatar
    Fixed bug mdev-10773. · abfcdb8f
    Igor Babaev authored
    The temporary tables created for recursive table references
    should be closed in close_thread_tables(), because they might
    be used in the statements like ANALYZE WITH r AS (...) SELECT * from r
    where r is defined through recursion.
    abfcdb8f
cte_recursive.test 32.8 KB