mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 19:31:54 +08:00
Minor tweaks.
ZMySQLDA.patch makes Zope's ZMySQLDA compatible with MySQLdb (maybe).
This commit is contained in:
@ -363,6 +363,7 @@ _mysql_ResultObject_New(conn, result, use, conv)
|
||||
fun = PyObject_GetItem(conv, tmp);
|
||||
Py_XDECREF(tmp);
|
||||
if (!fun) {
|
||||
PyErr_Clear();
|
||||
fun = Py_None;
|
||||
Py_INCREF(Py_None);
|
||||
}
|
||||
|
Reference in New Issue
Block a user