summaryrefslogtreecommitdiff
path: root/ext/sqlite3/tests/sqlite3_37_createfunction_flags.phpt
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2017-03-29 07:25:01 +0200
committerJoe Watkins <krakjoe@php.net>2017-03-29 07:54:44 +0100
commita99cddf1c6cf1b60dd830edbe322b7b692bfd758 (patch)
treeff217da72b26d67018593f7de3c35e99a0462298 /ext/sqlite3/tests/sqlite3_37_createfunction_flags.phpt
parent99d2cd0a324e6592be4b68f6b007703c2c7402c1 (diff)
downloadphp-git-a99cddf1c6cf1b60dd830edbe322b7b692bfd758.tar.gz
Fix buid with system libsqlite, see bug #74217PHP-7.1.4
SQLITE_DETERMINISTIC only exists in recent version e.g. missing on 3.7 which is the default on RHEL/CentOS-7 and probably others (wheezy have 3.7, jessie 3.8...)
Diffstat (limited to 'ext/sqlite3/tests/sqlite3_37_createfunction_flags.phpt')
-rw-r--r--ext/sqlite3/tests/sqlite3_37_createfunction_flags.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/sqlite3/tests/sqlite3_37_createfunction_flags.phpt b/ext/sqlite3/tests/sqlite3_37_createfunction_flags.phpt
index 31fd42bc76..f9f0b5f33a 100644
--- a/ext/sqlite3/tests/sqlite3_37_createfunction_flags.phpt
+++ b/ext/sqlite3/tests/sqlite3_37_createfunction_flags.phpt
@@ -1,7 +1,10 @@
--TEST--
SQLite3::createFunction - Test with flags
--SKIPIF--
-<?php require_once(__DIR__ . '/skipif.inc'); ?>
+<?php
+require_once(__DIR__ . '/skipif.inc');
+if (!defined('SQLITE3_DETERMINISTIC')) die('skip system sqlite is to old');
+?>
--FILE--
<?php