Skip to content

Bumped bundled SQLite from 3.53.0 to 3.53.1#24

Merged
gms1 merged 2 commits into
mainfrom
feature/bump_sqlite_3.53.0_3.53.1
May 10, 2026
Merged

Bumped bundled SQLite from 3.53.0 to 3.53.1#24
gms1 merged 2 commits into
mainfrom
feature/bump_sqlite_3.53.0_3.53.1

Conversation

@gms1
Copy link
Copy Markdown
Owner

@gms1 gms1 commented May 10, 2026

Summary by CodeRabbit

  • Chores
    • Updated bundled SQLite database engine from version 3.53.0 to 3.53.1 for improved performance and reliability.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 10, 2026

Warning

Rate limit exceeded

@gms1 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 45 minutes and 51 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8642d55f-9f21-4aee-8703-b5a691162d62

📥 Commits

Reviewing files that changed from the base of the PR and between 74300b9 and f4b839c.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • tools/bin/bump-sqlite.sh
📝 Walkthrough

Walkthrough

This PR upgrades the bundled SQLite from v3.53.0 to v3.53.1. The changes include version metadata updates across build config and headers, internal engine improvements to string handling and query optimization, session encoding fixes, database deserialization preconditions, shell recovery refactoring, and supporting CLI enhancements.

Changes

SQLite 3.53.1 Upgrade

Layer / File(s) Summary
Version & Build Configuration
deps/sqlite-amalgamation-3530100/sqlite3.h, deps/sqlite-amalgamation-3530100/sqlite3.c, deps/common-sqlite.gypi
Version macros and build variables updated from 3.53.0 to 3.53.1; includes SQLITE_VERSION, SQLITE_VERSION_NUMBER, SQLITE_SOURCE_ID, SCM branch/tags/datetime, and GYP sqlite_version%.
Core Engine: String & Memory Handling
deps/sqlite-amalgamation-3530100/sqlite3.c
String accumulation buffer allocation changed to use sqlite3_malloc() path; introduced zExtra fallback mechanism for cases where output cannot fit directly in accumulator buffer; sqlite3_str_free() now guards against freeing the OomStr sentinel.
RISC-V Architecture Support
deps/sqlite-amalgamation-3530100/sqlite3.c
SQLITE_USE_UINT128 compile-time condition refined to restrict RISC-V to __riscv_xlen>32; added #undef directive after guarded code block.
Database Deserialization & In-Memory Databases
deps/sqlite-amalgamation-3530100/sqlite3.c
sqlite3_deserialize() statement finalization sequence reordered; added precondition check for active btree transactions or backup state returning SQLITE_BUSY; updated memdb close and btree/schema assignment logic.
Query Planner Optimizations
deps/sqlite-amalgamation-3530100/sqlite3.c
Tightened pLimit structural validation; refactored OR-optimization loop to handle fromExists flag and clear it on optimized entries; added EXISTS-to-JOIN early-exit mechanism; added sqlite3ExprSetHeightAndFlags() call after BETWEEN expression construction.
Session & Varint Encoding
deps/sqlite-amalgamation-3530100/sqlite3.c
Session varint size computation updated for TEXT/BLOB handling; record iteration for primary-key-only paths refactored to consume type bytes conditionally; corruption detection tightened in session input parsing to treat unexpected type codes as SQLITE_CORRUPT_BKPT; fts5 result string updated with new source ID.
Shell: Recovery Mechanism Refactoring
deps/sqlite-amalgamation-3530100/shell.c
New recoverOneStmt() helper introduced to execute single SQL statements via prepare/step/finalize; recoverExec() refactored to delegate to recoverOneStmt() instead of sqlite3_exec(); multi-statement sequences split into separate calls; schema selection tightened with sql GLOB 'CREATE *' constraints.
Shell: Transaction & CLI Improvements
deps/sqlite-amalgamation-3530100/shell.c
Transaction control (ROLLBACK, END) updated to use recoverOneStmt(); .headers help text formatting improved; CLI option recognition switched to sqlite3_strglob() pattern matching; SQL error prefix buffer enlarged from 100 to 2048 bytes; sqlite3_auto_extension cast updated to (void (*)(void)); early rc-based exit added in main command loop.
Documentation
README.md
Features section updated to indicate SQLite v3.53.1 bundle.

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately and concisely summarizes the main change: bumping the bundled SQLite version from 3.53.0 to 3.53.1, which aligns with all file modifications in the changeset.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (92d2fca) to head (f4b839c).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          344       344           
=========================================
  Hits           344       344           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gms1 gms1 merged commit e8daf09 into main May 10, 2026
30 checks passed
@gms1 gms1 deleted the feature/bump_sqlite_3.53.0_3.53.1 branch May 10, 2026 06:54
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.

1 participant