Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3339260
D5292.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
551 B
Referenced Files
None
Subscribers
None
D5292.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D5292: [native/sqlite] set `journal_mode` on fresh install
Attached
Detach File
Event Timeline
Log In to Comment