]> code.ossystems Code Review - openembedded-core.git/commitdiff
sqlite3: Update 3.25.2 -> 3.25.3
authorJens Rehsack <sno@netbsd.org>
Sun, 18 Nov 2018 18:36:31 +0000 (19:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Nov 2018 10:11:24 +0000 (10:11 +0000)
Update SQLite3 from 3.25.2 to 3.25.3 to fix following issues:

* Disallow the use of window functions in the recursive part of a CTE.
* Fix the behavior of typeof() and length() on virtual tables.
* Strengthen defenses against deliberately corrupted database files.
* Fix a problem in the query planner that results when a row-value
  expression is used with a PRIMARY KEY with redundant columns.
* Fix the query planner so that it works correctly for IS NOT NULL
  operators in the ON clause of a LEFT JOIN with the
  SQLITE_ENABLE_STAT4 compile-time option.

Also introduce PACKAGECONFIG tunables to enable/disable e.g. index
and search functions to allow shrinking the library for very small
targets.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/sqlite/sqlite3.inc
meta/recipes-support/sqlite/sqlite3_3.25.3.bb [moved from meta/recipes-support/sqlite/sqlite3_3.25.2.bb with 59% similarity]

index 1834867d1020f547dd6b5b706b56d1466166a76a..daf3db5e9fbb8f42013ffadc5417dd9252ea4e55 100644 (file)
@@ -21,11 +21,19 @@ CVE_PRODUCT = "sqlite"
 
 inherit autotools pkgconfig
 
-PACKAGECONFIG ?= ""
-PACKAGECONFIG_class-native = ""
+# enable those which are enabled by default in configure
+PACKAGECONFIG ?= "fts4 fts5 json1 rtree dyn_ext"
+PACKAGECONFIG_class-native ?= "fts4 fts5 json1 rtree dyn_ext"
 
 PACKAGECONFIG[editline] = "--enable-editline,--disable-editline,libedit"
 PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline ncurses"
+PACKAGECONFIG[fts3] = "--enable-fts3,--disable-fts3"
+PACKAGECONFIG[fts4] = "--enable-fts4,--disable-fts4"
+PACKAGECONFIG[fts5] = "--enable-fts5,--disable-fts5"
+PACKAGECONFIG[json1] = "--enable-json1,--disable-json1"
+PACKAGECONFIG[rtree] = "--enable-rtree,--disable-rtree"
+PACKAGECONFIG[session] = "--enable-session,--disable-session"
+PACKAGECONFIG[dyn_ext] = "--enable-dynamic-extensions,--disable-dynamic-extensions"
 
 EXTRA_OECONF = " \
     --enable-shared \
similarity index 59%
rename from meta/recipes-support/sqlite/sqlite3_3.25.2.bb
rename to meta/recipes-support/sqlite/sqlite3_3.25.3.bb
index 31c9a6f2d2d77fa55adde2d4da4b13341d158e93..a7cf6d1b8163374dc775da73c74cb2e883af4cab 100644 (file)
@@ -6,5 +6,5 @@ LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=786d3dc581eff03f4fd9e4a77ed0
 SRC_URI = "\
   http://www.sqlite.org/2018/sqlite-autoconf-${SQLITE_PV}.tar.gz \
   "
-SRC_URI[md5sum] = "bfade31d59f58badc51aeaa6ae26a5de"
-SRC_URI[sha256sum] = "da9a1484423d524d3ac793af518cdf870c8255d209e369bd6a193e9f9d0e3181"
+SRC_URI[md5sum] = "06db8206bc8febf07141b78ad58595ea"
+SRC_URI[sha256sum] = "00ebf97be13928941940cc71de3d67e9f852698233cd98ce2d178fd08092f3dd"