• 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
sql_select.cc 724 KB