From: Ilia Alshanetsky Date: Wed, 16 Aug 2006 14:10:16 +0000 (+0000) Subject: MFB: Added skip condition for sqlite2 driver, that uses more forgiving X-Git-Tag: RELEASE_1_0_0RC1~1937 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24441c81dac418f3d85a28055f4ad025f8bfdf1b;p=php MFB: 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(); ?>