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

feat: add SQLite3 config synchronous #9202

Merged
merged 6 commits into from
Dec 2, 2024

Conversation

michalsn
Copy link
Member

Description
This PR adds support for the synchronous setting in SQLite3. It's not persistent across connections, which means it resets to the default (usually 2) with every new connection. We must set synchronous on each connection if we want it to differ from the default.

More info about this setting: https://www.sqlite.org/pragma.html#pragma_synchronous

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@michalsn michalsn added enhancement PRs that improve existing functionalities 4.6 labels Sep 25, 2024
system/Database/SQLite3/Connection.php Outdated Show resolved Hide resolved
system/Database/SQLite3/Connection.php Outdated Show resolved Hide resolved
@michalsn michalsn merged commit 35c5784 into codeigniter4:4.6 Dec 2, 2024
46 checks passed
@michalsn michalsn deleted the sqlite-synchronous branch December 2, 2024 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.6 enhancement PRs that improve existing functionalities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants