Skip to content

feat(sqlite): support automatic_index and cache_spill pragmas - #1460

Merged
gotson merged 1 commit into
xerial:masterfrom
AzazelSensei:feat-472-automatic-index-cache-spill
Sep 1, 2026
Merged

feat(sqlite): support automatic_index and cache_spill pragmas#1460
gotson merged 1 commit into
xerial:masterfrom
AzazelSensei:feat-472-automatic-index-cache-spill

Conversation

@AzazelSensei

Copy link
Copy Markdown
Contributor

SQLiteConfig dropped automatic_index and cache_spill because they were not in the Pragma list, so a JDBC URL like ?automatic_index=OFF did nothing.

I added both pragmas, helpers on SQLiteConfig / SQLiteDataSource, and a URI test that checks PRAGMA automatic_index and PRAGMA cache_spill.

Closes #472

SQLiteConfig ignored these connection properties because they were not
in the Pragma enum. They can now be set from the JDBC URL, properties,
or the new helpers.
@AzazelSensei AzazelSensei mentioned this pull request Sep 1, 2026
@gotson gotson changed the title Add automatic_index and cache_spill pragmas #472 feat(sqlite): support automatic_index and cache_spill pragmas Sep 1, 2026
@gotson
gotson merged commit 559581a into xerial:master Sep 1, 2026
31 checks passed
@gotson

gotson commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the PR

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 PRAGMA missing

2 participants