Bug #111354 | varbinary result incorrect | ||
---|---|---|---|
Submitted: | 12 Jun 2023 2:37 | Modified: | 12 Jun 2023 13:00 |
Reporter: | haizhen xue | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[12 Jun 2023 2:37]
haizhen xue
[12 Jun 2023 13:00]
MySQL Verification Team
Hi Mr. xue, Thank you for your bug report. However, this is not a bug. MySQL database system is not based on the strict type checking. That is how it was designed from the beginning. We can not change that behaviour, since millions of installations are depending on that behaviour. When you insert wrong data type into certain column, then MySQL tries to find a third data type that would be something like common denominator. Hence , that is why you get the results that you get. This is all explained fully throughout our Reference Manual, which you can find on dev.mysql.com. Not a bug.