summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/statement.c
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>2022-06-27 07:58:56 (GMT)
committerGitHub <noreply@github.com>2022-06-27 07:58:56 (GMT)
commitf5c85aa3eea1adf0c61089583e2251282a316ec1 (patch)
tree21bc9ca5c5475c9d43e7f7e3a473fe91c8845d80 /Modules/_sqlite/statement.c
parent71868a0066a90519ccc6aeb75673ae882aaa03f0 (diff)
downloadcpython-f5c85aa3eea1adf0c61089583e2251282a316ec1.zip
cpython-f5c85aa3eea1adf0c61089583e2251282a316ec1.tar.gz
cpython-f5c85aa3eea1adf0c61089583e2251282a316ec1.tar.bz2
gh-88239: Use sqlite3_stmt_busy() to determine if statements are in use (#25984)
Diffstat (limited to 'Modules/_sqlite/statement.c')
-rw-r--r--Modules/_sqlite/statement.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_sqlite/statement.c b/Modules/_sqlite/statement.c
index aee4607..229bfc3 100644
--- a/Modules/_sqlite/statement.c
+++ b/Modules/_sqlite/statement.c
@@ -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);