Skip to content

Update SQLite to version 3.54.0 - #102

Merged
sbooth merged 1 commit into
mainfrom
sqlite-3.54.0
Oct 14, 2026
Merged

sbooth merged 1 commit into
mainfrom
sqlite-3.54.0

Conversation

@sbooth

@sbooth sbooth commented Oct 9, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI balanced review requested due to automatic review settings October 9, 2026 21:48

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.

🟡 Changes recommended

The recursion guard ignores allocation failure, and the new NULL-input contract is unsafe in the default build.

3 open findings
What changed in this PR

Updates bundled SQLite interfaces and extensions for version 3.54.0.

Changes:

  • Adds new SQLite APIs, limits, and extension ABI entries.
  • Hardens UUID, SHA-3, and decimal extensions.
  • Refreshes public API documentation.
File Description
Sources/​CSQLite/​uuid.c Handles null UUID strings.
Sources/​CSQLite/​shathree.c Detects recursive SHA-3 queries.
Sources/​CSQLite/​include/​sqlite3ext.h Updates extension ABI definitions.
Sources/​CSQLite/​include/​sqlite3.h Publishes SQLite 3.54.0 APIs and documentation.
Sources/​CSQLite/​decimal.c Expands decimal result allocation.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

** The [sqlite3_incomplete(X)] routine is similar to [sqlite3_complete(X)]
** except that sqlite3_incomplete(X) returns SQLITE_OK if the input X is
** complete, SQLITE_EMPTY if input X consists entirely of whitespace and/or
** comments, SQLITE_MISUSE if X is a NULL pointer, and some other non-zero
}

/* Compute a hash over the result of the query */
sqlite3_set_clientdata(db, "sha3_query()", &isRecursive, 0);
** If the F argument is SQLITE_XFER, then ownership of the content
** in the dynamic is transferred to the SQL function (via a pointer copy
** rather than a string copy) and the dynamic string is reset to an
** empty string. The SQLITE_FINISH value for F works like SQLITE_RESET
@sbooth
sbooth merged commit 52d910d into main Oct 14, 2026
2 checks passed
@sbooth
sbooth deleted the sqlite-3.54.0 branch October 14, 2026 00:17
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