Skip to content

Commit 13760c2

Browse files
committed
Fix firebird?
1 parent 44fdd25 commit 13760c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/pdo/tests/pdo_017.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ PDOTest::skip();
1212
$db = PDOTest::factory();
1313
try {
1414
$db->beginTransaction();
15+
$db->rollback();
1516
} catch (PDOException $e) {
1617
die('skip no working transactions: ' . $e->getMessage());
1718
}
@@ -65,7 +66,6 @@ echo countRows('delete');
6566
$db->commit();
6667

6768
echo countRows('commit');
68-
6969
?>
7070
--CLEAN--
7171
<?php

ext/pdo_firebird/tests/ddl.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ echo "done\n";
3434
?>
3535
--CLEAN--
3636
<?php
37-
require_once getenv('REDIR_TEST_DIR') . 'pdo_test.inc';
3837
require("testdb.inc");
38+
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
3939
@$dbh->exec('DROP TABLE test_ddl');
4040
@$dbh->exec('DROP GENERATOR gen_test_ddl_id');
4141
@$dbh->exec('DROP TRIGGER test_ddl_bi');

0 commit comments

Comments
 (0)