Skip to content

Commit 212b096

Browse files
[3.14] gh-140042: Removing unsafe call to sqlite3_shutdown (GH-141690) (#141793)
Co-authored-by: Prithviraj Chaudhuri <p.chaudhuri1993@gmail.com>
1 parent 848a2eb commit 212b096

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removed the sqlite3_shutdown call that could cause closing connections for sqlite when used with multiple sub interpreters.

Modules/_sqlite/module.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,6 @@ module_exec(PyObject *module)
745745
return 0;
746746

747747
error:
748-
sqlite3_shutdown();
749748
return -1;
750749
}
751750

0 commit comments

Comments
 (0)