| Bug #110874 | Possible missing query error | ||
|---|---|---|---|
| Submitted: | 1 May 2023 12:10 | Modified: | 2 May 2023 14:00 |
| Reporter: | Pedro Ferreira | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 8.0.33 | OS: | Ubuntu (22.04) |
| Assigned to: | CPU Architecture: | x86 (x86_64) | |
| Tags: | IN | ||
[1 May 2023 12:10]
Pedro Ferreira
[2 May 2023 14:00]
MySQL Verification Team
Hi Mr. Ferreira, Thank you for your bug report. However, it is not a bug. According to the SQL standards, the first query must be (internally) rewritten from: SELECT 1 FROM t0 WHERE 1 NOT IN (SELECT count(t0.c0) WHERE FALSE); into SELECT 1 FROM t0 WHERE 1 NOT IN (SELECT count(t0.c0) WHERE FALSE AND count(t0.c0) != 1); Similar rules are valid for the second query ...... However, much more important fact that the one mentioned is the one that those two queries are not identical and you can not reduce second one into the first one. There are query reduction and translation rules and none of those would enable reducing the second query to the first one. Since , this forum is not for discussions, but for bug verifications, no other explanations are necessary. Not a bug.
