]> granicus.if.org Git - php/commitdiff
fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object http...
authorPopa Adrian Marius <mariuz@php.net>
Sun, 5 Feb 2012 09:58:50 +0000 (09:58 +0000)
committerPopa Adrian Marius <mariuz@php.net>
Sun, 5 Feb 2012 09:58:50 +0000 (09:58 +0000)
ext/pdo_firebird/tests/bug_53280.phpt

index cc030dd49682e1be1d0e79f19c050de0888b454c..1be4e8a826e9d5a1b10caee4ac0077bddc635018 100644 (file)
@@ -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');