mariuz Sun, 05 Feb 2012 09:58:50 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=323073
Log: 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 Changed paths: U php/php-src/branches/PHP_5_3/ext/pdo_firebird/tests/bug_53280.phpt U php/php-src/branches/PHP_5_4/ext/pdo_firebird/tests/bug_53280.phpt U php/php-src/trunk/ext/pdo_firebird/tests/bug_53280.phpt Modified: php/php-src/branches/PHP_5_3/ext/pdo_firebird/tests/bug_53280.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/pdo_firebird/tests/bug_53280.phpt 2012-02-05 09:52:41 UTC (rev 323072) +++ php/php-src/branches/PHP_5_3/ext/pdo_firebird/tests/bug_53280.phpt 2012-02-05 09:58:50 UTC (rev 323073) @@ -27,10 +27,9 @@ $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'); Modified: php/php-src/branches/PHP_5_4/ext/pdo_firebird/tests/bug_53280.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/pdo_firebird/tests/bug_53280.phpt 2012-02-05 09:52:41 UTC (rev 323072) +++ php/php-src/branches/PHP_5_4/ext/pdo_firebird/tests/bug_53280.phpt 2012-02-05 09:58:50 UTC (rev 323073) @@ -27,10 +27,9 @@ $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'); Modified: php/php-src/trunk/ext/pdo_firebird/tests/bug_53280.phpt =================================================================== --- php/php-src/trunk/ext/pdo_firebird/tests/bug_53280.phpt 2012-02-05 09:52:41 UTC (rev 323072) +++ php/php-src/trunk/ext/pdo_firebird/tests/bug_53280.phpt 2012-02-05 09:58:50 UTC (rev 323073) @@ -27,10 +27,9 @@ $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');
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php