diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-10-31 20:00:42 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-10-31 20:00:42 -0400 |
commit | 7bf5ac9c1e814c999d4930941935e1d5cfd236bf (patch) | |
tree | 38d17ab75456492f7a6984723a001d8935501318 /lib/sqlalchemy/sql/compiler.py | |
parent | d2c1edfb15334a2fb6ada5b064563c144ac22ad7 (diff) | |
download | sqlalchemy-7bf5ac9c1e814c999d4930941935e1d5cfd236bf.tar.gz |
- ensure kwargs are passed for limit clause on a compound select as well,
further fixes for #3034
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 a6c30b7dc..5fa78ad0f 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -813,7 +813,7 @@ class SQLCompiler(Compiled): text += self.order_by_clause(cs, **kwargs) text += (cs._limit_clause is not None or cs._offset_clause is not None) and \ - self.limit_clause(cs) or "" + self.limit_clause(cs, **kwargs) or "" if self.ctes and \ compound_index == 0 and toplevel: |