From 155638d14442f36982069cc1bfba8479ac9b87807a6510b0c0598e0ce3b4bc61 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 18 Apr 2024 08:29:52 +0000 Subject: [PATCH] - Update to release 3.45.3: * Fix a long-standing bug (going back to version 3.24.0) that might (rarely) cause the "old.*" values of an UPDATE trigger to be incorrect if that trigger fires in response to an UPSERT. * Reduce the scope of the NOT NULL strength reduction optimization that was added as item 8e in version 3.35.0. The optimization was being attempted in some contexts where it did not work, resulting in incorrect query results. - Add SQLITE_STRICT_SUBTYPE=1 as recommended by upstream. OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=332 --- sqlite-doc-3450200.zip | 3 --- sqlite-doc-3450300.zip | 3 +++ sqlite-src-3450200.zip | 3 --- sqlite-src-3450300.zip | 3 +++ sqlite3.changes | 13 +++++++++++++ sqlite3.spec | 7 ++++--- 6 files changed, 23 insertions(+), 9 deletions(-) delete mode 100644 sqlite-doc-3450200.zip create mode 100644 sqlite-doc-3450300.zip delete mode 100644 sqlite-src-3450200.zip create mode 100644 sqlite-src-3450300.zip diff --git a/sqlite-doc-3450200.zip b/sqlite-doc-3450200.zip deleted file mode 100644 index ea0824b..0000000 --- a/sqlite-doc-3450200.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:645fd1078a4a03cfe83bfccc380685cc5dcf7dd132a23f78fad4f660e40cf2c7 -size 10755940 diff --git a/sqlite-doc-3450300.zip b/sqlite-doc-3450300.zip new file mode 100644 index 0000000..c27f461 --- /dev/null +++ b/sqlite-doc-3450300.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13383c4babde9f0aa2c4d195d2109be6ba54a10b5759930912a5c559c6ec2e48 +size 10759906 diff --git a/sqlite-src-3450200.zip b/sqlite-src-3450200.zip deleted file mode 100644 index 2e69507..0000000 --- a/sqlite-src-3450200.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4a45a3577cc8af683c4bd4c6e81a7c782c5b7d5daa06175ea2cb971ca71691b1 -size 14156848 diff --git a/sqlite-src-3450300.zip b/sqlite-src-3450300.zip new file mode 100644 index 0000000..1cb5ca2 --- /dev/null +++ b/sqlite-src-3450300.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec0c959e42cb5f1804135d0555f8ea32be6ff2048eb181bccd367c8f53f185d1 +size 14160555 diff --git a/sqlite3.changes b/sqlite3.changes index 7da3a7e..4a6fd65 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Apr 17 08:50:51 UTC 2024 - Reinhard Max + +- Update to release 3.45.3: + * Fix a long-standing bug (going back to version 3.24.0) that + might (rarely) cause the "old.*" values of an UPDATE trigger + to be incorrect if that trigger fires in response to an UPSERT. + * Reduce the scope of the NOT NULL strength reduction + optimization that was added as item 8e in version 3.35.0. The + optimization was being attempted in some contexts where it did + not work, resulting in incorrect query results. +- Add SQLITE_STRICT_SUBTYPE=1 as recommended by upstream. + ------------------------------------------------------------------- Tue Mar 12 14:50:27 UTC 2024 - Reinhard Max diff --git a/sqlite3.spec b/sqlite3.spec index 6d2cdb8..2468b47 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -17,12 +17,12 @@ %define oname sqlite -%define tarversion 3450200 -%define docversion 3450200 +%define tarversion 3450300 +%define docversion 3450300 %bcond_with icu %bcond_without check Name: sqlite3 -Version: 3.45.2 +Version: 3.45.3 Release: 0 Summary: Embeddable SQL Database Engine License: SUSE-Public-Domain @@ -166,6 +166,7 @@ export CFLAGS="%{optflags} \ -DSQLITE_ENABLE_UNLOCK_NOTIFY \ -DSQLITE_SECURE_DELETE \ -DSQLITE_ENABLE_MATH_FUNCTIONS \ + -DSQLITE_STRICT_SUBTYPE=1 \ " %configure \ --disable-static \