mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-08-04 04:10:09 +03:00
Fixed callproc return value refcount
Temporary anyway: I want to go back returning a list (or dict).
This commit is contained in:
parent
ad89362b50
commit
5df70ff0bf
|
@ -1132,8 +1132,9 @@ psyco_curs_callproc(cursorObject *self, PyObject *args)
|
|||
if (0 <= _psyco_curs_execute(
|
||||
self, operation, pvals, self->conn->async, 0)) {
|
||||
|
||||
/* return None from this until it's DBAPI compliant... */
|
||||
res = Py_None;
|
||||
/* return None from this until it's DBAPI compliant... */
|
||||
Py_INCREF(Py_None);
|
||||
res = Py_None;
|
||||
}
|
||||
|
||||
exit:
|
||||
|
|
Loading…
Reference in New Issue
Block a user