Skip to content

Update SQLite to version 3.53.2#96

Merged
sbooth merged 1 commit into
mainfrom
sqlite-3.53.2
Jun 5, 2026
Merged

Update SQLite to version 3.53.2#96
sbooth merged 1 commit into
mainfrom
sqlite-3.53.2

Conversation

@sbooth

@sbooth sbooth commented Jun 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 4, 2026 03:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the vendored SQLite sources in CSQLite to upstream SQLite 3.53.2, aligning the amalgamation (sqlite3.c) and public header (sqlite3.h) version metadata and incorporating upstream fixes/changes across the core and extensions.

Changes:

  • Bump SQLite version macros/source identifiers to 3.53.2 in both the amalgamation and public header.
  • Pull in upstream SQLite 3.53.2 amalgamation changes (session/changeset apply behavior updates, robustness/corruption checks, JSON/FTS/rtree fixes, etc.).
  • Update the series extension edge-case handling for float boundary computations.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
Sources/CSQLite/sqlite3.c Upstream 3.53.2 amalgamation refresh + new constants and many internal fixes/robustness changes.
Sources/CSQLite/series.c Adjust float-to-int boundary math for value >/>= X and value </<= X constraints.
Sources/CSQLite/include/sqlite3.h Update public version macros and add the new SQLITE_CHANGESETAPPLY_NOUPDATELOOP flag constant/docs.
Comments suppressed due to low confidence (1)

Sources/CSQLite/sqlite3.c:53428

  • In winShmMap(), iOffset was changed to i64, but the subsequent OSTRACE() call still uses the "%d" format specifier for offset. This is a varargs type mismatch and can cause undefined behavior (especially on 64-bit builds) when tracing is enabled.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sbooth sbooth merged commit fddbb67 into main Jun 5, 2026
2 checks passed
@sbooth sbooth deleted the sqlite-3.53.2 branch June 5, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants