Bug #16121 | creating a table with a specific key statement causes select to fail | ||
---|---|---|---|
Submitted: | 2 Jan 2006 3:45 | Modified: | 27 Jul 2006 7:26 |
Reporter: | Timothy Redmond | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.18 | OS: | MacOS (Mac OSX) |
Assigned to: | Alexey Botchkov | CPU Architecture: | Any |
[2 Jan 2006 3:45]
Timothy Redmond
[2 Jan 2006 7:48]
Alexander Keremidarski
Thanks for the excellent bug report! As noted by the reporter the problem is with KEY `Testt_I1` (`frame`,`slot`,`facet`,`is_template`,`value_index`) Disabling this key produces correct result. Note the Warning below. Sounds like a separate bug with BIT(1): select * from testt IGNORE INDEX(Testt_I1) where frame = 10551 and slot = 2014 and is_template='\0' and facet = 0\G *************************** 1. row *************************** frame: 10551 frame_type: 7 slot: 2014 facet: 0 is_template: value_index: 1 value_type: 3 short_value: String long_value: NULL 1 row in set, 1 warning (0.00 sec) mysql> SHOW WARNINGS\G *************************** 1. row *************************** Level: Warning Code: 1292 Message: Truncated incorrect DOUBLE value: '' 1 row in set (0.00 sec)