mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
In the case of loose scan used as input for order by, end_send() didn't detect correctly that a loose scan was used, and didn't copy the non-aggregated fields from the temp table used for ORDER BY. The fix uses the fact that the quick select used for sorting is attached to JOIN::pre_sort_join_tab instead of JOIN::join_tab.
63 KiB
63 KiB