-
Committer:
Igor Babaev
-
Date:
2012-11-22 05:55:04 UTC
-
mto:
This revision was merged to the branch mainline in
revision
3604.
-
Revision ID:
igor@askmonty.org-20121122055504-vdyz74a9d7n48x0o
Fixed LP bug #1002146 (bug mdev-645).
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,...>.