mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-5337: Wrong result in mariadb 5.5.32 with ORDER BY + LIMIT when index_condition_pushdown=on
- in test_if_skip_sort_order(), correct the condition under which we have the code that restores the previously pushed index condition.
This commit is contained in:
@ -19477,7 +19477,7 @@ check_reverse_order:
|
||||
table->disable_keyread();
|
||||
}
|
||||
}
|
||||
else if (tab->type != JT_ALL)
|
||||
else if (tab->type != JT_ALL || tab->select->quick)
|
||||
{
|
||||
/*
|
||||
We're about to use a quick access to the table.
|
||||
|
Reference in New Issue
Block a user