]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
propigate "pool" argument
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 28 May 2006 16:07:15 +0000 (16:07 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 28 May 2006 16:07:15 +0000 (16:07 +0000)
lib/sqlalchemy/engine/strategies.py

index a4f4065027ea6ec87c46ba0c4182fd85c2174a61..fbd9b8bab141b47c0796518c490b1e9537d457dc 100644 (file)
@@ -32,7 +32,7 @@ class PlainEngineStrategy(EngineStrategy):
         dialect = module.dialect(**kwargs)
 
         poolargs = {}
-        for key in (('echo', 'echo_pool'), ('pool_size', 'pool_size'), ('max_overflow', 'max_overflow'), ('poolclass', 'poolclass'), ('pool_timeout','timeout')):
+        for key in (('echo', 'echo_pool'), ('pool_size', 'pool_size'), ('max_overflow', 'max_overflow'), ('poolclass', 'poolclass'), ('pool_timeout','timeout'), ('pool', 'pool')):
             if kwargs.has_key(key[0]):
                 poolargs[key[1]] = kwargs[key[0]]
         poolclass = getattr(module, 'poolclass', None)