summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pdo_firebird/tests/bug_53280.phpt5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/pdo_firebird/tests/bug_53280.phpt b/ext/pdo_firebird/tests/bug_53280.phpt
index cc030dd496..1be4e8a826 100644
--- a/ext/pdo_firebird/tests/bug_53280.phpt
+++ b/ext/pdo_firebird/tests/bug_53280.phpt
@@ -27,10 +27,9 @@ $stmth1->execute(array('A', 'B'));
$rows = $stmth1->fetchAll(); // <------- segfault
var_dump($rows);
-$stmt = $dbh->prepare('DELETE FROM testz');
-$stmt->execute();
-
$dbh->commit();
+unset($stmth1);
+unset($stmth2);
$dbh->exec('DROP TABLE testz');