sqlite: Update to version 3.46.0

Message ID 20240528154144.3777068-2-adolf.belka@ipfire.org
State New
Headers
Series sqlite: Update to version 3.46.0 |

Commit Message

Adolf Belka May 28, 2024, 3:41 p.m. UTC
  - 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>
---
 lfs/sqlite | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Michael Tremer May 29, 2024, 9:11 a.m. UTC | #1
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

> On 28 May 2024, at 16:41, Adolf Belka <adolf.belka@ipfire.org> wrote:
> 
> - 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>
> ---
> lfs/sqlite | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lfs/sqlite b/lfs/sqlite
> index 421e32dd2..d001a5f49 100644
> --- a/lfs/sqlite
> +++ b/lfs/sqlite
> @@ -24,7 +24,7 @@
> 
> include Config
> 
> -VER        = 3450300
> +VER        = 3460000
> 
> 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 = 24e47dcfb8fb1dbd0055d48cfc540884439e9443b1b79700e867326feb60b340a9b5d5bdb83eeca210b47251e61b706ec67eb1b84e59b11bae6c76271b1030bf
> +$(DL_FILE)_BLAKE2 = 2f484823b84ab758e21960ac6b730cefa62c26f7ccf5344299a26e6f559d0e02cfd4cff5f5921effdee6e2e49d2ab36b1f91cffdd8599bc2189efab44bf4b197
> 
> install : $(TARGET)
> 
> -- 
> 2.44.0
>
  

Patch

diff --git a/lfs/sqlite b/lfs/sqlite
index 421e32dd2..d001a5f49 100644
--- a/lfs/sqlite
+++ b/lfs/sqlite
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 3450300
+VER        = 3460000
 
 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 = 24e47dcfb8fb1dbd0055d48cfc540884439e9443b1b79700e867326feb60b340a9b5d5bdb83eeca210b47251e61b706ec67eb1b84e59b11bae6c76271b1030bf
+$(DL_FILE)_BLAKE2 = 2f484823b84ab758e21960ac6b730cefa62c26f7ccf5344299a26e6f559d0e02cfd4cff5f5921effdee6e2e49d2ab36b1f91cffdd8599bc2189efab44bf4b197
 
 install : $(TARGET)