diff options
author | Anatol Belski <ab@php.net> | 2017-12-22 16:22:12 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-12-22 16:22:12 +0100 |
commit | d7cc1ce58fa639bda65d7ee6261f0e9e3f716e8d (patch) | |
tree | 0c0354b625bdb53dee201af1a81b5c63e203472c /ext/pdo | |
parent | f2c22d11cc416e817549c66f1305157d3fefebe8 (diff) | |
download | php-git-d7cc1ce58fa639bda65d7ee6261f0e9e3f716e8d.tar.gz |
pdo_odbc has no driver API for quoting, skip the test
Diffstat (limited to 'ext/pdo')
-rw-r--r-- | ext/pdo/tests/pdo_033.phpt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo/tests/pdo_033.phpt b/ext/pdo/tests/pdo_033.phpt index 6f78be6ed5..983ee0b212 100644 --- a/ext/pdo/tests/pdo_033.phpt +++ b/ext/pdo/tests/pdo_033.phpt @@ -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(); ?> |