This commit is contained in:
Charles Leifer 2019-07-22 08:53:03 -05:00
parent e113883eab
commit 51ef96fdf4
5 changed files with 8 additions and 16 deletions

View file

@ -1376,7 +1376,7 @@ PyObject* pysqlite_connection_call(pysqlite_Connection* self, PyObject* args, Py
if (!_PyArg_NoKeywords(MODULE_NAME ".Connection", kwargs))
return NULL;
if (!PyArg_ParseTuple(args, "O", &sql))
if (!PyArg_ParseTuple(args, "U", &sql))
return NULL;
_pysqlite_drop_unused_statement_references(self);