mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 19:31:54 +08:00
Bug #811636 fix (?)
This commit is contained in:
@ -1540,9 +1540,9 @@ _mysql_ConnectionObject_store_result(
|
||||
if (!kwarglist) goto error;
|
||||
r = MyAlloc(_mysql_ResultObject, _mysql_ResultObject_Type);
|
||||
if (!r) goto error;
|
||||
result = (PyObject *) r;
|
||||
if (_mysql_ResultObject_Initialize(r, arglist, kwarglist))
|
||||
goto error;
|
||||
result = (PyObject *) r;
|
||||
if (!(r->result)) {
|
||||
Py_DECREF(result);
|
||||
Py_INCREF(Py_None);
|
||||
|
Reference in New Issue
Block a user