gh-88239: Use sqlite3_stmt_busy() to determine if statements are in use (#25984)

This commit is contained in:
Erlend Egeberg Aasland 2022-06-27 09:58:56 +02:00 committed by GitHub
parent 71868a0066
commit f5c85aa3ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 18 deletions

View file

@ -88,7 +88,6 @@ pysqlite_statement_create(pysqlite_Connection *connection, PyObject *sql)
}
self->st = stmt;
self->in_use = 0;
self->is_dml = is_dml;
PyObject_GC_Track(self);