Skip to content

Commit 1744610

Browse files
authored
Merge pull request #42 from jlmjanssen/release/v3.46.0
Release/v3.46.0
2 parents 1c32a94 + bafab49 commit 1744610

File tree

5 files changed

+6881
-3651
lines changed

5 files changed

+6881
-3651
lines changed

source/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Changelog
22

3+
## SQLite Release 3.46.0 On 2024-05-23
4+
5+
1. Enhance PRAGMA optimize in multiple ways, to make it simpler to use:
6+
1. PRAGMA optimize automatically implements a temporary analysis limit to prevent excess runtime on large databases.
7+
2. Added the new 0x10000 bitmask option to check for updates on all tables.
8+
3. Automatically re-analyze tables that do not have sqlite_stat1 entries.
9+
2. Enhancements to the date and time functions:
10+
1. The strftime() SQL function now supports %G, %g, %U, and %V.
11+
2. 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.
12+
3. The 'utc' and 'localtime' modifiers are now no-ops if SQLite knows that the time is already in UTC or in the localtime, respectively.
13+
3. Add support for underscore ("_") characters between digits in numeric literals.
14+
4. Add the json_pretty() SQL function.
15+
5. Query planner improvements:
16+
1. 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.
17+
2. 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.
18+
3. Improved recognition of cases where the value of an SQL function is constant because all its arguments are constant.
19+
3. Enhance the WHERE-clause push-down optimization so that it is able to push down WHERE clause terms containing uncorrelated subqueries.
20+
6. Allocate additional memory from the heap for the SQL parser stack if that stack overflows, rather than reporting a "parser stack overflow" error.
21+
7. JSON changes:
22+
1. Allow ASCII control characters within JSON5 string literals.
23+
2. 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.
24+
8. Allow large hexadecimal literals to be used as the DEFAULT value to a table column.
25+
326
## SQLite Release 3.45.3 On 2024-04-15
427

528
1. Fix a long-standing bug (going back to version 3.24.0) that might (rarely) cause the "old.*" values of an UPDATE trigger to be incorrect if that trigger fires in response to an UPSERT. Forum post 284955a3cd454a15.

source/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
Download: https://sqlite.org/2024/sqlite-amalgamation-3450300.zip
1+
Download: https://sqlite.org/2024/sqlite-amalgamation-3460000.zip
22

33
```
4-
Archive: sqlite-amalgamation-3450300.zip
4+
Archive: sqlite-amalgamation-3460000.zip
55
Length Method Size Cmpr Date Time CRC-32 Name
66
-------- ------ ------- ---- ---------- ----- -------- ----
7-
0 Stored 0 0% 2024-04-15 15:46 00000000 sqlite-amalgamation-3450300/
8-
9027389 Defl:N 2324116 74% 2024-04-15 15:46 be0e77e7 sqlite-amalgamation-3450300/sqlite3.c
9-
912165 Defl:N 236076 74% 2024-04-15 15:46 722a18fe sqlite-amalgamation-3450300/shell.c
10-
641889 Defl:N 166136 74% 2024-04-15 15:46 0f3e31e0 sqlite-amalgamation-3450300/sqlite3.h
11-
38149 Defl:N 6615 83% 2024-04-15 15:46 c5ea7fc8 sqlite-amalgamation-3450300/sqlite3ext.h
7+
0 Stored 0 0% 2024-05-23 15:51 00000000 sqlite-amalgamation-3460000/
8+
9089040 Defl:N 2341603 74% 2024-05-23 15:51 89547100 sqlite-amalgamation-3460000/sqlite3.c
9+
957898 Defl:N 247821 74% 2024-05-23 15:51 291389cf sqlite-amalgamation-3460000/shell.c
10+
644069 Defl:N 166685 74% 2024-05-23 15:51 fc181678 sqlite-amalgamation-3460000/sqlite3.h
11+
38149 Defl:N 6615 83% 2024-05-23 15:51 c5ea7fc8 sqlite-amalgamation-3460000/sqlite3ext.h
1212
-------- ------- --- -------
13-
10619592 2732943 74% 5 files
13+
10729156 2762724 74% 5 files
1414
```

0 commit comments

Comments
 (0)