Page MenuHomePhabricator

D5292.diff
No OneTemporary

D5292.diff

diff --git a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
--- a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
+++ b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
@@ -593,6 +593,7 @@
if (current_user_version == 0) {
SQLiteQueryExecutor::getStorage().sync_schema();
+ SQLiteQueryExecutor::getStorage().pragma.journal_mode(journal_mode::WAL);
Logger::log("Creating new database, syncing structure with ORM storage.");

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 7:25 PM (18 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2564362
Default Alt Text
D5292.diff (551 B)

Event Timeline