Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 10.1, 10.0, 5.5
-
Fix Version/s: 10.1
-
Component/s: None
-
Labels:None
Description
This script correctly returns one row:
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a VARCHAR(10) CHARACTER SET latin1);
INSERT INTO t1 VALUES ('a'),('a\t'),('az'),('b'),('c'),('d'),('e');
SELECT * FROM t1 WHERE a<'a';
+------+ | a | +------+ | a | +------+ 1 row in set (0.00 sec)
Now if I add a prefix index and re-run the select query:
ALTER TABLE t1 ADD KEY a(a(1)); SELECT * FROM t1 WHERE a<'a';
it erroneously returns empty set.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions