]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- fix fb function thing here, need **kw to break the loop
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Sep 2012 02:14:17 +0000 (22:14 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Sep 2012 02:14:17 +0000 (22:14 -0400)
lib/sqlalchemy/dialects/firebird/base.py

index c56cde1313a6455adf75c447cddf053aed1a84b0..4a83f233256d9cfad74f430a98fd6329527f2f0c 100644 (file)
@@ -277,13 +277,13 @@ class FBCompiler(sql.compiler.SQLCompiler):
 
     visit_char_length_func = visit_length_func
 
-    def _function_argspec(self, func, **kw):
+    def function_argspec(self, func, **kw):
         # TODO: this probably will need to be
         # narrowed to a fixed list, some no-arg functions
         # may require parens - see similar example in the oracle
         # dialect
         if func.clauses is not None and len(func.clauses):
-            return self.process(func.clause_expr)
+            return self.process(func.clause_expr, **kw)
         else:
             return ""