Skip to content

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
@michalsn michalsn force-pushed the sqlite-synchronous branch from a800f5c to 3af4da8 Compare October 4, 2024 07:51
@michalsn michalsn requested a review from paulbalandan December 1, 2024 18:51
@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
@paulbalandan paulbalandan mentioned this pull request Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement PRs that improve existing functionalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants