• Igor Babaev's avatar
    Fixed LP bug #1002146 (bug mdev-645). · 254a9281
    Igor Babaev authored
    If the setting of system variables does not allow to use join buffer
    for a join query with GROUP BY <f1,...> / ORDER BY <f1,...> then
    filesort is not needed if the first joined table is scanned in
    the order compatible with order specified by the list <f1,...>.
    254a9281
group_by.test 51.2 KB