Unbork tests for PDO_Firebird

PDO_Firebird raises a warning regarding the unknown SQL syntax, which
we have to silence to avoid run-tests.php to mark the test as borked.
This commit is contained in:
Christoph M. Becker 2020-07-12 17:49:36 +02:00
parent 1c967df5a0
commit 6c7b5c0760
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ try {
} catch (PDOException $e) {
die('skip ' . $e->getMessage());
}
if ($db->query('SELECT 1 as "1"') === false) {
if (@$db->query('SELECT 1 as "1"') === false) {
die('skip driver does not support quoted numeric identifiers');
}
?>

View File

@ -11,7 +11,7 @@ try {
} catch (PDOException $e) {
die('skip ' . $e->getMessage());
}
if ($db->query('SELECT 1 as "1"') === false) {
if (@$db->query('SELECT 1 as "1"') === false) {
die('skip driver does not support quoted numeric identifiers');
}
?>