PGresult *res;
if ((res = php_pq_exec(obj->intern->conn->intern->conn, smart_str_v(&cmd)))) {
- php_pq_clear_res(res);
+ php_pqres_clear(res);
} else if (!silent) {
throw_exce(EX_RUNTIME, "Failed to deallocate statement (%s)", PHP_PQerrorMessage(obj->intern->conn->intern->conn));
}
add_next_index_long(return_value, PQparamtype(res, p));
}
}
- php_pq_clear_res(res);
+ php_pqres_clear(res);
php_pqconn_notify_listeners(obj->intern->conn);
}
}