1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -62,6 +62,14 @@ a rel
6 0
4 1
7 1
alter table t1 add key m (message);
explain SELECT message FROM t1 WHERE MATCH (message) AGAINST ('steve') ORDER BY message;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 fulltext message message 0 1 Using where; Using filesort
SELECT message FROM t1 WHERE MATCH (message) AGAINST ('steve') ORDER BY message desc;
message
steve is cool
steve
drop table t1;
CREATE TABLE t1 (
a INT AUTO_INCREMENT PRIMARY KEY,