Switch SQLite to use WAL journaling mode

PR #18048.
This commit is contained in:
Vladimir Golovnev
2022-11-30 09:50:26 +03:00
committed by GitHub
parent b86366f243
commit a31755bbc8
2 changed files with 27 additions and 2 deletions

View File

@@ -58,6 +58,7 @@ namespace BitTorrent
int currentDBVersion() const;
void createDB() const;
void updateDB(int fromVersion) const;
void enableWALMode() const;
QThread *m_ioThread = nullptr;