Merge branch 'v1.0.x'
[m6w6/ext-pq] / src / php_pqtypes.c
index 3f05248..8fd12e0 100644 (file)
@@ -264,7 +264,7 @@ static PHP_METHOD(pqtypes, refresh) {
                                        }
                                }
 
-                               php_pq_clear_res(res);
+                               php_pqres_clear(res);
                                php_pqconn_notify_listeners(obj->intern->conn);
                        }
                }