diff --git a/ext/pdo_firebird/tests/bug_47415.phpt b/ext/pdo_firebird/tests/bug_47415.phpt index 4b8c14d8909..640c9d8bd55 100644 --- a/ext/pdo_firebird/tests/bug_47415.phpt +++ b/ext/pdo_firebird/tests/bug_47415.phpt @@ -6,6 +6,7 @@ Bug #47415 PDO_Firebird segfaults when passing lowercased column name to bindCol setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT); @$dbh->exec('DROP TABLE testz'); $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING); diff --git a/ext/pdo_firebird/tests/bug_48877.phpt b/ext/pdo_firebird/tests/bug_48877.phpt index 85da7d42856..ad29ac4c43d 100644 --- a/ext/pdo_firebird/tests/bug_48877.phpt +++ b/ext/pdo_firebird/tests/bug_48877.phpt @@ -9,6 +9,7 @@ require("testdb.inc"); $value = '2'; +$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT); @$dbh->exec('DROP TABLE testz'); $dbh->exec('CREATE TABLE testz (A integer)'); $dbh->exec("INSERT INTO testz VALUES ('1')"); diff --git a/ext/pdo_firebird/tests/bug_53280.phpt b/ext/pdo_firebird/tests/bug_53280.phpt index 645f7b3c87a..744aa0df7e3 100644 --- a/ext/pdo_firebird/tests/bug_53280.phpt +++ b/ext/pdo_firebird/tests/bug_53280.phpt @@ -7,6 +7,7 @@ PDO_Firebird: bug 53280 segfaults if query column count is less than param count require("testdb.inc"); +$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT); @$dbh->exec('DROP TABLE testz'); $dbh->exec('CREATE TABLE testz(A VARCHAR(30), B VARCHAR(30), C VARCHAR(30))'); $dbh->exec("INSERT INTO testz VALUES ('A', 'B', 'C')"); diff --git a/ext/pdo_firebird/tests/rowCount.phpt b/ext/pdo_firebird/tests/rowCount.phpt index 81982e96b92..c7fb2634ae4 100644 --- a/ext/pdo_firebird/tests/rowCount.phpt +++ b/ext/pdo_firebird/tests/rowCount.phpt @@ -7,6 +7,7 @@ PDO_Firebird: rowCount require("testdb.inc"); +$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT); @$dbh->exec('DROP TABLE testz'); $dbh->exec('CREATE TABLE testz (A VARCHAR(10))'); $dbh->exec("INSERT INTO testz VALUES ('A')");