bpo-31746: Fix broken call in GH-27431 (GH-27464)

This commit is contained in:
Erlend Egeberg Aasland 2021-07-29 22:47:23 +02:00 committed by GitHub
parent 3edec5d142
commit 2d34664051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1307,7 +1307,7 @@ pysqlite_connection_set_isolation_level(pysqlite_Connection* self, PyObject* iso
rc = sqlite3_exec(self->db, "COMMIT", NULL, NULL, NULL); rc = sqlite3_exec(self->db, "COMMIT", NULL, NULL, NULL);
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
if (rc != SQLITE_OK) { if (rc != SQLITE_OK) {
return _pysqlite_seterror(self->db); return _pysqlite_seterror(self->state, self->db);
} }
} }