diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-04-17 13:40:37 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-04-17 13:40:37 -0400 |
commit | 509f3fb492a4be70842dde65f9b84a86671e857f (patch) | |
tree | 4c46797d9b950ae66b8bff3072127add513a947b /lib/sqlalchemy/sql/compiler.py | |
parent | fcded554dfbb102ee6c34982e3449592718ba921 (diff) | |
download | sqlalchemy-509f3fb492a4be70842dde65f9b84a86671e857f.tar.gz |
- Fixed incorrect usage of "," in over() clause
being placed between the "partition" and "order by"
clauses. [ticket:2134]
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 7c409e0e6..fe04da1a1 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -468,7 +468,7 @@ class SQLCompiler(engine.Compiled): x += "PARTITION BY %s" % \ over.partition_by._compiler_dispatch(self, **kwargs) if over.order_by is not None: - x += ", " + x += " " if over.order_by is not None: x += "ORDER BY %s" % \ over.order_by._compiler_dispatch(self, **kwargs) |