mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
bpo-41861: Convert _sqlite3 RowType and StatementType to heap types (GH-22444)
This commit is contained in:
parent
fa7ce08017
commit
9031bd4fa4
9 changed files with 72 additions and 119 deletions
|
@ -472,7 +472,7 @@ _pysqlite_query_execute(pysqlite_Cursor* self, int multiple, PyObject* args)
|
|||
|
||||
if (self->statement->in_use) {
|
||||
Py_SETREF(self->statement,
|
||||
PyObject_New(pysqlite_Statement, &pysqlite_StatementType));
|
||||
PyObject_New(pysqlite_Statement, pysqlite_StatementType));
|
||||
if (!self->statement) {
|
||||
goto error;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue