Bug #116695 | Unhelpful values in duplicate key errors on binary columns | ||
---|---|---|---|
Submitted: | 18 Nov 2024 12:28 | Modified: | 18 Nov 2024 13:24 |
Reporter: | Henning Pöttker (OCA) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S3 (Non-critical) |
Version: | 9.1.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[18 Nov 2024 12:28]
Henning Pöttker
[18 Nov 2024 13:24]
MySQL Verification Team
Hi Mr. Pottker, Thank you very much for your bug report. Actually, this is not a bug, but a feature request. This feature request can not be implemented, since majority of users prefer the current error message format for BINARY or VARBINARY data types. Next, we can not add configuration variables for the error messages, since error messages (for each error) are constant strings. Furthermore, as our Reference Manual clearly states, BINARY and VARBINARY data types are designed to store byte arrays. Hence, that is why you get the error message with an array of bytes. Not a bug.