From 0ccc762f07707f23938c5b84f461a93a72420b4c Mon Sep 17 00:00:00 2001 From: Clemens Gruber Date: Wed, 15 Jun 2016 00:21:19 +0200 Subject: sqlite: version bump and improved build options - Bump the version to 3.13.0: http://sqlite.org/releaselog/3_13_0.html - Using FTS4 also enables FTS3, they share most of their code and FTS4 is recommended for new applications. (Better query performance) - Include the JSON1 functions - The lookaside memory allocator should not be disabled, it is the default allocator since 3.6.1 and is much quicker. 50KB per database connection are used for the memory pool but this can be changed at runtime, if a smaller memory footprint is required. - SECURE_DELETE should not be the default, those who need it can always enable it at runtime with the secure_delete pragma. That build option only controls the default value. Signed-off-by: Clemens Gruber Signed-off-by: Michael Olbrich --- rules/sqlite.make | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rules/sqlite.make b/rules/sqlite.make index 582437c27..79b040c0c 100644 --- a/rules/sqlite.make +++ b/rules/sqlite.make @@ -5,6 +5,7 @@ # 2009 by Erwin Rol # 2010, 2012 by Marc Kleine-Budde # 2011 by Markus Rathgeb +# 2016 by Clemens Gruber # # See CREDITS for details about who has contributed to this project. # @@ -20,11 +21,11 @@ PACKAGES-$(PTXCONF_SQLITE) += sqlite # # Paths and names # -SQLITE_VERSION := 3090200 -SQLITE_MD5 := bc4eb5b3fc5cfcb6e059794306cac1ca +SQLITE_VERSION := 3130000 +SQLITE_MD5 := 4e83f39fa2ffb610ac5ecd36865da6a2 SQLITE := sqlite-autoconf-$(SQLITE_VERSION) SQLITE_SUFFIX := tar.gz -SQLITE_URL := http://www.sqlite.org/2015/$(SQLITE).$(SQLITE_SUFFIX) +SQLITE_URL := http://www.sqlite.org/2016/$(SQLITE).$(SQLITE_SUFFIX) SQLITE_SOURCE := $(SRCDIR)/$(SQLITE).$(SQLITE_SUFFIX) SQLITE_DIR := $(BUILDDIR)/$(SQLITE) SQLITE_LICENSE := public_domain @@ -37,11 +38,10 @@ SQLITE_CONF_ENV := \ $(CROSS_ENV) \ CPPFLAGS=" \ -DSQLITE_ENABLE_COLUMN_METADATA \ - -DSQLITE_ENABLE_FTS3 \ + -DSQLITE_ENABLE_FTS4 \ + -DSQLITE_ENABLE_JSON1 \ -DSQLITE_ENABLE_RTREE=1 \ -DSQLITE_ENABLE_UNLOCK_NOTIFY \ - -DSQLITE_OMIT_LOOKASIDE=1 \ - -DSQLITE_SECURE_DELETE \ -DSQLITE_SOUNDEX=1 \ " -- cgit v1.2.3