From 53f5653bea55373690cc45d33912d62f539fddf9 Mon Sep 17 00:00:00 2001 From: Popa Adrian Marius Date: Sun, 5 Feb 2012 09:58:50 +0000 Subject: [PATCH] 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 --- ext/pdo_firebird/tests/bug_53280.phpt | 5 ++--- 1 file 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'); -- 2.50.1