diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-04-23 12:05:30 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-04-23 12:07:56 -0400 |
commit | dd4240e43b4138aeca41c393c3f97ae2e60b7c79 (patch) | |
tree | 4bb21765f6fb0e1e217f3d29dfb0d2aea0ce7b17 /lib/sqlalchemy/sql/compiler.py | |
parent | 167a45a442a2551400af0b102b590e70267e9b77 (diff) | |
download | sqlalchemy-dd4240e43b4138aeca41c393c3f97ae2e60b7c79.tar.gz |
- Fixed support for "literal_binds" mode when using limit/offset
with Firebird, so that the values are again rendered inline when
this is selected. Related to :ticket:`3034`.
fixes #3381
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 5633159cd..91b677a0e 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -1568,7 +1568,7 @@ class SQLCompiler(Compiled): text += self._generate_prefixes( select, select._prefixes, **kwargs) - text += self.get_select_precolumns(select) + text += self.get_select_precolumns(select, **kwargs) # the actual list of columns to print in the SELECT column list. inner_columns = [ @@ -1742,7 +1742,7 @@ class SQLCompiler(Compiled): else: return "WITH" - def get_select_precolumns(self, select): + def get_select_precolumns(self, select, **kw): """Called when building a ``SELECT`` statement, position is just before column list. |