Bug #111505 | Expression triggers an error in `UPDATE` but not in `SELECT` | ||
---|---|---|---|
Submitted: | 21 Jun 2023 3:12 | Modified: | 21 Jun 2023 12:29 |
Reporter: | chi zhang | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | last commit version in github | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[21 Jun 2023 3:12]
chi zhang
[21 Jun 2023 12:29]
MySQL Verification Team
Hi Mr. zhang, Thank you for your bug report. However, it is not a bug. MySQL is not strict data type checking RDBMS. Hence in SELECTs, it does what it can to accommodate what you are asking for. However, in writing DMLs, it is too dangerous to allow such changes, as your entire table can be erased or changed in the very unpredictable manners. Strict data typing will not be implemented soon , since millions of applications depend on that behaviour. There are many reports like yours, so it is a duplicate of the following report: https://bugs.mysql.com/bug.php?id=111483