From df6b1ce61294a3a370eb996eb6cafbf0a0e68b51a59a0653dd79593e4c7c1eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 8 Aug 2016 18:15:37 +0000 Subject: [PATCH 1/3] - SQLite 3.14.0 * Added support for WITHOUT ROWID virtual tables. * Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. * Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. * Added the carray() table-valued function extension. * Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. * Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). * Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. * Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. * Enhancements to Lemon parser generator, so that it generates a faster parser. * The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. * Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. * The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. * Allow table-valued functions to appear on the right-hand side of an IN operator. * Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. * Added the json_quote() SQL function to the json1 extension. * Disable the authorizer callback while reparsing the schema. * Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. * Fix the ALTER TABLE command so that it does not corrupt descending indexes when OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=165 --- sqlite-autoconf-3130000.tar.gz | 3 --- sqlite-autoconf-3140000.tar.gz | 3 +++ sqlite-doc-3130000.zip | 3 --- sqlite-doc-3140000.zip | 3 +++ sqlite3.changes | 42 ++++++++++++++++++++++++++++++++++ sqlite3.spec | 4 ++-- 6 files changed, 50 insertions(+), 8 deletions(-) delete mode 100644 sqlite-autoconf-3130000.tar.gz create mode 100644 sqlite-autoconf-3140000.tar.gz delete mode 100644 sqlite-doc-3130000.zip create mode 100644 sqlite-doc-3140000.zip diff --git a/sqlite-autoconf-3130000.tar.gz b/sqlite-autoconf-3130000.tar.gz deleted file mode 100644 index ca5693d..0000000 --- a/sqlite-autoconf-3130000.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2797026b3310c9d08bd472f6d430058c6dd139ff9d4e30289884ccd9744086b -size 2459805 diff --git a/sqlite-autoconf-3140000.tar.gz b/sqlite-autoconf-3140000.tar.gz new file mode 100644 index 0000000..bde8bc9 --- /dev/null +++ b/sqlite-autoconf-3140000.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:742db0ebbd9cc91ed6a41857f50aa9795fc859c994a256125135cd07f6cdfd76 +size 2473333 diff --git a/sqlite-doc-3130000.zip b/sqlite-doc-3130000.zip deleted file mode 100644 index 5010a81..0000000 --- a/sqlite-doc-3130000.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:510606a9cdd89814b2d44e7b7f284ebb0a58153e1800de6daadfab445190f79c -size 5550186 diff --git a/sqlite-doc-3140000.zip b/sqlite-doc-3140000.zip new file mode 100644 index 0000000..19dc1df --- /dev/null +++ b/sqlite-doc-3140000.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fb2067c715d285d26aa37ef0aa3bc923142dccb315bd7cc5cff28eb2faf16b0 +size 5683055 diff --git a/sqlite3.changes b/sqlite3.changes index f2b177e..4578a90 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Mon Aug 8 18:06:28 UTC 2016 - idonmez@suse.com + +- SQLite 3.14.0 + * Added support for WITHOUT ROWID virtual tables. + * Improved the query planner so that the OR optimization can be + used on virtual tables even if one or more of the disjuncts use + the LIKE, GLOB, REGEXP, MATCH operators. + * Added the CSV virtual table for reading RFC 4180 formatted + comma-separated value files. + * Added the carray() table-valued function extension. + * Enabled persistent loadable extensions using the new + SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. + * Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). + * Add the vfsstat.c loadable extension - a VFS shim that measures + I/O together with an eponymous virtual table that provides access to the measurements. + * Improved algorithm for running queries with both an ORDER BY + and a LIMIT where only the inner-most loop naturally generates rows in the correct order. + * Enhancements to Lemon parser generator, so that it generates a faster parser. + * The PRAGMA compile_options command now attempts to show the version number + of the compiler that generated the library. + * Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. + * The query planner uses a full scan of a partial index instead of a full scan + of the main table, in cases where that makes sense. + * Allow table-valued functions to appear on the right-hand side of an IN operator. + * Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). + These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() + which are now deprecated. + * Added the json_quote() SQL function to the json1 extension. + * Disable the authorizer callback while reparsing the schema. + * Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and + turned that option on by default when building the command-line shell. + * Fix the ALTER TABLE command so that it does not corrupt descending indexes when + adding a column to a legacy file format database. Ticket f68bf68513a1c15f + * Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE + clause references a non-existent collating sequence. Ticket e8d439c77685eca6. + * Improved the cost estimation for an index scan which includes a WHERE + clause that can be partially or fully evaluated using columns in the index + and without having to do a table lookup. This fixes a performance regression + that occurred for some obscure queries following the ORDER BY LIMIT optimization + introduced in version 3.12.0. + ------------------------------------------------------------------- Tue Aug 2 13:41:17 UTC 2016 - astieger@suse.com diff --git a/sqlite3.spec b/sqlite3.spec index e42aba3..7ca716d 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -17,9 +17,9 @@ %define oname sqlite -%define tarversion 3130000 +%define tarversion 3140000 Name: sqlite3 -Version: 3.13.0 +Version: 3.14.0 Release: 0 Summary: Embeddable SQL Database Engine License: SUSE-Public-Domain From 5a612b7f830c42b17110ad7ad271ac9c64b40525079461de82eb3c26d20258c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 12 Aug 2016 09:59:49 +0000 Subject: [PATCH 2/3] - OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=166 --- sqlite3.changes | 58 +++++++++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/sqlite3.changes b/sqlite3.changes index 4578a90..2196a68 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -10,30 +10,40 @@ Mon Aug 8 18:06:28 UTC 2016 - idonmez@suse.com comma-separated value files. * Added the carray() table-valued function extension. * Enabled persistent loadable extensions using the new - SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. - * Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). + SQLITE_OK_LOAD_PERMANENTLY return code from the extension + entry point. + * Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to + sqlite3_db_status(). * Add the vfsstat.c loadable extension - a VFS shim that measures - I/O together with an eponymous virtual table that provides access to the measurements. + I/O together with an eponymous virtual table that provides access + to the measurements. * Improved algorithm for running queries with both an ORDER BY - and a LIMIT where only the inner-most loop naturally generates rows in the correct order. - * Enhancements to Lemon parser generator, so that it generates a faster parser. - * The PRAGMA compile_options command now attempts to show the version number - of the compiler that generated the library. - * Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. - * The query planner uses a full scan of a partial index instead of a full scan - of the main table, in cases where that makes sense. - * Allow table-valued functions to appear on the right-hand side of an IN operator. - * Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). - These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() - which are now deprecated. + and a LIMIT where only the inner-most loop naturally generates + rows in the correct order. + * Enhancements to Lemon parser generator, so that it generates a + faster parser. + * The PRAGMA compile_options command now attempts to show the version + number of the compiler that generated the library. + * Enhance PRAGMA table_info so that it provides information about + eponymous virtual tables. + * The query planner uses a full scan of a partial index instead of + a full scan of the main table, in cases where that makes sense. + * Allow table-valued functions to appear on the right-hand side + of an IN operator. + * Added two new C-language interfaces: sqlite3_expanded_sql() + and sqlite3_trace_v2(). These new interfaces subsume the + functions of sqlite3_trace() and sqlite3_profile() which are + now deprecated. * Added the json_quote() SQL function to the json1 extension. * Disable the authorizer callback while reparsing the schema. * Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. - * Fix the ALTER TABLE command so that it does not corrupt descending indexes when - adding a column to a legacy file format database. Ticket f68bf68513a1c15f - * Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE - clause references a non-existent collating sequence. Ticket e8d439c77685eca6. + * Fix the ALTER TABLE command so that it does not corrupt descending + indexes when adding a column to a legacy file format database. + Ticket f68bf68513a1c15f + * Fix a NULL-pointer dereference/crash that could occurs when a + transitive WHERE clause references a non-existent collating + sequence. Ticket e8d439c77685eca6. * Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression @@ -62,7 +72,8 @@ Wed May 18 19:43:17 UTC 2016 - idonmez@suse.com * Added the "--indent" option to the ".schema" and ".fullschema" commands of the command-line shell, to turn on pretty-printing. * Added the ".eqp full" option to the command-line shell, that does - both EXPLAIN and EXPLAIN QUERY PLAN on each statement that is evaluated. + both EXPLAIN and EXPLAIN QUERY PLAN on each statement that is + evaluated. * Improved resistance against goofy query planner decisions caused by incomplete or incorrect modifications to the sqlite_stat1 table by the application. @@ -70,16 +81,17 @@ Wed May 18 19:43:17 UTC 2016 - idonmez@suse.com interface which allows the sqlite3_load_extension() C-API to be enabled while keeping the load_extension() SQL function disabled for security. * Change the temporary directory search algorithm on Unix to allow - directories with write and execute permission, but without read permission, - to serve as temporary directories. Apply this same standard to the "." fallback directory. + directories with write and execute permission, but without read + permission, to serve as temporary directories. Apply this same + standard to the "." fallback directory. * Fix a problem with the multi-row one-pass DELETE optimization that was causing it to compute incorrect answers with a self-referential subquery in the WHERE clause. Fix for ticket dc6ebeda9396087 * Fix a possible segfault with DELETE when table is a rowid table with an INTEGER PRIMARY KEY and the WHERE clause contains a OR and the table has one or more indexes that are able to trigger the OR optimization, but none - of the indexes reference any table columns other than the INTEGER PRIMARY KEY. - Ticket 16c9801ceba49. + of the indexes reference any table columns other than the + INTEGER PRIMARY KEY. Ticket 16c9801ceba49. * When checking for the WHERE-clause push-down optimization, verify that all terms of the compound inner SELECT are non-aggregate, not just the last term. Fix for ticket f7f8c97e97597. From 08fecd30b6fd9b7972805d66fd4dd68fcb7eb50382e3515ab3034b31f9f14855 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 15 Aug 2016 08:10:36 +0000 Subject: [PATCH 3/3] Accepting request 419223 from home:AndreasStieger:branches:server:database SQlite 3.14.1 OBS-URL: https://build.opensuse.org/request/show/419223 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=167 --- sqlite-autoconf-3140000.tar.gz | 3 --- sqlite-autoconf-3140100.tar.gz | 3 +++ sqlite-doc-3140000.zip | 3 --- sqlite-doc-3140100.zip | 3 +++ sqlite3.changes | 9 +++++++++ sqlite3.spec | 4 ++-- 6 files changed, 17 insertions(+), 8 deletions(-) delete mode 100644 sqlite-autoconf-3140000.tar.gz create mode 100644 sqlite-autoconf-3140100.tar.gz delete mode 100644 sqlite-doc-3140000.zip create mode 100644 sqlite-doc-3140100.zip diff --git a/sqlite-autoconf-3140000.tar.gz b/sqlite-autoconf-3140000.tar.gz deleted file mode 100644 index bde8bc9..0000000 --- a/sqlite-autoconf-3140000.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:742db0ebbd9cc91ed6a41857f50aa9795fc859c994a256125135cd07f6cdfd76 -size 2473333 diff --git a/sqlite-autoconf-3140100.tar.gz b/sqlite-autoconf-3140100.tar.gz new file mode 100644 index 0000000..2f1ca4a --- /dev/null +++ b/sqlite-autoconf-3140100.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc7182476900017becb81565ecea7775d46ab747a97281aa610f4f45881c47a6 +size 2473610 diff --git a/sqlite-doc-3140000.zip b/sqlite-doc-3140000.zip deleted file mode 100644 index 19dc1df..0000000 --- a/sqlite-doc-3140000.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5fb2067c715d285d26aa37ef0aa3bc923142dccb315bd7cc5cff28eb2faf16b0 -size 5683055 diff --git a/sqlite-doc-3140100.zip b/sqlite-doc-3140100.zip new file mode 100644 index 0000000..1363096 --- /dev/null +++ b/sqlite-doc-3140100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:036203c71ca5796fd80b9d9d3bd710f698da3d5393d4df5c7cdf5468258c9ec6 +size 5689913 diff --git a/sqlite3.changes b/sqlite3.changes index 2196a68..6022573 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Aug 14 07:26:23 UTC 2016 - astieger@suse.com + +- SQlite 3.14.1: + * A performance enhancement to the page-cache "truncate" + operation reduces COMMIT time by dozens of milliseconds on + systems with a large page cache + * Fix to the --rbu option of sqldiff. + ------------------------------------------------------------------- Mon Aug 8 18:06:28 UTC 2016 - idonmez@suse.com diff --git a/sqlite3.spec b/sqlite3.spec index 7ca716d..462fe8d 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -17,9 +17,9 @@ %define oname sqlite -%define tarversion 3140000 +%define tarversion 3140100 Name: sqlite3 -Version: 3.14.0 +Version: 3.14.1 Release: 0 Summary: Embeddable SQL Database Engine License: SUSE-Public-Domain