• Galina Shalygina's avatar
    MDEV-15579 Crash in Item_field::used_tables() called by · 6223f1dd
    Galina Shalygina authored
               Item::derived_field_transformer_for_having
    
    The crash occurred due to an inappropriate handling of multiple equalities
    when pushing conditions into materialized views/derived tables. If equalities
    extracted from a multiple equality can be pushed into a materialized
    view/derived table they should be plainly conjuncted with other pushed
    predicates rather than form a separate AND sub-formula.
    6223f1dd
table.cc 248 KB