com php-src: pdo_odbc has no driver API for quoti ng, skip the test: ext/pdo/tests/pdo_033. phpt

From: Date: Fri, 22 Dec 2017 15:22:12 +0000
Subject: com php-src: pdo_odbc has no driver API for quoti ng, skip the test: ext/pdo/tests/pdo_033. phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100662@lists.php.net to get a copy of this message
Commit: d7cc1ce58fa639bda65d7ee6261f0e9e3f716e8d Author: Anatol Belski <ab@php.net> Fri, 22 Dec 2017 16:22:12 +0100 Parents: f2c22d11cc416e817549c66f1305157d3fefebe8 Branches: PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d7cc1ce58fa639bda65d7ee6261f0e9e3f716e8d Log: pdo_odbc has no driver API for quoting, skip the test Changed paths: M ext/pdo/tests/pdo_033..phpt Diff: diff --git a/ext/pdo/tests/pdo_033.phpt b/ext/pdo/tests/pdo_033.phpt index 6f78be6..983ee0b 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(); ?>

« previous php.cvs (#100662) next »