summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/tests
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2017-03-29 07:28:26 +0200
committerRemi Collet <remi@php.net>2017-03-29 07:28:26 +0200
commit83b070887813cfe9a076de4894493358f64bea30 (patch)
tree45a336790ce68877b87eb8decb9c146fb86d1c54 /ext/pdo_sqlite/tests
parent2c97dddc7808a385ebdf54d338cca6c901819fed (diff)
parent012dc336a6ae01208c394994b648c221337bf81d (diff)
downloadphp-git-83b070887813cfe9a076de4894493358f64bea30.tar.gz
Merge branch 'PHP-7.1'
* PHP-7.1: Fix buid with system libsqlite, see bug #74217
Diffstat (limited to 'ext/pdo_sqlite/tests')
-rw-r--r--ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt
index 4f0b6754a1..d826d93ddf 100644
--- a/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt
+++ b/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt
@@ -1,7 +1,10 @@
--TEST--
PDO_sqlite: Testing sqliteCreateFunction() with flags
--SKIPIF--
-<?php if (!extension_loaded('pdo_sqlite')) print 'skip not loaded'; ?>
+<?php
+if (!extension_loaded('pdo_sqlite')) print 'skip not loaded';
+if (!defined('PDO::SQLITE_DETERMINISTIC')) die('skip system sqlite is to old');
+?>
--FILE--
<?php