Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 10.0.10
-
Fix Version/s: 10.0.13
-
Component/s: None
-
Labels:None
Description
Found while merging type_bit test. type_bit patch attached.
CREATE TABLE t1(f1 bit(2) NOT NULL default b'10',f2 bit(14) NOT NULL default b'11110000111100');
INSERT INTO t1 (f1) VALUES (DEFAULT);
INSERT INTO t1 VALUES (b'',b''),('','');
SELECT HEX(f1), HEX(f2) FROM t1;
HEX(f1) HEX(f2)
2 3C3C
2 3C8F <!-------- should be 0 0?
0 0
DROP TABLE t1;
Gliffy Diagrams
Attachments
Issue Links
- is part of
-
MDEV-4784 merge test cases from 5.6
-
- Stalled
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Here' s what we have for MyISAM (the correct result):
And here's what we have for INNODB (an incorrect result):
mysql-5.6 returns the correct result in both cases.