mirror of
https://github.com/MariaDB/server.git
synced 2025-11-08 00:28:29 +03:00
A rule was introduced by the 5.1 part of the fix for bug 27531 to prefer filesort over indexed ORDER BY when accessing all of the rows of a table (because it's faster). This new rule was not accounting for the presence of a LIMIT clause. Fixed the condition for this rule so it will prefer filesort over indexed ORDER BY only if no LIMIT.
33 KiB
33 KiB