Skip to content

Commit

Permalink
bpo-31746: Fix broken call in GH-27431 (GH-27464)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erlend Egeberg Aasland authored Jul 29, 2021
1 parent 3edec5d commit 2d34664
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 2d34664

Please sign in to comment.