mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 11:15:33 +02:00
Do filesort if handler has the HA_NOT_READ_PREFIX_LAST flag set.
mysys/my_symlink.c: More debug info
This commit is contained in:
parent
74114f27ba
commit
54ad43bd6e
2 changed files with 5 additions and 1 deletions
|
|
@ -5577,7 +5577,7 @@ test_if_skip_sort_order(JOIN_TAB *tab,ORDER *order,ha_rows select_limit,
|
|||
with key part (A) and then traverse the index backwards.
|
||||
*/
|
||||
if (table->file->table_flags() & HA_NOT_READ_PREFIX_LAST)
|
||||
DBUG_RETURN(1);
|
||||
DBUG_RETURN(0); // Use filesort
|
||||
tab->read_first_record= join_read_last_key;
|
||||
tab->read_record.read_record= join_read_prev_same;
|
||||
/* fall through */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue