Skip to content

Commit 2d34664

Browse files
author
Erlend Egeberg Aasland
authored
bpo-31746: Fix broken call in GH-27431 (GH-27464)
1 parent 3edec5d commit 2d34664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_sqlite/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ pysqlite_connection_set_isolation_level(pysqlite_Connection* self, PyObject* iso
13071307
rc = sqlite3_exec(self->db, "COMMIT", NULL, NULL, NULL);
13081308
Py_END_ALLOW_THREADS
13091309
if (rc != SQLITE_OK) {
1310-
return _pysqlite_seterror(self->db);
1310+
return _pysqlite_seterror(self->state, self->db);
13111311
}
13121312
}
13131313

0 commit comments

Comments
 (0)