From 3c63068c635c488bf33a1f2ac29ebebcd8b00d9b80a031f90aba5ea5e796f1a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 30 Mar 2016 08:02:52 +0000 Subject: [PATCH] - SQLite 3.12.0: * The SQLITE_DEFAULT_PAGE_SIZE is increased from 1024 to 4096. The SQLITE_DEFAULT_CACHE_SIZE is changed from 2000 to -2000 so the same amount of cache memory is used by default. * Enhancements to the Lemon parser generator so that it creates a smaller and faster SQL parser. * Only create master journal files if two or more attached databases are all modified, do not have PRAGMA synchronous set to OFF, and do not have the journal_mode set to OFF, MEMORY, or WAL. * Added the SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER option to sqlite3_db_config() which allows the two-argument version of the fts3_tokenizer() SQL function to be enabled or disabled at run-time. * Added the sqlite3rbu_bp_progress() interface to the RBU extension. * The PRAGMA defer_foreign_keys=ON statement now also disables RESTRICT actions on foreign key. * Added the sqlite3_system_errno() interface. * Added the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS compile-time options. The SQLITE_DEFAULT_SYNCHRONOUS compile-time option replaces the SQLITE_EXTRA_DURABLE option, which is no longer supported. * Enhanced the ".stats" command in the command-line shell to show more information about I/O performance obtained from /proc, when available. * Make sure the sqlite3_set_auxdata() values from multiple triggers within a single statement do not interfere with one another. Ticket dc9b1c91. * Fix the code generator for expressions of the form "x IN (SELECT...)" where the SELECT statement on the RHS is a correlated subquery. - Remove sqlite3-link-binary-with-libsqlite3.patch: replaced with configure option --disable-static-shell OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=155 --- sqlite-autoconf-3110100.tar.gz | 3 --- sqlite-autoconf-3120000.tar.gz | 3 +++ sqlite-doc-3110100.zip | 3 --- sqlite-doc-3120000.zip | 3 +++ sqlite3-link-binary-with-libsqlite3.patch | 17 ------------- sqlite3.changes | 31 +++++++++++++++++++++++ sqlite3.spec | 9 +++---- 7 files changed, 41 insertions(+), 28 deletions(-) delete mode 100644 sqlite-autoconf-3110100.tar.gz create mode 100644 sqlite-autoconf-3120000.tar.gz delete mode 100644 sqlite-doc-3110100.zip create mode 100644 sqlite-doc-3120000.zip delete mode 100644 sqlite3-link-binary-with-libsqlite3.patch diff --git a/sqlite-autoconf-3110100.tar.gz b/sqlite-autoconf-3110100.tar.gz deleted file mode 100644 index 931ba89..0000000 --- a/sqlite-autoconf-3110100.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:533ff1d0271c2e666f01591271cef01a31648563affa0c95e80ef735077d4377 -size 2359545 diff --git a/sqlite-autoconf-3120000.tar.gz b/sqlite-autoconf-3120000.tar.gz new file mode 100644 index 0000000..7b54014 --- /dev/null +++ b/sqlite-autoconf-3120000.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53ecdbb5287af673eca3710c5f6c2305e73bb2d034f2a28770bea2be92ed269e +size 2374101 diff --git a/sqlite-doc-3110100.zip b/sqlite-doc-3110100.zip deleted file mode 100644 index 62f2544..0000000 --- a/sqlite-doc-3110100.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f127c51c7936d13de96255b00a6be3862693ff025f61a1d3d17d3d57ee295d0 -size 5386958 diff --git a/sqlite-doc-3120000.zip b/sqlite-doc-3120000.zip new file mode 100644 index 0000000..3c41af3 --- /dev/null +++ b/sqlite-doc-3120000.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:346d9d56a0193d9396948192b7eca9e45c2adfeea6bbf71df62502830da510f3 +size 5402611 diff --git a/sqlite3-link-binary-with-libsqlite3.patch b/sqlite3-link-binary-with-libsqlite3.patch deleted file mode 100644 index 444bde8..0000000 --- a/sqlite3-link-binary-with-libsqlite3.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: sqlite-autoconf-3110100/Makefile.am -=================================================================== ---- sqlite-autoconf-3110100.orig/Makefile.am -+++ sqlite-autoconf-3110100/Makefile.am -@@ -6,9 +6,9 @@ libsqlite3_la_SOURCES = sqlite3.c - libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8 - - bin_PROGRAMS = sqlite3 --sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h --sqlite3_LDADD = @READLINE_LIBS@ --sqlite3_DEPENDENCIES = @EXTRA_SHELL_OBJ@ -+sqlite3_SOURCES = shell.c sqlite3.h -+sqlite3_LDADD = libsqlite3.la @READLINE_LIBS@ -+sqlite3_DEPENDENCIES = libsqlite3.la @EXTRA_SHELL_OBJ@ - sqlite3_CFLAGS = $(AM_CFLAGS) -DSQLITE_ENABLE_EXPLAIN_COMMENTS - - include_HEADERS = sqlite3.h sqlite3ext.h diff --git a/sqlite3.changes b/sqlite3.changes index d3bf037..ab5328f 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Wed Mar 30 07:47:34 UTC 2016 - idonmez@suse.com + +- SQLite 3.12.0: + * The SQLITE_DEFAULT_PAGE_SIZE is increased from 1024 to 4096. + The SQLITE_DEFAULT_CACHE_SIZE is changed from 2000 to -2000 + so the same amount of cache memory is used by default. + * Enhancements to the Lemon parser generator so that it creates + a smaller and faster SQL parser. + * Only create master journal files if two or more attached databases + are all modified, do not have PRAGMA synchronous set to OFF, + and do not have the journal_mode set to OFF, MEMORY, or WAL. + * Added the SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER option to + sqlite3_db_config() which allows the two-argument version of the + fts3_tokenizer() SQL function to be enabled or disabled at run-time. + * Added the sqlite3rbu_bp_progress() interface to the RBU extension. + * The PRAGMA defer_foreign_keys=ON statement now also disables RESTRICT + actions on foreign key. + * Added the sqlite3_system_errno() interface. + * Added the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS + compile-time options. The SQLITE_DEFAULT_SYNCHRONOUS compile-time option + replaces the SQLITE_EXTRA_DURABLE option, which is no longer supported. + * Enhanced the ".stats" command in the command-line shell to show more + information about I/O performance obtained from /proc, when available. + * Make sure the sqlite3_set_auxdata() values from multiple triggers within + a single statement do not interfere with one another. Ticket dc9b1c91. + * Fix the code generator for expressions of the form "x IN (SELECT...)" + where the SELECT statement on the RHS is a correlated subquery. +- Remove sqlite3-link-binary-with-libsqlite3.patch: replaced with configure + option --disable-static-shell + ------------------------------------------------------------------- Fri Mar 25 08:45:56 UTC 2016 - idonmez@suse.com diff --git a/sqlite3.spec b/sqlite3.spec index 1b8ef11..bd88f0f 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -19,9 +19,9 @@ # Simplify building on RH for Application:Geo (SR#212812). %define pname sqlite3 %define oname sqlite -%define tarversion 3110100 +%define tarversion 3120000 Name: %{pname} -Version: 3.11.1 +Version: 3.12.0 Release: 0 Summary: Embeddable SQL Database Engine License: SUSE-Public-Domain @@ -30,7 +30,6 @@ Url: http://www.sqlite.org/ Source0: http://www.sqlite.org/2016/sqlite-autoconf-%{tarversion}.tar.gz Source1: baselibs.conf Source2: http://www.sqlite.org/2016/sqlite-doc-%{tarversion}.zip -Patch0: sqlite3-link-binary-with-libsqlite3.patch Patch1: sqlite-fts5-link.patch BuildRequires: autoconf BuildRequires: automake @@ -119,7 +118,6 @@ other documentation found on sqlite.org. The files can be found in %prep %setup -q -n sqlite-autoconf-%{tarversion} -a2 -%patch0 -p1 %patch1 -p1 rm -v sqlite-doc-%{tarversion}/releaselog/current.html ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html @@ -141,7 +139,8 @@ export CFLAGS="%{optflags} \ -DSQLITE_SECURE_DELETE \ " %configure --disable-static \ - --enable-readline + --disable-static-shell \ + --enable-readline make %{?_smp_mflags} %install