Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose an interface to sqlite3_file_control #128505

Open
hashbrowncipher opened this issue Jan 5, 2025 · 0 comments
Open

Expose an interface to sqlite3_file_control #128505

hashbrowncipher opened this issue Jan 5, 2025 · 0 comments
Labels
extension-modules C modules in the Modules dir topic-sqlite3 type-feature A feature request or enhancement

Comments

@hashbrowncipher
Copy link
Contributor

hashbrowncipher commented Jan 5, 2025

Feature or enhancement

Proposal:

sqlite3_file_control can affect the semantics of a sqlite3 database, but is not exposed by the sqlite.Connection class. In particular, I would like to use the SQLITE_FCNTL_PERSIST_WAL opcode, which ensures that callers can open a WAL-mode database on a read-only mount even when the writers have closed the DB.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

@hashbrowncipher hashbrowncipher added the type-feature A feature request or enhancement label Jan 5, 2025
@picnixz picnixz added the extension-modules C modules in the Modules dir label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension-modules C modules in the Modules dir topic-sqlite3 type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants