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
commit53f5653bea55373690cc45d33912d62f539fddf9 (patch)
tree2857eba0094f339bc5c32c2e13ee8b90770557f0
parente4fb44c8b6af2abdbef220af5e528a32533a8cb8 (diff)
downloadphp-git-53f5653bea55373690cc45d33912d62f539fddf9.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');