]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
sqlite: Update to version 3490100
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 19 Feb 2025 13:30:44 +0000 (14:30 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 13:57:09 +0000 (13:57 +0000)
commita994fa4665f6f4e3f1bc04ec27da1a348b9b4003
treef1bb35122fb19eb3ba5a7cfdec42d439c6844c55
parenta62d4e362386f87f8740eb4460d84d5eaf8ce379
sqlite: Update to version 3490100

- Update from version 3470200 to 3490100
- Update of rootfile
- Changelog
    3490100
Improve portability of makefiles and configure scripts.
Fix a bug in the concat_ws() function, introduced in version 3.44.0, that could
 lead to a memory error if the separator string is very large (hundreds of
 megabytes).
Enhanced the SQLITE_DBCONFIG_LOOKASIDE interface to make it more robust against
 misuse.
    3490000
Enhancements to the query planner:
    Improve the query-time index optimization so that it works on WITHOUT ROWID
tables.
    Better query plans for large star-query joins. This fixes three different
performance regressions that were reported on the SQLite Forum.
    When two or more queries have the same estimated cost, use the one with the
fewer bytes per row.
Enhance the iif() SQL function so that it can accept any number of arguments
 greater than or equal to two.
Enhance the session extension so that it works on databases that make use of
 generated columns.
Omit the SQLITE_USE_STDIO_FOR_CONSOLE compile-time option which was not
 implemented correctly and never worked right. In its place add the
 SQLITE_USE_W32_FOR_CONSOLE_IO compile-time option. This option applies to
 command-line tools like the CLI only, not to the SQLite core. It causes Win32
 APIs to be used for console I/O instead of stdio. This option affects Windows
 builds only.
Three new options to sqlite3_db_config(). All default to "on".
    SQLITE_DBCONFIG_ENABLE_ATTACH_CREATE
    SQLITE_DBCONFIG_ENABLE_ATTACH_WRITE
    SQLITE_DBCONFIG_ENABLE_COMMENTS
Replace Autotools with Autosetup for the configure script used in the
 precompiled amalgamation tarball. The configure script for the canonical
 source code was changed to Autosetup in the previous (3.48.0) release. Only
 the main SQLite configure script in the amalgamation tarball is changed. The
 (deprecated) configuration script use by TEA subdirectory of the amalgamation
 tarball still relies on Autotools.
Various minor patches and fixes for problems seen in the 3.48.0 release.
    3480000
Refactor the "configure" script used to help build SQLite from canonical
 sources, to fix bugs, improve performance, and make the code more maintainable.
    This does not affect the "configure" script in the
sqlite3-autoconf-NNNNNNN.tar.gz "amalgamation tarball", only the
canonical sources. The build system for the amalgamation tarball is
unchanged. If you are using the amalgamation tarball, nothing about
this change log entry applies to you.
    The key innovation here is that Autosetup is now used instead of GNU
Autoconf. That seems like a big change, but it is really just an
implementation detail. The ./configure script is coded very
differently, but should work the same as before.
    One advantage of the new configure is that you no longer need to install
TCL in order to build most SQLite targets. TCL is still required to
run tests or to build accessory programs (like sqlite3_analyzer) that
use TCL, but it is not required for most common targets. Hence, as of
this release, the only build dependencies are a C compiler and "make"
or "nmake".
Improved EXPLAIN QUERY PLAN output for covering indexes.
Allow a two-argument version of the iif() SQL function. Also allow if() as an
 alternative spelling for iif().
Add the ".dbtotxt" command to the CLI.
Add the SQLITE_IOCAP_SUBPAGE_READ property to the xDeviceCharacteristics
 method of the sqlite3_io_methods object.
Add the SQLITE_PREPARE_DONT_LOG option to sqlite3_prepare_v3() that prevents
 warning messages being sent to the error log if the SQL is ill-formed. This
 allows sqlite3_prepare_v3() to be used to do test compiles of SQL to check
 for validity without polluting the error log with false messages.
Increase the minimum allowed value of SQLITE_LIMIT_LENGTH from 1 to 30.
Added the SQLITE_FCNTL_NULL_IO file control.
Extend the FTS5 auxiliary API xInstToken() to work with prefix queries via the
 insttoken configuration option and the fts5_insttoken() SQL function.
Increase the maximum number of arguments to an SQL function from 127 to 1000.
Remove vestigial traces of SQLITE_USER_AUTHENTICATION.
Various obscure bug fixes.

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