Bug #2538 | Filesort on merge table with DESC | ||
---|---|---|---|
Submitted: | 27 Jan 2004 18:49 | Modified: | 29 Jan 2004 13:22 |
Reporter: | Nis Peder Bonde | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.0.17 | OS: | Linux (Linux) |
Assigned to: | Sergei Golubchik | CPU Architecture: | Any |
[27 Jan 2004 18:49]
Nis Peder Bonde
[29 Jan 2004 12:43]
MySQL Verification Team
Nothing to do with MERGE tables. It is behaving the same with MyISAM tables: + explain select * from t1 where num < 50000 order by num limit 1; + id select_type table type possible_keys key key_len ref rows Extra + 1 SIMPLE t1 range PRIMARY PRIMARY 4 NULL 52077 Using where We have on our TODO to fix this in 4.1. or 5.0, but meanhilw you have to help MySQL with USING / FORCE INDEX
[29 Jan 2004 13:22]
Sergei Golubchik
Not a bug. This is an optimization that was added in 4.1 only.