diff options
Diffstat (limited to 'psycopg/connection_int.c')
-rw-r--r-- | psycopg/connection_int.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/connection_int.c b/psycopg/connection_int.c index 6cca1ce..f36a0db 100644 --- a/psycopg/connection_int.c +++ b/psycopg/connection_int.c @@ -890,7 +890,7 @@ conn_poll(connectionObject *self) } curs = (cursorObject *)py_curs; - IFCLEARPGRES(curs->pgres); + CLEARPGRES(curs->pgres); curs->pgres = pq_get_last_result(self); /* fetch the tuples (if there are any) and build the result. We |