diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-02-19 17:00:37 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-02-19 17:00:37 -0500 |
| commit | a0fb9e74c61b0c2cb8f2f91ae6cc38d3c8c95949 (patch) | |
| tree | acc61adedf02276dd3140c1bd73af98d262bbbf3 /lib/sqlalchemy/dialects | |
| parent | 8878e2307954a98c894441613b6e836b3982556f (diff) | |
| download | sqlalchemy-a0fb9e74c61b0c2cb8f2f91ae6cc38d3c8c95949.tar.gz | |
- add a topological rule here to place PARTITIONS after PARTITION_BY,
for output consistency within the tests as well as in practice
Diffstat (limited to 'lib/sqlalchemy/dialects')
| -rw-r--r-- | lib/sqlalchemy/dialects/mysql/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/base.py b/lib/sqlalchemy/dialects/mysql/base.py index 0880c5efa..ba6e7b625 100644 --- a/lib/sqlalchemy/dialects/mysql/base.py +++ b/lib/sqlalchemy/dialects/mysql/base.py @@ -1681,7 +1681,8 @@ class MySQLDDLCompiler(compiler.DDLCompiler): for opt in topological.sort([ ('DEFAULT_CHARSET', 'COLLATE'), - ('DEFAULT_CHARACTER_SET', 'COLLATE') + ('DEFAULT_CHARACTER_SET', 'COLLATE'), + ('PARTITION_BY', 'PARTITIONS'), # only for test consistency ], opts): arg = opts[opt] if opt in _options_of_type_string: |
