From: Ilia Alshanetsky Date: Wed, 16 Aug 2006 14:09:56 +0000 (+0000) Subject: Added skip condition for sqlite2 driver, that uses more forgiving emulated X-Git-Tag: php-5.2.0RC2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d87be2674027f24e803f205a034c2579a7a82bc;p=php Added skip condition for sqlite2 driver, that uses more forgiving emulated prepared statements. --- diff --git a/ext/pdo/tests/bug_38394.phpt b/ext/pdo/tests/bug_38394.phpt index d9f053c4bc..4f2bd13a55 100644 --- a/ext/pdo/tests/bug_38394.phpt +++ b/ext/pdo/tests/bug_38394.phpt @@ -5,6 +5,7 @@ PDO Common: PHP Bug #38394: Prepared statement error stops subsequent statements if (!extension_loaded('pdo')) die('skip'); $dir = getenv('REDIR_TEST_DIR'); if (false == $dir) die('skip no driver'); +if (!strncasecmp(getenv('PDOTEST_DSN'), 'sqlite2', strlen('sqlite2'))) die('skip not relavent for pdo_sqlite2 driver'); require_once $dir . 'pdo_test.inc'; PDOTest::skip(); ?>