fix issue #9 @github: execAsync - gets another result
[m6w6/ext-pq] / src / php_pqres.h
index f5f80bfa576ee07317753c4fc8b21b0f684bbb41..328d53e34e680563f3f103e19cc6941cf834e2ca 100644 (file)
@@ -62,14 +62,6 @@ extern php_pqres_fetch_t php_pqres_fetch_type(php_pqres_t *res);
 
 #include "php_pq_object.h"
 #include "php_pqconn_event.h"
-#define PHP_PQclear(_r) do { \
-       php_pqres_object_t *_o = PQresultInstanceData((_r), php_pqconn_event); \
-       if (_o) { \
-               php_pq_object_delref(_o TSRMLS_CC); \
-       } else { \
-               PQclear(_r); \
-       } \
-} while(0)
 
 extern zend_class_entry *php_pqres_class_entry;
 extern zend_object_value php_pqres_create_object_ex(zend_class_entry *ce, php_pqres_t *intern, php_pqres_object_t **ptr TSRMLS_DC);