• Igor Babaev's avatar
    Fixed a problem with unreferenced CTE: · e1c92a6c
    Igor Babaev authored
    explain for the query containing WITH clause
    with an unreferenced CTE caused a crash.
    Added a test covered this case.
    
    Also added a test for usage CTE in different parts of union.
    e1c92a6c
sql_select.cc 841 KB