Bug #110614 | Left join query with wrong result | ||
---|---|---|---|
Submitted: | 5 Apr 2023 8:32 | Modified: | 5 Apr 2023 13:42 |
Reporter: | Pedro Ferreira | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | left join |
[5 Apr 2023 8:32]
Pedro Ferreira
[5 Apr 2023 13:42]
MySQL Verification Team
Hi Mr. Ferreira, Thank you for your bug report. We repeated your results. Your query should have returned syntax errors for several reasons, but it did not ..... For example, if you omit the last clause, ON FALSE, you get a syntax error. There is a problem with aliases and with usage of fields in the INTERVAL() function. Hence, it is our opinion that the absence or syntax error is the more important bug then the wrong results. Verified as reported.
[5 Apr 2023 13:44]
MySQL Verification Team
We checked it for other OS and hardware and repeated it, which is why we changed certain flags .......