• Igor Babaev's avatar
    Fixed LP bug #1002146 (bug mdev-645). · db1db8fa
    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,...>.
    db1db8fa
group_by.test 51.2 KB