mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Straggler (forgot to save this earlier).
This commit is contained in:
parent
3227af454c
commit
ec9a4afa32
1 changed files with 1 additions and 2 deletions
|
|
@ -497,10 +497,9 @@ PyObject* _pysqlite_query_execute(pysqlite_Cursor* self, int multiple, PyObject*
|
||||||
rc = pysqlite_statement_reset(self->statement);
|
rc = pysqlite_statement_reset(self->statement);
|
||||||
}
|
}
|
||||||
|
|
||||||
operation_cstr = PyUnicode_AsString(operation);
|
operation_cstr = PyUnicode_AsStringAndSize(operation, &operation_len);
|
||||||
if (operation == NULL)
|
if (operation == NULL)
|
||||||
goto error;
|
goto error;
|
||||||
operation_len = strlen(operation_cstr); /* XXX */
|
|
||||||
|
|
||||||
/* reset description and rowcount */
|
/* reset description and rowcount */
|
||||||
Py_DECREF(self->description);
|
Py_DECREF(self->description);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue