mirror of https://github.com/python/cpython
bpo-31746: Fix broken call in GH-27431 (GH-27464)
This commit is contained in:
parent
3edec5d142
commit
2d34664051
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue