mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Merge branch 'PHP-7.2'
* PHP-7.2: pdo_odbc has no driver API for quoting, skip the test
This commit is contained in:
commit
edab9ce1db
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ PDO Common: PDO::quote()
|
|||
if (!extension_loaded('pdo')) die('skip');
|
||||
$dir = getenv('REDIR_TEST_DIR');
|
||||
if (false == $dir) die('skip no driver');
|
||||
if (!strncasecmp(getenv('PDOTEST_DSN'), 'odbc', strlen('odbc'))) die('skip odbc driver doesn\'t have escape API, use prepared statements');
|
||||
require_once $dir . 'pdo_test.inc';
|
||||
PDOTest::skip();
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue