Skip to content

Commit

Permalink
pdo_odbc has no driver API for quoting, skip the test
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Dec 22, 2017
1 parent f2c22d1 commit d7cc1ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/pdo/tests/pdo_033.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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();
?>
Expand Down

0 comments on commit d7cc1ce

Please sign in to comment.