• Igor Babaev's avatar
    Fixed LP bug #806097. · 120a95ff
    Igor Babaev authored
    The value of THD::used tables should be re-evaluated after merges
    of views and derived tables into the main query. 
    Now it's done in the function SELECT_LEX::update_used_tables.
    The re-evaluation of the 'used_table' bitmaps for the items
    in HAVING, GROUP BY and ORDER BY clauses has been added as well.
     
    120a95ff
func_gconcat.result 44.5 KB