Bump vendored SQLite 3.42.0 → 3.53.2#8
Merged
Conversation
Replace sqlite3.c/.h, sqlite3ext.h and shell.c with the upstream 3.53.2 amalgamation (2026-06-03) and re-apply the three local amalgamation patches: - guard <sys/statfs.h> out on macOS - enable the flock VFS via SQLITE_ENABLE_FLOCK (4 sites) - dlopen with RTLD_LOCAL | RTLD_DEEPBIND Local validation: clean CMake build, C unit tests pass, 155/155 Python correctness tests pass, CLI reports sqlite_version() = 3.53.2. Local ASan is unavailable on this Apple-Silicon Mac (re-entrant deadlock in the libclang_rt ASan runtime init, before main); ASan/valgrind deferred to CI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the vendored SQLite amalgamation from 3.42.0 (2023-05-16) to 3.53.2 (2026-06-03) — ~4 years / 11 minor versions of upstream fixes and query-planner improvements.
What changed
sqlite3.c,sqlite3.h,sqlite3ext.h,shell.cwith the upstream 3.53.2 amalgamation.<sys/statfs.h>out on macOSSQLITE_ENABLE_FLOCK(4 sites)dlopenwithRTLD_LOCAL | RTLD_DEEPBINDLocal validation
ctest) passsqlite_version()=3.53.2, extension loadslibclang_rtASan runtime init (spins beforemain; unrelated to this change). Thec-asanandc-valgrindjobs run on ubuntu-latest and cover it.Notes
SQLITE_ENABLE_FLOCKis defined (downstream Shards/iOS builds).