Bug #94586 | SELECT WHERE valid without FROM | ||
---|---|---|---|
Submitted: | 7 Mar 2019 8:02 | Modified: | 7 Mar 2019 14:28 |
Reporter: | James Smith | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.7.25 | OS: | MacOS (macOS 10.14.x Mojave x86_64) |
Assigned to: | CPU Architecture: | Any | |
Tags: | WBBugReporter |
[7 Mar 2019 8:02]
James Smith
[7 Mar 2019 14:28]
MySQL Verification Team
Hi, Thank you for your report. However, this is not a bug. This is SQL not C or Java. Hence, you can not use: WHERE true as it makes no sense. You can use : WHERE 1=1 or with some BOOLEAN COLUMN: WHERE Some_Boolean_Column IS TRUE.