From patchwork Sat Oct 17 15:35:49 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10398 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4j6QrF1rm6z3x5V for ; Sat, 17 Oct 2026 15:35:57 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4j6QrF140bz7CY for ; Sat, 17 Oct 2026 15:35:57 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4j6QrF0Kfvz2ymW for ; Sat, 17 Oct 2026 15:35:57 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4j6QrB2hkBz2yBs for ; Sat, 17 Oct 2026 15:35:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4j6Qr94FVJz1TJ; Sat, 17 Oct 2026 15:35:53 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1792251353; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=nMhi56DpO+EG121y9xLtT/L84tDXEKRltnlI5WWxo14=; b=YKJ7F7mI8SulCPmSlk4zTgByieNhjeW05V5H20K3Ij8VmDe2fh1IRrSQNWK0y7psoDijn8 +Owi66U98CIBbJBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1792251353; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=nMhi56DpO+EG121y9xLtT/L84tDXEKRltnlI5WWxo14=; b=YwFie6y0v8ZGdEouLep/HgsC0l6SsKpBjRuZfvFUZ6ZTkYbHNQnR6Shwogj+Hl4JisyMrd evEUX7Tjf7MePIAeE3+Kf2o+oDIrmo54Gp2Tp2FQP0eLu2esi7W4SU/mb0rikXV2aGS7Rq YC3kgV5GsLeGfNxSjEiyChI8wJ9X4dA9TpqkH2SLvNNiZ2f65J+6LZGq0es8kXo/POPvps 7taFKjpTAglmOO3pyCLXGWEmSf9NBYXjK+BKoCuxGSBAGdjsSi0BARM4WWWSBfMm9bYfxL dINZxaR0Z0aDCis0iWSIBo16msyIY/9bGuQ6fjBBiPC/rXEywuqPqUw8pRk8SA== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH v2] sqlite: Update to version 3540100 Date: Sat, 17 Oct 2026 17:35:49 +0200 Message-ID: <20261017153549.3333294-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - This v2 version includes the 3540100 update - Update from version 3530400 to 3540100 - Update to rootfile - Changelog 3540100 Fix a possible heap-buffer overflow on 32-bit builds. (64-bit builds are not affected by this problem.) Fixes other problems in 3.54.0 reported by users. See the check-in timeline for details. 3540000 CLI enhancements: CLI prompt strings may contain escape sequences that expand to show state information. The initial CLI prompt is now be initialized the values of the SQLITE_PS1 and SQLITE_PS2 environment variables, if those variables exist. The default CLI prompt has been enhanced to take advantage of the new escape sequences described in the previous. For columnar output modes, the CLI now shows the column name header by default even if the query returns no rows. Use the new diskused() extension to implement the ".diskused" dot-command. The replaces the separate sqlite3_analyzer utility program, which is now deprecated. On unix, the CLI preserves zero bytes when outputing unformatted BLOB values. Enhance the .mode command with new options "--rowcount on" and "--titles always". The "--titles always" is now the default behavior (see item 3a above). Legacy behavior can be restored using "-titles on". Enhance the .mode command with the new --ifmt option and --fpfmt option that allow the rendering of integer and floating-point values to be more precisely controlled using a printf-style format string. The -csv command-line option automatically disables display limits, for legacy compatibility. The default CLI prompt honors the NO_COLOR environment variable. The ability to end an SQL command using the line that contains just "go" or "/" (for compatibility with SQL Server and Oracle, respectively) is discontinued, unless the CLI is compiled with option -DSQLITE_SHELL_LEGACY_COMMAND_TERMINATOR. Query planner improvements: When doing an UPDATE on a table that has expression indexes, do not change the expression index if the value being indexed is unchanged. Improved optimization of "expr OR TRUE" and "expr OR FALSE". Ignore DISTINCT in the SELECT statement on the right-hand side of an IN operator. UNION queries with a LIMIT of exactly 1 are now handled faster and with less memory. The ALTER TABLE command raises an error on any attempt to add, drop, or rename columns with the special names "ROWID", "_ROWID_", or "OID". Add the diskused() SQL function as an optional extension. Added the %J and %j conversions used to render JSON string literals to the built-in printf() and the format() SQL function. Add the sqlite3_result_str() interface and use it internally to simplify the code. Add the sqlite3_incomplete() interface and use it as part of the newly enhanced CLI prompt string management. Enhancements to date/time functions: Added the "weekday -N" form of the weekday modifier. Added the end of modifier. Use O_TMPFILE when generating temporary files, on systems that support that feature. Drop support for WindowsXP and earlier Windows versions, including WindowsCE. SQLite for Windows now requires Windows Vista (circa 2007) or later. Improve performance by using Slim Reader/Writer Locks (SRWLs) to implement non-recursive mutexes, instead of CriticalSection, since all supported Windows platforms now provide SRWLs. Use the -DSQLITE_UWP=1 compile-time option for UWP and WebUI applications. To be clear: This changes above only affects SQLite on Windows. Builds for Linux, Mac, BSD, and other unix variants are unaffected. The authorizer callback is now invoked for SQL functions found in the DEFAULT clauses of CREATE TABLE statements. This happens both when the CREATE TABLE statement is first issued and when the DEFAULT value is actually used, but not when reading the schema while opening a database. Added SQLITE_LIMIT_SCHEMA and SQLITE_LIMIT_TRIGGER_STEPS to the sqlite3_limit() interface. About 4% faster, as measured by counting CPU cycles in the speedtest1 preformance benchmark using valgrind on Linux x64. About 7.5% faster compared to one year ago (version 3.51.0). Your mileage may vary depending on workload, build options, CPU, compiler, and operating system. Signed-off-by: Adolf Belka --- config/rootfiles/common/sqlite | 2 +- lfs/sqlite | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/common/sqlite b/config/rootfiles/common/sqlite index 3b430d178..05344c1fd 100644 --- a/config/rootfiles/common/sqlite +++ b/config/rootfiles/common/sqlite @@ -3,6 +3,6 @@ usr/bin/sqlite3 #usr/include/sqlite3ext.h usr/lib/libsqlite3.so usr/lib/libsqlite3.so.0 -usr/lib/libsqlite3.so.3.53.4 +usr/lib/libsqlite3.so.3.54.1 #usr/lib/pkgconfig/sqlite3.pc #usr/share/man/man1/sqlite3.1 diff --git a/lfs/sqlite b/lfs/sqlite index 6498e84be..81f06b4a7 100644 --- a/lfs/sqlite +++ b/lfs/sqlite @@ -24,7 +24,7 @@ include Config -VER = 3530400 +VER = 3540100 THISAPP = sqlite-autoconf-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 92fa9cf76fa8bba391e75ef2f0599f9730e945dfdff1e2b8031ea90a3e20853230c2981743b12676f21bb30b0b3e629748eef35af2a688ae1073b927b080f40b +$(DL_FILE)_BLAKE2 = 9e57ff292127dfa3cb20e97849d2bf9acb1b59a596c6446b0b9df1e6ca8c8c8e97650c528388d4829fde7037be5bdc0f5dbc6627ca0d13c700fed7b9ca33dee5 install : $(TARGET)