Skip to content

Commit

Permalink
Revert "Throw exception when previous execution result was not proper…
Browse files Browse the repository at this point in the history
…ly released in PHP code."

This reverts commit 426602a.
  • Loading branch information
KoudelkaB committed Jan 22, 2021
1 parent 426602a commit 8afd6b2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ibase_query.c
Original file line number Diff line number Diff line change
Expand Up @@ -1854,10 +1854,6 @@ PHP_FUNCTION(ibase_execute)
_php_ibase_error();
break;
}
if (ib_query->result_res->gc.refcount > 1) {
php_printf("ERROR: Query result of '%s' was not released before executing the same query again!\n", ib_query->query);
php_error_docref(NULL, E_ERROR, "Query result of '%s' was not released before executing the same query again!", ib_query->query); /* throw exception*/
}
zend_list_delete(ib_query->result_res);
ib_query->result_res = NULL;
}
Expand Down

0 comments on commit 8afd6b2

Please sign in to comment.