From f3a7ca1336fea5d61e4d28e56db2ca32cee3b147 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 15 Aug 2017 11:52:29 +0200 Subject: update to 7.2.0beta3 --- php-sqlite3_2.patch | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 php-sqlite3_2.patch (limited to 'php-sqlite3_2.patch') diff --git a/php-sqlite3_2.patch b/php-sqlite3_2.patch deleted file mode 100644 index 575d705..0000000 --- a/php-sqlite3_2.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/ext/pdo_sqlite/config.m4 b/ext/pdo_sqlite/config.m4 -index 44b22b6..b050eea 100644 ---- a/ext/pdo_sqlite/config.m4 -+++ b/ext/pdo_sqlite/config.m4 -@@ -68,6 +68,9 @@ if test "$PHP_PDO_SQLITE" != "no"; then - PHP_CHECK_LIBRARY(sqlite3,sqlite3_key,[ - AC_DEFINE(HAVE_SQLITE3_KEY,1, [have commercial sqlite3 with crypto support]) - ]) -+ PHP_CHECK_LIBRARY(sqlite3,sqlite3_close_v2,[ -+ AC_DEFINE(HAVE_SQLITE3_CLOSE_V2, 1, [have sqlite3_close_v2]) -+ ]) - - PHP_SUBST(PDO_SQLITE_SHARED_LIBADD) - PHP_NEW_EXTENSION(pdo_sqlite, $php_pdo_sqlite_sources_core, $ext_shared,,-I$pdo_cv_inc_path) -@@ -79,6 +82,7 @@ if test "$PHP_PDO_SQLITE" != "no"; then - threadsafe_flags="-DSQLITE_THREADSAFE=0" - fi - -+ AC_DEFINE(HAVE_SQLITE3_CLOSE_V2, 1, [have sqlite3_close_v2]) - other_flags="-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1" - - dnl As long as intl is not shared we can have ICU support -diff --git a/ext/pdo_sqlite/sqlite_driver.c b/ext/pdo_sqlite/sqlite_driver.c -index 3d32f23..e234406 100644 ---- a/ext/pdo_sqlite/sqlite_driver.c -+++ b/ext/pdo_sqlite/sqlite_driver.c -@@ -161,7 +161,11 @@ static int sqlite_handle_closer(pdo_dbh_t *dbh) /* {{{ */ - - pdo_sqlite_cleanup_callbacks(H); - if (H->db) { -+#ifdef HAVE_SQLITE3_CLOSE_V2 - sqlite3_close_v2(H->db); -+#else -+ sqlite3_close(H->db); -+#endif - H->db = NULL; - } - if (einfo->errmsg) { -- cgit