11 Commits

Author SHA256 Message Date
96cdb89b77 Accepting request 1332086 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1332086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=171
2026-02-10 20:11:43 +00:00
56d862a6dc - Update to version 3.51.2:
* Fix an obscure deadlock in the new broken-posix-lock detection
    logic.
  * Fix multiple problems in the EXISTS-to-JOIN optimization.
  * Other minor bug fixes.
    in a very specific way (CVE-2025-7709, bsc#1254670).

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=377
2026-02-02 16:31:33 +00:00
243acbceb6 Accepting request 1320534 from server:database
- Update to version 3.51.1:
  * Fix incorrect results from nested EXISTS queries caused by the
    optimization in item 6b in the 3.51.0 release.
  * Fix a latent bug in fts5vocab virtual table, exposed by new
    optimizations in the 3.51.0 release
- Changes in version 3.51.0:
  * New macros in sqlite3.h:
    - SQLITE_SCM_BRANCH → the name of the branch from which the
      source code is taken.
    - SQLITE_SCM_TAGS → space-separated list of tags on the source
      code check-in.
    - SQLITE_SCM_DATETIME → ISO-8601 date and time of the source
      code check-in.
  * Two new JSON functions, jsonb_each() and jsonb_tree() work the
    same as the existing json_each() and json_tree() functions
    except that they return JSONB for the "value" column when the
    "type" is 'array' or 'object'.
  * The carray and percentile extensions are now built into the
    amalgamation, though they are disabled by default and must be
    activated at compile-time using the -DSQLITE_ENABLE_CARRAY
    and/or -DSQLITE_ENABLE_PERCENTILE options, respectively.
  * Enhancements to TCL Interface:
    - Add the -asdict flag to the eval command to have it set the
      row data as a dict instead of an array.
    - User-defined functions may now break to return an SQL NULL.
  * CLI enhancements:
    - Increase the precision of ".timer" to microseconds.
    - Enhance the "box" and "column" formatting modes to deal with
      double-wide characters.
    - The ".imposter" command provides read-only imposter tables

OBS-URL: https://build.opensuse.org/request/show/1320534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=170
2025-12-02 12:18:34 +00:00
052b4f1e33 - Update to version 3.51.1:
* Fix incorrect results from nested EXISTS queries caused by the
    optimization in item 6b in the 3.51.0 release.
  * Fix a latent bug in fts5vocab virtual table, exposed by new
    optimizations in the 3.51.0 release
- Changes in version 3.51.0:
  * New macros in sqlite3.h:
    - SQLITE_SCM_BRANCH → the name of the branch from which the
      source code is taken.
    - SQLITE_SCM_TAGS → space-separated list of tags on the source
      code check-in.
    - SQLITE_SCM_DATETIME → ISO-8601 date and time of the source
      code check-in.
  * Two new JSON functions, jsonb_each() and jsonb_tree() work the
    same as the existing json_each() and json_tree() functions
    except that they return JSONB for the "value" column when the
    "type" is 'array' or 'object'.
  * The carray and percentile extensions are now built into the
    amalgamation, though they are disabled by default and must be
    activated at compile-time using the -DSQLITE_ENABLE_CARRAY
    and/or -DSQLITE_ENABLE_PERCENTILE options, respectively.
  * Enhancements to TCL Interface:
    - Add the -asdict flag to the eval command to have it set the
      row data as a dict instead of an array.
    - User-defined functions may now break to return an SQL NULL.
  * CLI enhancements:
    - Increase the precision of ".timer" to microseconds.
    - Enhance the "box" and "column" formatting modes to deal with
      double-wide characters.
    - The ".imposter" command provides read-only imposter tables

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=375
2025-11-28 21:00:37 +00:00
a79a455247 Accepting request 1312730 from server:database
- bsc#1252217: Add a %license file.

OBS-URL: https://build.opensuse.org/request/show/1312730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=169
2025-10-23 14:35:26 +00:00
a7121f0f90 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=373 2025-10-21 09:17:08 +00:00
c344ce04c8 - bsc#1252217: Add a %license file.
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=372
2025-10-21 08:32:24 +00:00
b96dbb4e23 Accepting request 1301434 from server:database
- bsc#1248586: Fix icu-enabled build.

OBS-URL: https://build.opensuse.org/request/show/1301434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=168
2025-08-27 19:34:07 +00:00
b8a91a9b24 - bsc#1248586: Fix icu-enabled build.
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=370
2025-08-26 12:21:16 +00:00
b755992f2a Accepting request 1299767 from server:database
- Update to version 3.50.4:
  * Fix two long-standings cases of the use of uninitialized
    variables in obscure circumstances.

OBS-URL: https://build.opensuse.org/request/show/1299767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=167
2025-08-16 18:37:04 +00:00
400dc4d616 - Update to version 3.50.4:
* Fix two long-standings cases of the use of uninitialized
    variables in obscure circumstances.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=368
2025-08-11 16:21:07 +00:00
6 changed files with 115 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bdbd4e47d52c64c7acc332d1294aa67ad6251ef370abeb0b086ee0cbec91186d
size 11390337

3
sqlite-doc-3510200.zip Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6e30d07c5e9c126901c54d8d7c90a9c1a37078245517f060b3c69c4de43bf5d
size 11620595

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:119862654b36e252ac5f8add2b3d41ba03f4f387b48eb024956c36ea91012d3f
size 14393097

3
sqlite-src-3510200.zip Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:85110f762d5079414d99dd5d7917bc3ff7e05876e6ccbd13d8496a3817f20829
size 14202690

View File

@@ -1,10 +1,109 @@
-------------------------------------------------------------------
Thu Jan 22 12:57:58 UTC 2026 - Reinhard Max <max@suse.com>
- Update to version 3.51.2:
* Fix an obscure deadlock in the new broken-posix-lock detection
logic.
* Fix multiple problems in the EXISTS-to-JOIN optimization.
* Other minor bug fixes.
-------------------------------------------------------------------
Fri Nov 28 20:49:24 UTC 2025 - Reinhard Max <max@suse.com>
- Update to version 3.51.1:
* Fix incorrect results from nested EXISTS queries caused by the
optimization in item 6b in the 3.51.0 release.
* Fix a latent bug in fts5vocab virtual table, exposed by new
optimizations in the 3.51.0 release
- Changes in version 3.51.0:
* New macros in sqlite3.h:
- SQLITE_SCM_BRANCH → the name of the branch from which the
source code is taken.
- SQLITE_SCM_TAGS → space-separated list of tags on the source
code check-in.
- SQLITE_SCM_DATETIME → ISO-8601 date and time of the source
code check-in.
* Two new JSON functions, jsonb_each() and jsonb_tree() work the
same as the existing json_each() and json_tree() functions
except that they return JSONB for the "value" column when the
"type" is 'array' or 'object'.
* The carray and percentile extensions are now built into the
amalgamation, though they are disabled by default and must be
activated at compile-time using the -DSQLITE_ENABLE_CARRAY
and/or -DSQLITE_ENABLE_PERCENTILE options, respectively.
* Enhancements to TCL Interface:
- Add the -asdict flag to the eval command to have it set the
row data as a dict instead of an array.
- User-defined functions may now break to return an SQL NULL.
* CLI enhancements:
- Increase the precision of ".timer" to microseconds.
- Enhance the "box" and "column" formatting modes to deal with
double-wide characters.
- The ".imposter" command provides read-only imposter tables
that work with VACUUM and do not require the --unsafe-testing
option.
- Add the --ifexists option to the CLI command-line option and
to the .open command.
- Limit columns widths set by the ".width" command to 30,000 or
less, as there is not good reason to have wider columns, but
supporting wider columns provides opportunity to malefactors.
* Performance enhancements:
- Use fewer CPU cycles to commit a read transaction.
- Early detection of joins that return no rows due to one or
more of the tables containing no rows.
- Avoid evaluation of scalar subqueries if the result of the
subquery does not change the result of the overall expression.
- Faster window function queries when using
"BETWEEN :x FOLLOWING AND :y FOLLOWING" with a large :y.
* Add the PRAGMA wal_checkpoint=NOOP; command and the
SQLITE_CHECKPOINT_NOOP argument for sqlite3_wal_checkpoint_v2().
* Add the sqlite3_set_errmsg() API for use by extensions.
* Add the sqlite3_db_status64() API, which works just like the
existing sqlite3_db_status() API except that it returns 64-bit
results.
* Add the SQLITE_DBSTATUS_TEMPBUF_SPILL option to the
sqlite3_db_status() and sqlite3_db_status64() interfaces.
* In the session extension add the sqlite3changeset_apply_v3()
interface.
* For the built-in printf() and the format() SQL function, omit
the leading '-' from negative floating point numbers if the '+'
flag is omitted and the "#" flag is present and all displayed
digits are '0'. Use '%#f' or similar to avoid outputs like
'-0.00' and instead show just '0.00'.
* Improved error messages generated by FTS5.
* Enforce STRICT typing on computed columns.
* Improved support for VxWorks
* JavaScript/WASM now supports 64-bit WASM. The canonical builds
continue to be 32-bit but creating one's own 64-bit build is
now as simple as running "make".
* Improved resistance to database corruption caused by an
application breaking Posix advisory locks using close().
-------------------------------------------------------------------
Tue Oct 21 08:30:42 UTC 2025 - Reinhard Max <max@suse.com>
- bsc#1252217: Add a %license file.
-------------------------------------------------------------------
Tue Aug 26 12:14:27 UTC 2025 - Reinhard Max <max@suse.com>
- bsc#1248586: Fix icu-enabled build.
-------------------------------------------------------------------
Mon Aug 11 16:04:48 UTC 2025 - Reinhard Max <max@suse.com>
- Update to version 3.50.4:
* Fix two long-standings cases of the use of uninitialized
variables in obscure circumstances.
-------------------------------------------------------------------
Thu Jul 17 16:17:25 UTC 2025 - Reinhard Max <max@suse.com>
- Update to version 3.50.3:
* Fix a possible memory error that can occur if a query is made
against against FTS5 index that has been deliberately corrupted
in a very specific way.
in a very specific way (CVE-2025-7709, bsc#1254670).
* Fix the parser so that it ignored SQL comments in all places of
a CREATE TRIGGER statement. This resolves a problem that was
introduced by the introduction of the

View File

@@ -1,7 +1,7 @@
#
# spec file for package sqlite3
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -19,12 +19,12 @@
%define _buildshell /bin/bash
%define oname sqlite
%define tarversion 3500300
%define docversion 3500300
%define tarversion 3510200
%define docversion 3510200
%bcond_with icu
%bcond_without check
Name: sqlite3
Version: 3.50.3
Version: 3.51.2
Release: 0
Summary: Embeddable SQL Database Engine
License: SUSE-Public-Domain
@@ -173,9 +173,6 @@ export CFLAGS="%{optflags} \
-DSQLITE_ENABLE_FTS3 \
-DSQLITE_ENABLE_FTS4 \
-DSQLITE_ENABLE_FTS5 \
%if %{with icu}
-DSQLITE_ENABLE_ICU \
%endif
-DSQLITE_ENABLE_JSON1 \
-DSQLITE_ENABLE_RBU \
-DSQLITE_ENABLE_RTREE \
@@ -195,6 +192,10 @@ export CFLAGS="%{optflags} \
--enable-fts5 \
--enable-update-limit \
--enable-rtree \
%if %{with icu}
--icu-collations \
--with-icu-config=/usr/bin/icu-config \
%endif
--enable-session
%make_build sqlite3.c
%make_build
@@ -207,7 +208,6 @@ export CFLAGS="%{optflags} \
%install
%make_install
install -Dpvm 0644 -t %{buildroot}/%{_mandir}/man1 sqlite3.1
install -Dpvm 0644 -t %{buildroot}/%{_mandir}/mann autoconf/tea/doc/sqlite3.n
install -Dpvm 0755 -t %{buildroot}%{_bindir} lemon
install -Dpvm 0644 -t %{buildroot}%{_datadir}/lemon tool/lempar.c
# tcl bindings are provided by tcl itself
@@ -217,6 +217,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%ldconfig_scriptlets -n libsqlite3-0
%files
%license LICENSE.md
%{_bindir}/sqlite3
%{_mandir}/man1/sqlite3.1%{?ext_man}
@@ -231,7 +232,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files tcl
%tcl_archdir/*
%doc %_mandir/mann/*
%files doc
%doc sqlite-doc-%{docversion}/*