diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-01-15 17:23:52 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-01-15 17:51:34 -0500 |
commit | f898ef162da65a3755d25ee194885677c880c91f (patch) | |
tree | 2d45d310f62fd53bb69e73285b2d95f0e2f6c70e /test/dialect/postgresql/test_compiler.py | |
parent | 5be3c030b321ecc342bf4cd84cbb0838efacd155 (diff) | |
download | sqlalchemy-f898ef162da65a3755d25ee194885677c880c91f.tar.gz |
run handle error for commit/rollback fail and cancel transaction
Fixed bug in asyncpg dialect where a failure during a "commit" or less
likely a "rollback" should cancel the entire transaction; it's no longer
possible to emit rollback. Previously the connection would continue to
await a rollback that could not succeed as asyncpg would reject it.
Fixes: #5824
Change-Id: I5a4916740c269b410f4d1a78ed25191de344b9d0
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
0 files changed, 0 insertions, 0 deletions