]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Updates to MySQL reserved words for versions 5.5, 5.6, courtesy
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Aug 2013 01:05:33 +0000 (21:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Aug 2013 01:06:21 +0000 (21:06 -0400)
Hanno Schlichting.  Also in 0.8.3, 0.7.11.
[ticket:2791]

Conflicts:
doc/build/changelog/changelog_09.rst

doc/build/changelog/changelog_07.rst
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/dialects/mysql/base.py

index 697274558b7724c4e761e788fee5fa99c1cc5fce..3504a5134d7a56c394b8434842a2aaf732c606e2 100644 (file)
@@ -6,6 +6,13 @@
 .. changelog::
     :version: 0.7.11
 
+    .. change::
+        :tags: mysql, bug
+        :tickets: 2791
+
+        Updates to MySQL reserved words for versions 5.5, 5.6, courtesy
+        Hanno Schlichting.
+
     .. change::
         :tags: sql, bug, cte
         :tickets: 2783
index b728c31cb40e4d2840c2426bde509d009948716c..560cc18943f0537f760c0f3ac5e4c0003cdd0072 100644 (file)
@@ -6,6 +6,13 @@
 .. changelog::
     :version: 0.8.3
 
+    .. change::
+        :tags: mysql, bug
+        :tickets: 2791
+
+        Updates to MySQL reserved words for versions 5.5, 5.6, courtesy
+        Hanno Schlichting.  Also in 0.7.11.
+
     .. change::
         :tags: sql, bug, cte
         :tickets: 2783
index f295db40af9594c2ca17066466cec4a87b6974c9..b6af008f8b3c03c397a5eea4d2af685ad550db7c 100644 (file)
@@ -318,10 +318,20 @@ RESERVED_WORDS = set(
      'union', 'unique', 'unlock', 'unsigned', 'update', 'usage', 'use',
      'using', 'utc_date', 'utc_time', 'utc_timestamp', 'values', 'varbinary',
      'varchar', 'varcharacter', 'varying', 'when', 'where', 'while', 'with',
+
      'write', 'x509', 'xor', 'year_month', 'zerofill',  # 5.0
+
      'columns', 'fields', 'privileges', 'soname', 'tables',  # 4.1
+
      'accessible', 'linear', 'master_ssl_verify_server_cert', 'range',
      'read_only', 'read_write',  # 5.1
+
+     'general', 'ignore_server_ids', 'master_heartbeat_period', 'maxvalue',
+     'resignal', 'signal', 'slow', # 5.5
+
+      'get', 'io_after_gtids', 'io_before_gtids', 'master_bind', 'one_shot',
+        'partition', 'sql_after_gtids', 'sql_before_gtids',  # 5.6
+
      ])
 
 AUTOCOMMIT_RE = re.compile(