From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bBV9w276Lz33y9 for ; Tue, 3 Jun 2025 12:18:44 +0000 (UTC) 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 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bBV9r68H4z342V for ; Tue, 3 Jun 2025 12:18:40 +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 4bBV9r4h6gz2kJ; Tue, 3 Jun 2025 12:18:40 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1748953120; 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: in-reply-to:in-reply-to:references:references; bh=ZvfyexdFX7PS21FqGQT7FmUebKr9CXjymyrz1vyYxew=; b=XqEMKDjzx1mS7/zCA8kf5C8+INGG4WAGfz9Ka/I6RBEOsqS4B9LyetEIZMjHz9Hivfnq1h NERedRzrTYgVDADQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1748953120; 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: in-reply-to:in-reply-to:references:references; bh=ZvfyexdFX7PS21FqGQT7FmUebKr9CXjymyrz1vyYxew=; b=cAwxtcYCzXKSFPB/UWJmffz8zmp4bhSEuZO+Ja/Bf3svJPX2N8CF0E2NlHoq6Y+mQM/iXo XDnDqdQkJQCm2DYLYa1y6cUlb98kp6PrkNPrLNUOmLpJzmcoBNW2MfhiA6q5EPSVfvjOtV /L+3Pu+RKlv9JM61jAXYKnd/fJZQ9H+pc/SH+ob2KYoN9bfts5Z6QbRG7kFjBpomL40huH 48PArYzrlSzD2tGvvTSpJDdBJ2DBCuCL7McRMzee8o9KYV482oZK2u5+sVObOhP2g4J0B5 Rp9kQiGkrZw3xS13hvZJQxDoFMQVwDvD6B8oOQ0VCo2lGVcZzCIepdTgZkcxKQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] sqlite: Update to version 3.50.0 Date: Tue, 3 Jun 2025 14:18:35 +0200 Message-ID: <20250603121835.3299551-5-adolf.belka@ipfire.org> In-Reply-To: <20250603121835.3299551-1-adolf.belka@ipfire.org> References: <20250603121835.3299551-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 Content-Transfer-Encoding: 8bit - 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 --- config/rootfiles/common/sqlite | 2 +- lfs/sqlite | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/rootfiles/common/sqlite b/config/rootfiles/common/sqlite index 1408c1879..d6e4926cb 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.49.2 +usr/lib/libsqlite3.so.3.50.0 #usr/lib/pkgconfig/sqlite3.pc #usr/share/man/man1/sqlite3.1 diff --git a/lfs/sqlite b/lfs/sqlite index ed23e9529..76f70bc48 100644 --- a/lfs/sqlite +++ b/lfs/sqlite @@ -24,7 +24,7 @@ include Config -VER = 3490200 +VER = 3500000 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 = 588e881e986c618d7321546a5b236fe68371898295d80ff54f8d7037e5ae28d5384808f85e395e3467aa3494f84234709a1e9310277d6f0866e4c750f04c2fbb +$(DL_FILE)_BLAKE2 = 11d904d09030a1f8641fa322100c65adff1ac9b1363003d953cc2ad1c79d6dd02cf3d4a02710808ca2f0e5a04cbb10e5df814a180d133804ccd7cc47a57c0182 install : $(TARGET) @@ -71,8 +71,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && ./configure \ - --prefix=/usr \ - --disable-static + --prefix=/usr \ + --disable-static cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP) -- 2.49.0