Problem/Motivation
In the DatabaseConnection_mysql we have a list of reserved keywords used by MySQL:
/**
* The list of MySQL reserved key words.
*
* @link https://dev.mysql.com/doc/refman/8.0/en/keywords.html
*/
private $reservedKeyWords = array(
...
);
In the meantime, two new keywords were added (see: https://dev.mysql.com/doc/refman/8.0/en/keywords.html):
- INTERSECT (R); added in 8.0.31 (reserved)
- LATERAL (R); added in 8.0.14 (reserved)
Some keywords were also removed, but for backwards compatibility I do not think we could remove them.
Proposed resolution
Add two new keywords.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3384545-2.patch | 587 bytes | poker10 |
Comments
Comment #2
poker10 commentedComment #3
poker10 commentedAdding a tag for the review from another D7 maintainer before commit.
Comment #4
mcdruid commentedAgree that we should not remove keywords for BC.
Thanks!