diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-06-12 13:09:15 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-06-12 20:28:37 -0400 |
commit | 5624430eb1d07c68d0931bc89f7146bc003fde19 (patch) | |
tree | 2bfa7f881dec583d0c72f617222e17e9d900ff20 /lib/sqlalchemy/dialects/postgresql/json.py | |
parent | dbaf82d258cc12d92ef28de4677d147fdb7808fd (diff) | |
download | sqlalchemy-5624430eb1d07c68d0931bc89f7146bc003fde19.tar.gz |
Warn when transaction context manager ends on inactive transaction
if .rollback() or .commit() is called inside the transaction
context manager, the transaction object is deactivated.
the context manager continues but will not be able to correctly
fulfill it's closing state. Ensure a warning is emitted when
this happens.
Change-Id: I8fc3a73f7c21575dda5bcbd6fb74ddb679771630
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/json.py')
0 files changed, 0 insertions, 0 deletions