Visitar URL original
bpo-31746: Fix broken call in GH-27431 by erlend-aasland · Pull Request #27464 · python/cpython · GitHub
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bpo-31746: Fix broken call in GH-27431
  • Loading branch information
Erlend E. Aasland
Erlend E. Aasland committed Jul 29, 2021
commit ea7b8893e2bf66229b2e79c64cf7ebd231016ddf
2 changes: 1 addition & 1 deletion Modules/_sqlite/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@ pysqlite_connection_set_isolation_level(pysqlite_Connection* self, PyObject* iso
rc = sqlite3_exec(self->db, "COMMIT", NULL, NULL, NULL);
Py_END_ALLOW_THREADS
if (rc != SQLITE_OK) {
return _pysqlite_seterror(self->db);
return _pysqlite_seterror(self->state, self->db);
}
}

Expand Down