• Igor Babaev's avatar
    Fixed the bug mdev-13107 and some similar unreported bugs. · e6080239
    Igor Babaev authored
    The problems were in the code of sql_show.cc. There the tables
    could be opened in such a way that mysql_derived_init() never
    worked for CTE tables. As a result they were not marked as
    derived and mysql_handle_derived() were not called for derived
    tables used in their specifications.
    e6080239
cte_nonrecursive.test 21.6 KB