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 /test/sql/test_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 'test/sql/test_compiler.py')
-rw-r--r-- | test/sql/test_compiler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sql/test_compiler.py b/test/sql/test_compiler.py index 75f9a7c82..03646d78d 100644 --- a/test/sql/test_compiler.py +++ b/test/sql/test_compiler.py @@ -260,16 +260,16 @@ class SelectTest(fixtures.TestBase, AssertsCompiledSQL): class MyCompiler(compiler.SQLCompiler): - def get_select_precolumns(self, select): + def get_select_precolumns(self, select, **kw): result = "" if select._limit: result += "FIRST %s " % self.process( literal( - select._limit)) + select._limit), **kw) if select._offset: result += "SKIP %s " % self.process( literal( - select._offset)) + select._offset), **kw) return result def limit_clause(self, select, **kw): |