Bug #80933 | Error updating BIT column value to 0 (false) | ||
---|---|---|---|
Submitted: | 1 Apr 2016 14:26 | Modified: | 4 Apr 2016 5:42 |
Reporter: | Anibal P | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Workbench: SQL Editor | Severity: | S3 (Non-critical) |
Version: | 6.3, 6.3.6, 8.0 | OS: | Windows |
Assigned to: | CPU Architecture: | Any | |
Tags: | update bit column false |
[1 Apr 2016 14:26]
Anibal P
[4 Apr 2016 5:42]
MySQL Verification Team
Hello Anibal P, Thank you for the report. Observed this with WB 6.3.6 on Win7. Thanks, Umesh
[18 Apr 2016 4:19]
MySQL Verification Team
Bug #81110 marked as duplicate of this
[20 Apr 2016 17:40]
MySQL Verification Team
http://bugs.mysql.com/bug.php?id=81158 marked as duplicate of this one.
[21 Dec 2017 15:21]
Lee Butler
I can confirm that this issue is still outstanding in 6.3.9. To easily replicate, select a row from a table which includes a BIT value. Attempt to update the value by typing a 1 or a 0, whichever wasnt already in the field. Press apply to apply the changes. Like mentioned above, this will generate SQL that looks something like [...] SET FieldName='1' [...] which will result in "ERROR 1406: 1406: Data too long for column[...]"
[14 May 2018 0:33]
Rafael Pereira
One year later and the bug still :)
[19 Jun 2018 3:42]
franz phillips
When updating with the result grid to 0 you have to type in b'0'.
[18 Aug 2021 12:43]
MySQL Verification Team
Bug #104644 marked as duplicate of this one