]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- pass kw through here
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 25 Jun 2012 16:48:00 +0000 (12:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 25 Jun 2012 16:48:00 +0000 (12:48 -0400)
lib/sqlalchemy/dialects/oracle/cx_oracle.py
lib/sqlalchemy/dialects/sybase/pysybase.py

index 4ba8d82050d6b2c634e03c5026a2548d53f3a53d..6e2bc2760fec7bd1602a2bd589630a42a6017bdc 100644 (file)
@@ -300,14 +300,14 @@ class _OracleRowid(oracle.ROWID):
         return dbapi.ROWID
 
 class OracleCompiler_cx_oracle(OracleCompiler):
-    def bindparam_string(self, name, quote=None):
+    def bindparam_string(self, name, quote=None, **kw):
         if quote is True or quote is not False and \
             self.preparer._bindparam_requires_quotes(name):
             quoted_name = '"%s"' % name
             self._quoted_bind_names[name] = quoted_name
-            return OracleCompiler.bindparam_string(self, quoted_name)
+            return OracleCompiler.bindparam_string(self, quoted_name, **kw)
         else:
-            return OracleCompiler.bindparam_string(self, name)
+            return OracleCompiler.bindparam_string(self, name, **kw)
 
 
 class OracleExecutionContext_cx_oracle(OracleExecutionContext):
index dd7b27251339848556332dd5527d885604449712..e3bfae06cd6bbe07bac1ff27fb55d084402e2e6d 100644 (file)
@@ -52,7 +52,7 @@ class SybaseExecutionContext_pysybase(SybaseExecutionContext):
 
 
 class SybaseSQLCompiler_pysybase(SybaseSQLCompiler):
-    def bindparam_string(self, name):
+    def bindparam_string(self, name, **kw):
         return "@" + name
 
 class SybaseDialect_pysybase(SybaseDialect):