summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-10-31 20:00:42 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-10-31 20:00:42 -0400
commit7bf5ac9c1e814c999d4930941935e1d5cfd236bf (patch)
tree38d17ab75456492f7a6984723a001d8935501318 /lib/sqlalchemy/sql/compiler.py
parentd2c1edfb15334a2fb6ada5b064563c144ac22ad7 (diff)
downloadsqlalchemy-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.py2
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: