]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
adjust incoming params to add keys that are specific to the compiled, i.e. oracle...
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Apr 2010 04:28:38 +0000 (00:28 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Apr 2010 04:28:38 +0000 (00:28 -0400)
lib/sqlalchemy/test/assertsql.py

index 81ef73a7cc308087b1850d03f0d5e07d9df3781e..76f30f13bf8341eb8bf60c9f9bef0e3551f8f884 100644 (file)
@@ -160,6 +160,9 @@ class CompiledSQL(SQLMatchRule):
             all_received = list(_received_parameters)
             while params:
                 param = params.pop(0)
+                for k, v in context.compiled.params.iteritems():
+                    param.setdefault(k, v)
+                    
                 if param not in _received_parameters:
                     equivalent = False
                     break