]> 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:07:19 +0000 (21:07 -0400)
Hanno Schlichting.  Also in 0.8.3, 0.7.11.
[ticket:2791]

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

index 22b4c7db06bcd6223eacb5c509888cf108224c75..f01f42608f5c8eebd0563eecbc551b5736dea5f4 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 422635f417f3d2b645081503b9a2bf9e1f2c5df4..879d1991c7d5593cda4fc71f85a344b49b8443f3 100644 (file)
@@ -310,10 +310,18 @@ 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
+     '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
+     '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(