Bug #83312 | insert an empty string to bit field should have failed with strict sql mode | ||
---|---|---|---|
Submitted: | 9 Oct 2016 7:26 | Modified: | 2 Jan 2020 23:05 |
Reporter: | 帅 Bang | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.5/5.6/5.7/8.0 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[9 Oct 2016 7:26]
帅 Bang
[9 Oct 2016 18:15]
MySQL Verification Team
Results
Attachment: bug83312.txt (text/plain), 4.25 KiB.
[9 Oct 2016 18:17]
MySQL Verification Team
Thank you for the bug report. Verified as described.
[2 Jan 2020 23:05]
Roy Lyseng
Posted by developer: This does not look like a bug to me. A string interpreted as an integer must contain at least one digit. A bit string may be given a zero length, in which case the remaining bits are filled with zero values.