Repository navigation
Update SQLite to version 3.54.0 - #102
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 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 |
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.



No description provided.