From: Anatol Belski Date: Fri, 22 Dec 2017 15:22:12 +0000 (+0100) Subject: pdo_odbc has no driver API for quoting, skip the test X-Git-Tag: php-7.1.14RC1~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7cc1ce58fa639bda65d7ee6261f0e9e3f716e8d;p=php pdo_odbc has no driver API for quoting, skip the test --- 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(); ?>