Repository navigation
fix: Load the default extensions on HTTP VFS connections - #840
Merged
krlmlr merged 1 commit intoNov 27, 2026
Merged
Conversation
This was referenced Nov 11, 2026
Member
Author
Accepted limitationsThe clean review of the split found nothing in this pull request, and none of the limitations that the reviews of the combined version left concern it. None remain. Generated by Claude Code |
`sqlite3_load_extension()` loads through the connection's VFS, and the HTTP VFS returned no handle from `xDlOpen()`, so `dbConnect()` with the default extensions failed on any remote database with an empty "Failed to load extension:" message. The VFS now delegates `xDlOpen()`, `xDlError()`, `xDlSym()` and `xDlClose()` to the default VFS, as it already does for randomness, sleep and time. The test that opens a remote database with `dbConnect()` no longer passes `default.extensions = FALSE`, so it fails without this fix. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
krlmlr
force-pushed
the
claude/httpvfs-load-extensions
branch
from
November 13, 2026 15:42
a8a25db to
78deb0a
Compare
16 of 22 tasks
krlmlr
pushed a commit
that referenced
this pull request
Nov 27, 2026
Brings in #832, #839, #840, #841 and the workflow sync #912; adds the HTTP VFS fixes to NEWS, and declares rmarkdown as a vignette builder, as #915 does on main. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd6znpbaJUu6TJLjgQC
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.
sqlite3_load_extension()loads through the connection's VFS, and the HTTP VFS returned NULL fromxDlOpen(), sodbConnect()with the default extensions failed with an empty "Failed to load extension:" message on any remote database. The VFS now delegatesxDlOpen(),xDlError(),xDlSym()andxDlClose()to the default VFS, as it already does for randomness, sleep and time.loadable.extensions = FALSEstill refusesload_extension(), since SQLite checks that setting before it callsxDlOpen(), and a view in a remote database that callsload_extension()still fails as unsafe.The first HTTP VFS test now opens through
dbConnect()with the default extensions, which #832 had to switch off; against the layer below, it fails with "Failed to load extension:".Part of the stack that splits the earlier combined #832 into scoped pull requests, as the maintainer asked there. This code was reviewed as part of #832, in three clean reviews of the combined version; a clean review of the split found nothing in this layer, and what remains is under Accepted limitations.
Generated by Claude Code