Skip to contentSkip to conversation

sqlite: bump to version 3.7.9

PATCH New Sven Neumann 2 participants 8 messages Dec 7, 2011 – Dec 11, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 sqlite: bump to version 3.7.9

---
 package/sqlite/sqlite.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/sqlite/sqlite.mk +1 -1
index 10fe9fe..5391d86 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-SQLITE_VERSION = 3070800
+SQLITE_VERSION = 3070900
 SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_VERSION).tar.gz
 SQLITE_SITE = http://www.sqlite.org
 SQLITE_INSTALL_STAGING = YES
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 2/4 sqlite: remove obsolete configure options

Drop options that are unknown to the configure script.

---
 package/sqlite/sqlite.mk |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
package/sqlite/sqlite.mk +3 -5
index 5391d86..f587f47 100644
@@ -16,11 +16,9 @@ ifneq ($(BR2_LARGEFILE),y)
 SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DSQLITE_DISABLE_LFS"
 endif
 
-SQLITE_CONF_OPT =	--enable-tempstore=yes \
-			--enable-threadsafe \
-			--enable-releasemode \
-			--disable-tcl \
-			--localstatedir=/var
+SQLITE_CONF_OPT = \
+	--enable-threadsafe \
+	--localstatedir=/var
 
 ifeq ($(BR2_PACKAGE_SQLITE_READLINE),y)
 SQLITE_DEPENDENCIES += ncurses readline
Signature · 1 line
1.7.5.4
#2 lore raw

PATCH 2/4 sqlite: remove obsolete configure options

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sven" == Sven Neumann <[email protected]> writes:

Sven> Drop options that are unknown to the configure script. Sven> Signed-off-by: Sven Neumann <[email protected]>
Sven> Reviewed-by: Thomas De Schampheleire <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 3/4 sqlite: refactor how CFLAGS are passed to the configure script

In reply to Sven Neumann

Change the way the SQLITE_CONF_ENV variable is constructed in preparation of passing other CFLAGS to the configure script.

---
 package/sqlite/sqlite.mk |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
package/sqlite/sqlite.mk +3 -1
index f587f47..0bee337 100644
@@ -13,9 +13,11 @@ ifneq ($(BR2_LARGEFILE),y)
 # the sqlite configure script fails to define SQLITE_DISABLE_LFS when
 # --disable-largefile is passed, breaking the build. Work around it by
 # simply adding it to CFLAGS for configure instead
-SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DSQLITE_DISABLE_LFS"
+SQLITE_CFLAGS += -DSQLITE_DISABLE_LFS
 endif
 
+SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) $(SQLITE_CFLAGS)"
+
 SQLITE_CONF_OPT = \
 	--enable-threadsafe \
 	--localstatedir=/var
Signature · 1 line
1.7.5.4
#4 lore raw

PATCH 3/4 sqlite: refactor how CFLAGS are passed to the configure script

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sven" == Sven Neumann <[email protected]> writes:

Sven> Change the way the SQLITE_CONF_ENV variable is constructed in Sven> preparation of passing other CFLAGS to the configure script.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH 4/4 sqlite: add option to enable additional query optimizations (stat3)

In reply to Sven Neumann
---
 package/sqlite/Config.in |    8 ++++++++
 package/sqlite/sqlite.mk |    4 ++++
 2 files changed, 12 insertions(+), 0 deletions(-)
package/sqlite/Config.in +8 -0
index f9b12ae..b7b17c6 100644
@@ -14,3 +14,11 @@ config BR2_PACKAGE_SQLITE_READLINE
 	help
 	  Enable command-line editing. This requires ncurses and readline.
 
+config BR2_PACKAGE_SQLITE_STAT3
+	bool "Additional query optimizations (stat3)"
+	depends on BR2_PACKAGE_SQLITE
+	help
+	  Adds additional logic to the ANALYZE command and to the query
+	  planner that can help SQLite to choose a better query plan under
+	  certain situations.
+
package/sqlite/sqlite.mk +4 -0
index 0bee337..042c7f9 100644
@@ -16,6 +16,10 @@ ifneq ($(BR2_LARGEFILE),y)
 SQLITE_CFLAGS += -DSQLITE_DISABLE_LFS
 endif
 
+ifeq ($(BR2_PACKAGE_SQLITE_STAT3),y)
+SQLITE_CFLAGS += -DSQLITE_ENABLE_STAT3
+endif
+
 SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) $(SQLITE_CFLAGS)"
 
 SQLITE_CONF_OPT = \
Signature · 1 line
1.7.5.4
#6 lore raw

PATCH 4/4 sqlite: add option to enable additional query optimizations (stat3)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sven" == Sven Neumann <[email protected]> writes:

Sven> Signed-off-by: Sven Neumann <[email protected]>
Sven> Reviewed-by: Thomas De Schampheleire <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard