Files
bpfire/lfs/sqlite
Adolf Belka c3ff185550 sqlite: Update to version 3.46.0
- Update from version 3.45.3 to 3.46.0
- Update of rootfile not required
- Changelog
    3.46.0
	Enhance PRAGMA optimize in multiple ways, to make it simpler to use:
	    PRAGMA optimize automatically implements a temporary analysis limit to prevent
	     excess runtime on large databases.
	    Added the new 0x10000 bitmask option to check for updates on all tables.
	    Automatically re-analyze tables that do not have sqlite_stat1 entries.
	Enhancements to the date and time functions:
	    The strftime() SQL function now supports %G, %g, %U, and %V.
	    New modifiers 'ceiling' and 'floor' control the algorithm used to resolve
	     ambiguous dates when shifting a date by an integer number of months and/or
	     years.
	    The 'utc' and 'localtime' modifiers are now no-ops if SQLite knows that the
	     time is already in UTC or in the localtime, respectively.
	Add support for underscore ("_") characters between digits in numeric literals.
	Add the json_pretty() SQL function.
	Query planner improvements:
	    The "VALUES-as-coroutine" optimization enables INSERT statements with
	     thousands of rows in the VALUES clause to parse and run in about half the
	     time and using about half as much memory.
	    Allow the use of an index for queries like
	     "SELECT count(DISTINCT col) FROM ...", even if the index records are not
	     smaller than the table records.
	    Improved recognition of cases where the value of an SQL function is constant
	     because all its arguments are constant.
	    Enhance the WHERE-clause push-down optimization so that it is able to push
	     down WHERE clause terms containing uncorrelated subqueries.
	Allocate additional memory from the heap for the SQL parser stack if that stack
	 overflows, rather than reporting a "parser stack overflow" error.
	JSON changes:
	    Allow ASCII control characters within JSON5 string literals.
	    Fix the -> and ->> operators so that when the right-hand side operand is a
	     string that looks like an integer it is still treated as a string, because
	     that is what PostgreSQL does.
	Allow large hexadecimal literals to be used as the DEFAULT value to a table column.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-06-27 15:53:41 +02:00

80 lines
3.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 3460000
THISAPP = sqlite-autoconf-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 2f484823b84ab758e21960ac6b730cefa62c26f7ccf5344299a26e6f559d0e02cfd4cff5f5921effdee6e2e49d2ab36b1f91cffdd8599bc2189efab44bf4b197
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(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
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)