diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-04-03 16:06:06 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-04-03 16:06:06 +0000 |
commit | 030ef1f0ef37ccaebde06e58f22cd0de5a74c5d0 (patch) | |
tree | 2f596ed664bb60c7154c61add363d5532bb0782f /lib/sqlalchemy/engine/strategies.py | |
parent | c416dad6c652262bafbb137e6412054481db8e2f (diff) | |
download | sqlalchemy-030ef1f0ef37ccaebde06e58f22cd0de5a74c5d0.tar.gz |
for #516, moved the "disconnect check" step out of pool and back into base.py. dialects have
is_disconnect() method now. simpler design which also puts control of the ultimate "execute" call back into the hands of the dialects.
Diffstat (limited to 'lib/sqlalchemy/engine/strategies.py')
-rw-r--r-- | lib/sqlalchemy/engine/strategies.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/strategies.py b/lib/sqlalchemy/engine/strategies.py index 2f3b45199..1b760fca8 100644 --- a/lib/sqlalchemy/engine/strategies.py +++ b/lib/sqlalchemy/engine/strategies.py @@ -86,7 +86,7 @@ class DefaultEngineStrategy(EngineStrategy): if tk in kwargs: pool_args[k] = kwargs.pop(tk) pool_args['use_threadlocal'] = self.pool_threadlocal() - pool = poolclass(creator, disconnect_checker=dialect.get_disconnect_checker(), **pool_args) + pool = poolclass(creator, **pool_args) else: if isinstance(pool, poollib._DBProxy): pool = pool.get_pool(*cargs, **cparams) |