mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
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:
parent
1c967df5a0
commit
6c7b5c0760
@ -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');
|
||||
}
|
||||
?>
|
||||
|
@ -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');
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user