summaryrefslogtreecommitdiff
path: root/Modules/_sqlite/statement.h
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-09-21 13:20:34 +0200
committerGitHub <noreply@github.com>2021-09-21 12:20:34 +0100
commit050d1035957379d70e8601e6f5636637716a264b (patch)
treee6d21a1cc20b46585e1da7433556f8ce5107b594 /Modules/_sqlite/statement.h
parentdebd80403721b00423680328d6adf160a28fbff4 (diff)
downloadcpython-git-050d1035957379d70e8601e6f5636637716a264b.tar.gz
bpo-44958: Only reset `sqlite3` statements when needed (GH-27844)
Diffstat (limited to 'Modules/_sqlite/statement.h')
-rw-r--r--Modules/_sqlite/statement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/statement.h b/Modules/_sqlite/statement.h
index b901c43c47..cce81ed910 100644
--- a/Modules/_sqlite/statement.h
+++ b/Modules/_sqlite/statement.h
@@ -44,7 +44,7 @@ void pysqlite_statement_bind_parameters(pysqlite_state *state,
pysqlite_Statement *self,
PyObject *parameters);
-int pysqlite_statement_reset(pysqlite_Statement* self);
+void pysqlite_statement_reset(pysqlite_Statement *self);
void pysqlite_statement_mark_dirty(pysqlite_Statement* self);
int pysqlite_statement_setup_types(PyObject *module);