summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPopa Adrian Marius <mariuz@php.net>2012-02-05 09:58:50 +0000
committerPopa Adrian Marius <mariuz@php.net>2012-02-05 09:58:50 +0000
commitf36a3113b619f897a2e462e83d737f989faaabdd (patch)
tree9b5c1049d6ccdc3d95247ef475e595b28ab4f837
parent60df9abf95c17e8bf632b92b9cacf78f0809d4e0 (diff)
downloadphp-git-f36a3113b619f897a2e462e83d737f989faaabdd.tar.gz
fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object http://gcov.php.net/viewer.php?version=PHP_5_4&func=tests&file=ext%2Fpdo_firebird%2Ftests%2Fbug_53280.phpt
-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');