diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-08-28 18:26:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-28 18:26:00 (GMT) |
commit | 2a80893e5c023a73ccd32cc319f4f0404f548c00 (patch) | |
tree | 4af5a963d284756e2654bbfa4b8856d8a7204d09 /Misc | |
parent | 81fa08c5ea2cf15254b951034b9d6c7358f96d79 (diff) | |
download | cpython-2a80893e5c023a73ccd32cc319f4f0404f548c00.zip cpython-2a80893e5c023a73ccd32cc319f4f0404f548c00.tar.gz cpython-2a80893e5c023a73ccd32cc319f4f0404f548c00.tar.bz2 |
[3.10] bpo-27334: roll back transaction if sqlite3 context manager fails to commit (GH-26202) (GH-27943)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-05-18-00-17-21.bpo-27334.32EJZi.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-05-18-00-17-21.bpo-27334.32EJZi.rst b/Misc/NEWS.d/next/Library/2021-05-18-00-17-21.bpo-27334.32EJZi.rst new file mode 100644 index 0000000..dc0cdf3 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-05-18-00-17-21.bpo-27334.32EJZi.rst @@ -0,0 +1,2 @@ +The :mod:`sqlite3` context manager now performs a rollback (thus releasing the +database lock) if commit failed. Patch by Luca Citi and Erlend E. Aasland. |