Bug #83923 | bit(n) data type confused when used with IF(), IFNULL()... | ||
---|---|---|---|
Submitted: | 23 Nov 2016 0:00 | Modified: | 27 Jan 2017 1:36 |
Reporter: | Dean Trower | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S2 (Serious) |
Version: | 5.6, 5.7, 5.6.34, 5.7.16 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | bit ifnull |
[23 Nov 2016 0:00]
Dean Trower
[23 Nov 2016 0:14]
Dean Trower
I've confirmed this on v5.6 and 5.7, and MariaDB 10.1.19 has a similar problem...
[23 Nov 2016 6:16]
MySQL Verification Team
Hello Dean Trower, Thank you for the report and test case. Observed this with 5.6.34, 5.7.16. Thanks, Umesh
[26 Jan 2017 19:13]
Erlend Dahl
Duplicate of Bug#83148 IF and friends gives wrong type for signed and unsigned integer
[27 Jan 2017 1:36]
Dean Trower
With respect Erlend, although the bugs appear related, I don't think they're duplicates. The problems afflicting the bit(n) type are a lot worse than simply mixing up signed and unsigned representations.