From 4f59238ce31242f8c567ebb0467c549ba7da4382ac24b493ed5dbd204e662dc9 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 9 Mar 2022 09:09:18 +0000 Subject: [PATCH 1/3] Accepting request 957745 from home:AndreasStieger:branches:server:database sqlite3 3.38.0 OBS-URL: https://build.opensuse.org/request/show/957745 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=274 --- sqlite-doc-3370200.zip | 3 --- sqlite-doc-3380000.zip | 3 +++ sqlite-src-3370200.zip | 3 --- sqlite-src-3380000.zip | 3 +++ sqlite3.changes | 23 +++++++++++++++++++++++ sqlite3.spec | 4 ++-- 6 files changed, 31 insertions(+), 8 deletions(-) delete mode 100644 sqlite-doc-3370200.zip create mode 100644 sqlite-doc-3380000.zip delete mode 100644 sqlite-src-3370200.zip create mode 100644 sqlite-src-3380000.zip diff --git a/sqlite-doc-3370200.zip b/sqlite-doc-3370200.zip deleted file mode 100644 index 52e7e6a..0000000 --- a/sqlite-doc-3370200.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0538aa78a5ba82ee3d2033329e4056be2eaf7b320d2fa0535714edd794f55eaf -size 10542395 diff --git a/sqlite-doc-3380000.zip b/sqlite-doc-3380000.zip new file mode 100644 index 0000000..31f7454 --- /dev/null +++ b/sqlite-doc-3380000.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5ca5362a38b0c5fa4da8fc3d033ec981c3f531f4a6530ae8846e4be1d3f295f +size 10603776 diff --git a/sqlite-src-3370200.zip b/sqlite-src-3370200.zip deleted file mode 100644 index c00499a..0000000 --- a/sqlite-src-3370200.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:486770b4d5f88b5bb0dba540dd6ee1763067d7539dfee18a7c66fe9bb03d16d9 -size 13145234 diff --git a/sqlite-src-3380000.zip b/sqlite-src-3380000.zip new file mode 100644 index 0000000..70d86a4 --- /dev/null +++ b/sqlite-src-3380000.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77c53d4812cad7856f5f1a1e07d2a2c2a3444d26a965274279f8dd9faa6ff480 +size 13236840 diff --git a/sqlite3.changes b/sqlite3.changes index 8eb0526..085e665 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Sat Feb 26 11:20:10 UTC 2022 - Andreas Stieger + +- update to 3.38.0 + * Add the -> and ->> operators for easier processing of JSON + * The JSON functions are now built-ins + * Enhancements to date and time functions + * Rename the printf() SQL function to format() for better + compatibility, with alias for backwards compatibility. + * Add the sqlite3_error_offset() interface for helping localize + an SQL error to a specific character in the input SQL text + * Enhance the interface to virtual tables + * CLI columnar output modes are enhanced to correctly handle tabs + and newlines embedded in text, and add options like "--wrap N", + "--wordwrap on", and "--quote" to the columnar output modes. + * Query planner enhancements using a Bloom filter to speed up + large analytic queries, and a balanced merge tree to evaluate + UNION or UNION ALL compound SELECT statements that have an + ORDER BY clause. + * The ALTER TABLE statement is changed to silently ignores + entries in the sqlite_schema table that do not parse when + PRAGMA writable_schema=ON + ------------------------------------------------------------------- Wed Jan 12 20:25:08 UTC 2022 - Andreas Stieger diff --git a/sqlite3.spec b/sqlite3.spec index 3b44a8f..3814a39 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -17,10 +17,10 @@ %define oname sqlite -%define tarversion 3370200 +%define tarversion 3380000 %bcond_with icu Name: sqlite3 -Version: 3.37.2 +Version: 3.38.0 Release: 0 Summary: Embeddable SQL Database Engine License: SUSE-Public-Domain From c7eaffc52dc542ae5786601c8b2ef9c5361712d37562aaabc9d83671d3e6a0f5 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Mon, 14 Mar 2022 11:10:19 +0000 Subject: [PATCH 2/3] Accepting request 961471 from home:AndreasStieger:branches:server:database sqlite3 3.38.1 OBS-URL: https://build.opensuse.org/request/show/961471 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=275 --- sqlite-doc-3380000.zip | 3 --- sqlite-doc-3380100.zip | 3 +++ sqlite-src-3380000.zip | 3 --- sqlite-src-3380100.zip | 3 +++ sqlite3.changes | 18 ++++++++++++++++++ sqlite3.spec | 4 ++-- 6 files changed, 26 insertions(+), 8 deletions(-) delete mode 100644 sqlite-doc-3380000.zip create mode 100644 sqlite-doc-3380100.zip delete mode 100644 sqlite-src-3380000.zip create mode 100644 sqlite-src-3380100.zip diff --git a/sqlite-doc-3380000.zip b/sqlite-doc-3380000.zip deleted file mode 100644 index 31f7454..0000000 --- a/sqlite-doc-3380000.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5ca5362a38b0c5fa4da8fc3d033ec981c3f531f4a6530ae8846e4be1d3f295f -size 10603776 diff --git a/sqlite-doc-3380100.zip b/sqlite-doc-3380100.zip new file mode 100644 index 0000000..748aa3f --- /dev/null +++ b/sqlite-doc-3380100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5dae49bd7611777d23e9065204bf184ec454235d3f1b0c27bcab10446720df6d +size 10615296 diff --git a/sqlite-src-3380000.zip b/sqlite-src-3380000.zip deleted file mode 100644 index 70d86a4..0000000 --- a/sqlite-src-3380000.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:77c53d4812cad7856f5f1a1e07d2a2c2a3444d26a965274279f8dd9faa6ff480 -size 13236840 diff --git a/sqlite-src-3380100.zip b/sqlite-src-3380100.zip new file mode 100644 index 0000000..bd815e8 --- /dev/null +++ b/sqlite-src-3380100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:177aefda817fa9f52825e1748587f7c27a9b5e6b53a481cd43461f2746d931d8 +size 13241298 diff --git a/sqlite3.changes b/sqlite3.changes index 085e665..bf23bce 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Sun Mar 13 16:25:42 UTC 2022 - Andreas Stieger + +- update to 3.38.1: + * Fix problems with the new Bloom filter optimization that might + cause some obscure queries to get an incorrect answer. + * Fix the localtime modifier of the date and time functions so + that it preserves fractional seconds. + * Fix the sqlite_offset SQL function so that it works correctly + even in corner cases such as when the argument is a virtual + column or the column of a view. + * Fix row value IN operator constraints on virtual tables so that + they work correctly even if the virtual table implementation + relies on bytecode to filter rows that do not satisfy the + constraint. + * Other minor fixes to assert() statements, test cases, and + documentation. See the source code timeline for details. + ------------------------------------------------------------------- Sat Feb 26 11:20:10 UTC 2022 - Andreas Stieger diff --git a/sqlite3.spec b/sqlite3.spec index 3814a39..8aa0e3a 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -17,10 +17,10 @@ %define oname sqlite -%define tarversion 3380000 +%define tarversion 3380100 %bcond_with icu Name: sqlite3 -Version: 3.38.0 +Version: 3.38.1 Release: 0 Summary: Embeddable SQL Database Engine License: SUSE-Public-Domain From d3d0e359fe46b2695790d5610e8d30c213c0933bfacc2f51f80dff5811dd4a2e Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Mon, 14 Mar 2022 14:15:05 +0000 Subject: [PATCH 3/3] Accepting request 961694 from home:AndreasStieger:branches:server:database 3.38.1 - fix FTBFS OBS-URL: https://build.opensuse.org/request/show/961694 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=276 --- sqlite-src-3380100-atof1.patch | 26 ++++++++++++++++++++++++++ sqlite3.changes | 2 ++ sqlite3.spec | 2 ++ 3 files changed, 30 insertions(+) create mode 100644 sqlite-src-3380100-atof1.patch diff --git a/sqlite-src-3380100-atof1.patch b/sqlite-src-3380100-atof1.patch new file mode 100644 index 0000000..ce5c310 --- /dev/null +++ b/sqlite-src-3380100-atof1.patch @@ -0,0 +1,26 @@ +Subject: Only run atof1.test on x86_64 machines. +Date: 2022-03-10 11:48:16 +From: drh@ +References: https://www3.sqlite.org/cgi/src/vinfo/4173819cd285a1c1?diff=1 + + +Index: test/atof1.test +================================================================== +--- test/atof1.test ++++ test/atof1.test +@@ -16,10 +16,14 @@ + source $testdir/tester.tcl + + if {$::longdouble_size<=8} { + finish_test + return ++} ++if {$::tcl_platform(machine)!="x86_64"} { ++ finish_test ++ return + } + + expr srand(1) + for {set i 1} {$i<20000} {incr i} { + set pow [expr {int((rand()-0.5)*100)}] + diff --git a/sqlite3.changes b/sqlite3.changes index bf23bce..65d83ad 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -15,6 +15,8 @@ Sun Mar 13 16:25:42 UTC 2022 - Andreas Stieger constraint. * Other minor fixes to assert() statements, test cases, and documentation. See the source code timeline for details. +- add upstream patch to run atof1 tests only on x86_64 + sqlite-src-3380100-atof1.patch ------------------------------------------------------------------- Sat Feb 26 11:20:10 UTC 2022 - Andreas Stieger diff --git a/sqlite3.spec b/sqlite3.spec index 8aa0e3a..3bec541 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -29,6 +29,7 @@ URL: https://www.sqlite.org/ Source0: https://www.sqlite.org/2022/sqlite-src-%{tarversion}.zip Source1: baselibs.conf Source2: https://www.sqlite.org/2022/sqlite-doc-%{tarversion}.zip +Patch0: sqlite-src-3380100-atof1.patch BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig @@ -114,6 +115,7 @@ other documentation found on sqlite.org. The files can be found in %prep %setup -q -n sqlite-src-%{tarversion} -a2 +%patch0 -p0 rm -v sqlite-doc-%{tarversion}/releaselog/current.html ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html