Bug #69858 | Make FULL a reserved word | ||
---|---|---|---|
Submitted: | 27 Jul 2013 20:55 | Modified: | 15 Apr 2023 15:59 |
Reporter: | Bill Karwin (Candidate Quality Contributor) (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Parser | Severity: | S4 (Feature request) |
Version: | 5.6.12 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[27 Jul 2013 20:55]
Bill Karwin
[29 Jul 2013 7:23]
MySQL Verification Team
Hi Bill, This is a duplicate of http://bugs.mysql.com/bug.php?id=18003
[31 Jul 2013 17:09]
Bill Karwin
Shane, Thanks for your attention, but this feature request is not a duplicate. Bug #18003 is a request to implement FULL [OUTER] JOIN. Whereas this is a request to make FULL JOIN fail (correctly) because MySQL does not implement FULL [OUTER] JOIN. Allowing the query syntax to run, but give wrong results, is worse than not supporting the query syntax.
[31 Jul 2013 17:14]
MySQL Verification Team
Okay, we can assume that throwing an ER_UNSUPPORTED error message will be easier and quicker to do and might get done before actually implementing the functionality required to make it work as expected.
[20 Oct 2022 20:51]
Bill Karwin
This is now implemented in MySQL 8.0.31. https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-31.html#mysqld-8-0-31-sql-syntax
[15 Apr 2023 15:59]
Bill Karwin
Correction: FULL is a keyword in 8.0.32. It is not a *reserved* keyword, just an ordinary keyword. Using it as an identifier without delimiters returns the warning: 4119 Using FULL as unquoted identifier is deprecated, please use quotes or rename the identifier. However, there is a small mistake in the documentation — it was not added to the list of new keywords: https://dev.mysql.com/doc/refman/8.0/en/keywords.html#keywords-new-in-current-series