Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
These *can* be escaped with ` in queries, but it's just asking for trouble to use reserved words.
This also blocks #1239074: use drupal_write_record() to save log item.
Comment | File | Size | Author |
---|---|---|---|
#3 | 1239398-3.mail_logger.mysql-reserved-keywords.patch | 5.4 KB | joachim |
#2 | 1239398-2.mail_logger.mysql-reserved-keywords.patch | 4.28 KB | joachim |
#1 | 1239398.mail_logger.mysql-reserved-keywords.patch | 2.83 KB | joachim |
Comments
Comment #1
joachim CreditAttribution: joachim commentedThis patch renames the 'to' and 'from' columns.
It also results in Schema module no longer reporting a mismatch, so marking #825042: Schema module always reports schema miss-matching tables error as a duplicate.
Comment #2
joachim CreditAttribution: joachim commentedOops. Missed some column names in the module. Here's an updated patch.
Comment #3
joachim CreditAttribution: joachim commented*sigh*... and some more...
Comment #4
ermannob CreditAttribution: ermannob commentedI agree with this.
Tried that patch and it works.
Thanks joachim.
-ermannob
Comment #5
fizk CreditAttribution: fizk commentedFixed, thanks!