Bug #113387 | update with 'and' 'or' causes unexpected behavior | ||
---|---|---|---|
Submitted: | 11 Dec 2023 6:42 | Modified: | 11 Dec 2023 11:31 |
Reporter: | Huaxiong Song (OCA) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 8.0.35 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[11 Dec 2023 6:42]
Huaxiong Song
[11 Dec 2023 6:43]
Huaxiong Song
MySQL Version is 8.0.35
[11 Dec 2023 11:31]
MySQL Verification Team
Hi Mr. Song, Thank you for your bug report. However, SQL standard allows boolean operator to be used in any expression, including the SET expression as well. MySQL strictly follows SQL Standard 2016, where it is stipulated. It is specified in most chapters of the Foundation, with most of the references in the chapter 4 and 14. It is up to the query designer to create DMLs correctly. Not a bug.