Bug #9289 | return result selected by using prefix index is not correct | ||
---|---|---|---|
Submitted: | 18 Mar 2005 22:37 | Modified: | 20 Mar 2005 10:43 |
Reporter: | Hongyi Gao | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: MyISAM storage engine | Severity: | S1 (Critical) |
Version: | 4.1.7 | OS: | Linux (Gentoo Linux 2.6.9) |
Assigned to: | CPU Architecture: | Any |
[18 Mar 2005 22:37]
Hongyi Gao
[20 Mar 2005 10:43]
MySQL Verification Team
I wasn't able to repeat with latest BK source: mysql> select * from test force index(name) where name like -> 'passthrough/mybook/chat.txt'; +-----------------------------+ | name | +-----------------------------+ | passthrough/mybook/chat.txt | +-----------------------------+ 1 row in set (0.03 sec) mysql> select * from test ignore index(name) where name like -> 'passthrough/mybook/chat.txt'; +-----------------------------+ | name | +-----------------------------+ | passthrough/mybook/chat.txt | +-----------------------------+ 1 row in set (0.00 sec) mysql> select * from test force index(name) where name = -> 'passthrough/mybook/chat.txt'; +-----------------------------+ | name | +-----------------------------+ | passthrough/mybook/chat.txt | +-----------------------------+ 1 row in set (0.00 sec) mysql> select version(); +------------------+ | version() | +------------------+ | 4.1.11-debug-log | +------------------+ 1 row in set (0.02 sec) mysql> 1 row in set (0.02 sec) mysql>