summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-08-16 14:09:56 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-08-16 14:09:56 +0000
commit3d87be2674027f24e803f205a034c2579a7a82bc (patch)
tree2e8d00b69578ddae36b6b27942ce00b2ef5b960c
parent7ded15aadd15b3522de9689018ba5ba269419da0 (diff)
downloadphp-git-3d87be2674027f24e803f205a034c2579a7a82bc.tar.gz
Added skip condition for sqlite2 driver, that uses more forgiving emulated
prepared statements.
-rw-r--r--ext/pdo/tests/bug_38394.phpt1
1 files changed, 1 insertions, 0 deletions
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();
?>