Skip to content

Commit 8afd6b2

Browse files
committed
Revert "Throw exception when previous execution result was not properly released in PHP code."
This reverts commit 426602a.
1 parent 426602a commit 8afd6b2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ibase_query.c

-4
Original file line numberDiff line numberDiff line change
@@ -1854,10 +1854,6 @@ PHP_FUNCTION(ibase_execute)
18541854
_php_ibase_error();
18551855
break;
18561856
}
1857-
if (ib_query->result_res->gc.refcount > 1) {
1858-
php_printf("ERROR: Query result of '%s' was not released before executing the same query again!\n", ib_query->query);
1859-
php_error_docref(NULL, E_ERROR, "Query result of '%s' was not released before executing the same query again!", ib_query->query); /* throw exception*/
1860-
}
18611857
zend_list_delete(ib_query->result_res);
18621858
ib_query->result_res = NULL;
18631859
}

0 commit comments

Comments
 (0)