• Igor Babaev's avatar
    Fixed bug mdev-11161. · 96b62b55
    Igor Babaev authored
    The flag TABLE_LIST::fill_me must be reset to false at the prepare
    phase for any materialized derived table used in the executed query.
    Otherwise if the optimizer decides to generate a key for such a table
    it is generated only for the first execution of the query.
    96b62b55
derived_view.result 92.5 KB