]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commit
sqlite: Update to version 3.50.0
authorAdolf Belka <adolf.belka@ipfire.org>
Tue, 3 Jun 2025 12:18:35 +0000 (14:18 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Jun 2025 14:43:49 +0000 (14:43 +0000)
commitc241e00f3b0bc885d04d8c0350249e28556f1a52
tree54dca98e5272d7fcd2b259fc8614c75c40ccdc48
parent1eaafb19e85615592596d7f9f6f28dd18001524e
sqlite: Update to version 3.50.0

- Update from version 3.49.2 to 3.50.0
- Update of rootfile
- Changelog
    3.50.0
Add the sqlite3_setlk_timeout() interface which sets a separate timeout,
 distinct from the sqlite3_busy_timeout(), for blocking locks on builds that
 support blocking locks.
The SQLITE_DBCONFIG_ENABLE_COMMENTS constraint (added in the previous release)
 is relaxed slightly so that comments are always allowed when reading the
 schema out of a pre-existing sqlite_schema table. Comments are only blocked
 in new SQL.
New SQL functions:
    unistr()
    unistr_quote()
For the %Q and %q conversions in the built-in printf() (which covers the
 sqlite3_mprintf() API and the format() SQL function and similar) the
 alternate-form-1 flag ("#") causes control characters to be converted into
 backslash-escapes suitable for unistr().
CLI enhancements:
    Avoids direct output of most control characters.
    The output of the .dump command makes use of the new unistr() SQL funtion
     to encode special characters, unless the --escape mode is set to off.
    Better formatting of complex partial indexes in the output from the
     ".schema --indent" command.
Enhancements to sqlite3_rsync:
    The requirement that the database be in WAL mode has been removed.
    The sync protocol is enhanced to use less network bandwidth when both
     sides start out being very similar to one another.
    The sqlite3_rsync program now works on Macs without having to specify the
     full pathname of the sqlite3_rsync executable on the remote side as long
     as you install the sqlite3_rsync executable in one of these directories:
     $HOME/bin:/usr/local/bin:/opt/homebrew/bin
Changes to JSON functions:
    Bug fix: Enforce the JSON5 restriction that the "\0" escape must not be
     followed by a digit.
    Bug fix: When the LABEL argument to json_group_object(LABEL,VALUE) is NULL,
     that element of the resulting object is omitted.
    Optimization: If the jsonb_set() or jsonb_replace() functions make a change
     in the interior of a large JSONB object, they strive to keep the size of
     the JSONB object unchanged and to modify as few bytes as possible on the
     interior of the object. This helps reduce I/O as it allows SQLite to write
     only the page that contains the changed bytes and not all the surrounding
     pages.
Improved support for building on Cygwin and MinGW and similar, as well as Termux.
Typo fixes in the documentation and in the source code comments.
Miscellaneous performance improvements.
JavaScript/WASM:
    Fix a long-standing filename digest calculation bug in the OPFS SAHPool VFS.
     Databases created in that VFS by 3.50.0+ cannot be read by older
     versions of the VFS, but 3.50.0 can backwards-compatibly work with
     existing databases created by older versions.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/sqlite
lfs/sqlite