diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-13 03:22:11 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-13 03:22:11 -0500 |
| commit | bebf30e34d669a5ede54e512e55ee5186fe015f6 (patch) | |
| tree | aefbf3d58e23997376e0a0990d793a0501f914ff /lib/sqlalchemy/databases | |
| parent | 578df5b86b35db97c56e38161ab9dc917269a3b0 (diff) | |
| download | sqlalchemy-bebf30e34d669a5ede54e512e55ee5186fe015f6.tar.gz | |
- continue with [ticket:2907] and further clean up how we set up
_reset_agent, so that it's local to the various begin_impl(),
rollback_impl(), etc. this allows setting/resetting of the flag
to be symmetric.
- don't set _reset_agent if it's not None, don't unset it if it isn't
our own transaction.
- make sure we clean it out in close().
- basically, we're dealing here with pools using "threadlocal" that have a
counter, other various mismatches that the tests bring up
- test for recover() now has to invalidate() the previous connection,
because closing it actually rolls it back (e.g. this test was relying
on the broken behavior).
Diffstat (limited to 'lib/sqlalchemy/databases')
0 files changed, 0 insertions, 0 deletions
