From d7184143243a560f50f3f56f4a894a77af96f8158f0d526f3db053cd4a1d805a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 22 May 2017 18:54:24 +0000 Subject: [PATCH 1/2] - Update to 3.19.0 * The SQLITE_READ authorizer callback is invoked once with a column name that is an empty string for every table referenced in a query from which no columns are extracted. * When using an index on an expression, try to use expression values already available in the index, rather than loading the original columns and recomputing the expression. * Enhance the flattening optimization so that it is able to flatten views on the right-hand side of a LEFT JOIN. * Use replace() instead of char() for escaping newline and carriage-return characters embedded in strings in the .dump output from the command-line shell. * Avoid unnecessary foreign key processing in UPDATE statements that do not touch the columns that are constrained by the foreign keys. * On a DISTINCT query that uses an index, try to skip ahead to the next distinct entry using the index rather than stepping through rows, when an appropriate index is available. * Avoid unnecessary invalidation of sqlite3_blob handles when making changes to unrelated tables. * Transfer any terms of the HAVING clause that use only columns mentioned in the GROUP BY clause over to the WHERE clause for faster processing. * Reuse the same materialization of a VIEW if that VIEW appears more than once in the same query. * Enhance PRAGMA integrity_check so that it identifies tables that have two or more rows with the same rowid. * Enhance the FTS5 query syntax so that column filters may be applied to arbitrary expressions. * Enhance the json_extract() function to cache and OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=185 --- sqlite-autoconf-3180000.tar.gz | 3 -- sqlite-autoconf-3190000.tar.gz | 3 ++ sqlite-doc-3180000.zip | 3 -- sqlite-doc-3190000.zip | 3 ++ sqlite3.changes | 51 ++++++++++++++++++++++++++++++++++ sqlite3.spec | 4 +-- 6 files changed, 59 insertions(+), 8 deletions(-) delete mode 100644 sqlite-autoconf-3180000.tar.gz create mode 100644 sqlite-autoconf-3190000.tar.gz delete mode 100644 sqlite-doc-3180000.zip create mode 100644 sqlite-doc-3190000.zip diff --git a/sqlite-autoconf-3180000.tar.gz b/sqlite-autoconf-3180000.tar.gz deleted file mode 100644 index 24ff3c1..0000000 --- a/sqlite-autoconf-3180000.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3757612463976e7d08c5e9f0af3021613fc24bbcfe1c51197d6776b9ece9ac5c -size 2533004 diff --git a/sqlite-autoconf-3190000.tar.gz b/sqlite-autoconf-3190000.tar.gz new file mode 100644 index 0000000..4a186c5 --- /dev/null +++ b/sqlite-autoconf-3190000.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b516e665952c6659638eab3283f09f317afb212fd8e39d6415b4b6259c37b0f5 +size 2542337 diff --git a/sqlite-doc-3180000.zip b/sqlite-doc-3180000.zip deleted file mode 100644 index 7cb5fd5..0000000 --- a/sqlite-doc-3180000.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6f763eba9f51cb1096d1d40fbdd7ff974203060ddb892fc735adb2d7d42f1dad -size 5552381 diff --git a/sqlite-doc-3190000.zip b/sqlite-doc-3190000.zip new file mode 100644 index 0000000..7d1bfb8 --- /dev/null +++ b/sqlite-doc-3190000.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ae4cb0cdb74f48fe3c5ee175b2d43b03e5ff1c25fce27850893f2494b5c1d5b +size 5569300 diff --git a/sqlite3.changes b/sqlite3.changes index 843412f..db0a7a1 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,3 +1,54 @@ +------------------------------------------------------------------- +Mon May 22 18:47:42 UTC 2017 - idonmez@suse.com + +- Update to 3.19.0 + * The SQLITE_READ authorizer callback is invoked once with a + column name that is an empty string for every table referenced + in a query from which no columns are extracted. + * When using an index on an expression, try to use expression + values already available in the index, rather than loading + the original columns and recomputing the expression. + * Enhance the flattening optimization so that it is able to + flatten views on the right-hand side of a LEFT JOIN. + * Use replace() instead of char() for escaping newline and + carriage-return characters embedded in strings in the .dump + output from the command-line shell. + * Avoid unnecessary foreign key processing in UPDATE statements + that do not touch the columns that are constrained by the + foreign keys. + * On a DISTINCT query that uses an index, try to skip ahead + to the next distinct entry using the index rather than + stepping through rows, when an appropriate index is available. + * Avoid unnecessary invalidation of sqlite3_blob handles + when making changes to unrelated tables. + * Transfer any terms of the HAVING clause that use only + columns mentioned in the GROUP BY clause over to the + WHERE clause for faster processing. + * Reuse the same materialization of a VIEW if that VIEW + appears more than once in the same query. + * Enhance PRAGMA integrity_check so that it identifies + tables that have two or more rows with the same rowid. + * Enhance the FTS5 query syntax so that column filters + may be applied to arbitrary expressions. + * Enhance the json_extract() function to cache and + reuse parses of JSON input text. + * Added the anycollseq.c loadable extension that allows a + generic SQLite database connection to read a schema that + contains unknown and/or application-specific collating sequences. + * Fix a problem in REPLACE that can result in a corrupt + database containing two ore more rows with the same rowid. + Fix for ticket f68dc596c4e6018d. + * Fix a problem in PRAGMA integrity_check that was causing a + subsequent VACUUM to behave suboptimally. + so that it works correctly with foreign keys on WITHOUT ROWID tables. + * Disallow leading zeros in numeric constants in JSON. + Fix for ticket b93be8729a895a528e2. + * Disallow control characters inside of strings in JSON. + Fix for ticket 6c9b5514077fed34551. + * Limit the depth of recursion for JSON objects and arrays in orde + to avoid excess stack usage in the recursive descent parser. + Fix for ticket 981329adeef51011052. + ------------------------------------------------------------------- Fri Mar 31 12:03:54 UTC 2017 - idonmez@suse.com diff --git a/sqlite3.spec b/sqlite3.spec index 2d89ade..048d589 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -17,9 +17,9 @@ %define oname sqlite -%define tarversion 3180000 +%define tarversion 3190000 Name: sqlite3 -Version: 3.18.0 +Version: 3.19.0 Release: 0 Summary: Embeddable SQL Database Engine License: SUSE-Public-Domain From 4a0efba63bef1c0821e44793a588b80d374c1406d38b9826f6ae42d0ca36de6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 25 May 2017 17:55:38 +0000 Subject: [PATCH 2/2] - Update to 3.19.2 * Fix a bug in the LEFT JOIN flattening optimization. Ticket cad1ab4cb7b0fc. * Fix more bugs in the LEFT JOIN flattening optimization. Ticket 7fde638e94287d2c. OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=186 --- sqlite-autoconf-3190000.tar.gz | 3 --- sqlite-autoconf-3190200.tar.gz | 3 +++ sqlite-doc-3190000.zip | 3 --- sqlite-doc-3190200.zip | 3 +++ sqlite3.changes | 9 +++++++++ sqlite3.spec | 4 ++-- 6 files changed, 17 insertions(+), 8 deletions(-) delete mode 100644 sqlite-autoconf-3190000.tar.gz create mode 100644 sqlite-autoconf-3190200.tar.gz delete mode 100644 sqlite-doc-3190000.zip create mode 100644 sqlite-doc-3190200.zip diff --git a/sqlite-autoconf-3190000.tar.gz b/sqlite-autoconf-3190000.tar.gz deleted file mode 100644 index 4a186c5..0000000 --- a/sqlite-autoconf-3190000.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b516e665952c6659638eab3283f09f317afb212fd8e39d6415b4b6259c37b0f5 -size 2542337 diff --git a/sqlite-autoconf-3190200.tar.gz b/sqlite-autoconf-3190200.tar.gz new file mode 100644 index 0000000..3a18a93 --- /dev/null +++ b/sqlite-autoconf-3190200.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca5361fb01cc3ad63d6fd4eb2cb0b6398e629595896d3558f7e121d37dac2ffc +size 2542613 diff --git a/sqlite-doc-3190000.zip b/sqlite-doc-3190000.zip deleted file mode 100644 index 7d1bfb8..0000000 --- a/sqlite-doc-3190000.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ae4cb0cdb74f48fe3c5ee175b2d43b03e5ff1c25fce27850893f2494b5c1d5b -size 5569300 diff --git a/sqlite-doc-3190200.zip b/sqlite-doc-3190200.zip new file mode 100644 index 0000000..be70888 --- /dev/null +++ b/sqlite-doc-3190200.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d136abeea8d045ab7acef64ce84028dacb418584fa5a259e7ab4233ef21ff46 +size 5577171 diff --git a/sqlite3.changes b/sqlite3.changes index db0a7a1..97eb879 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu May 25 17:52:39 UTC 2017 - idonmez@suse.com + +- Update to 3.19.2 + * Fix a bug in the LEFT JOIN flattening optimization. + Ticket cad1ab4cb7b0fc. + * Fix more bugs in the LEFT JOIN flattening optimization. + Ticket 7fde638e94287d2c. + ------------------------------------------------------------------- Mon May 22 18:47:42 UTC 2017 - idonmez@suse.com diff --git a/sqlite3.spec b/sqlite3.spec index 048d589..c011730 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -17,9 +17,9 @@ %define oname sqlite -%define tarversion 3190000 +%define tarversion 3190200 Name: sqlite3 -Version: 3.19.0 +Version: 3.19.2 Release: 0 Summary: Embeddable SQL Database Engine License: SUSE-Public-Domain