diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-03-05 17:34:10 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-03-06 23:15:17 -0500 |
commit | 3a378f0b22e1745509d88b923123dc38d8014274 (patch) | |
tree | 669ad5260463d43307a4d33fc8eead88248fb0f3 /lib/sqlalchemy/dialects/oracle/base.py | |
parent | 1f3ef9817453faa021544841d10b5b7107b57916 (diff) | |
download | sqlalchemy-3a378f0b22e1745509d88b923123dc38d8014274.tar.gz |
Replace reset_agent with direct call from connection
Fixed a regression where the "reset agent" of the connection pool wasn't
really being utilized by the :class:`_engine.Connection` when it were
closed, and also leading to a double-rollback scenario that was somewhat
wasteful. The newer architecture of the engine has been updated so that
the connection pool "reset-on-return" logic will be skipped when the
:class:`_engine.Connection` explicitly closes out the transaction before
returning the pool to the connection.
Fixes: #6004
Change-Id: I5d2ac16cac71aa45a00b4b7481d7268bd828a168
Diffstat (limited to 'lib/sqlalchemy/dialects/oracle/base.py')
0 files changed, 0 insertions, 0 deletions