• Yuchen Pei's avatar
    MDEV-33679 Spider group by handler: skip on multiple equalities · 860c1ca9
    Yuchen Pei authored
    The spider group by handler is created in
    JOIN::make_aggr_tables_info(), by which time calls to
    substitute_for_best_equal_field() should have already removed all the
    multiple equalities (i.e. Item_equal, with MULT_EQUAL_FUNC func_type).
    Therefore, if there is still such items, it is deemed as an optimizer
    bug and should be skipped.
    860c1ca9
mdev_33679.test 1.32 KB