1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

BUG#6635 - test_if_skip_sort_order() thought it can skip filesort

for fulltext searches too
This commit is contained in:
unknown
2005-03-08 19:45:55 +01:00
parent 2934567449
commit f70688e2aa
3 changed files with 17 additions and 1 deletions

View File

@ -7142,7 +7142,7 @@ test_if_skip_sort_order(JOIN_TAB *tab,ORDER *order,ha_rows select_limit,
{
ref_key= tab->ref.key;
ref_key_parts= tab->ref.key_parts;
if (tab->type == JT_REF_OR_NULL)
if (tab->type == JT_REF_OR_NULL || tab->type == JT_FT)
DBUG_RETURN(0);
}
else if (select && select->quick) // Range found by opt_range