Closed
Bug 1898529
(SQLite3.46.0)
Opened 8 months ago
Closed 8 months ago
Upgrade to SQLite 3.46.0
Categories
(Core :: SQLite and Embedded Database Bindings, task)
Core
SQLite and Embedded Database Bindings
Tracking
()
RESOLVED
FIXED
128 Branch
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: RyanVM, Assigned: RyanVM)
References
()
Details
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1858473 +++
Changes in version 3.46.0 (2024-05-23):
- 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.
Assignee | ||
Comment 1•8 months ago
|
||
Assignee | ||
Comment 2•8 months ago
|
||
Pushed by rvandermeulen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b54f6eb84dfd
Upgrade to SQLite 3.46.0. r=mak
Comment 4•8 months ago
|
||
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.
This is fantastic to hear! We use the VALUES
trick quite a bit in Sync code.
Comment 5•8 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 months ago
status-firefox128:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Assignee | ||
Updated•7 months ago
|
Alias: SQLite3.46.0
Assignee | ||
Updated•5 months ago
|
Blocks: SQLite3.46.1
Updated•5 months ago
|
Product: Toolkit → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•