How to enable WAL journaling? #161
Unanswered
johanneswk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have found the following code in class-wp-sqlite-translator:
$valid_journal_modes = array( 'DELETE', 'TRUNCATE', 'PERSIST', 'MEMORY', 'WAL', 'OFF' ); if ( defined( 'SQLITE_JOURNAL_MODE' ) && in_array( SQLITE_JOURNAL_MODE, $valid_journal_modes, true ) ) { $this->pdo->query( 'PRAGMA journal_mode = ' . SQLITE_JOURNAL_MODE ); }
Where can I set this variable to SQLITE_JOURNAL_MODE = WAL? Is there a file for these variables?
Beta Was this translation helpful? Give feedback.
All reactions