From 6fbb37a759abec836d6b2543f2d631fe2c00eb92 Mon Sep 17 00:00:00 2001 From: groot Date: Thu, 18 Apr 2019 15:37:31 +0800 Subject: [PATCH] avoid build failure Former-commit-id: 7790321f9a935ea784a8ffdb845f5c2391bc6da2 --- cpp/src/db/db_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/db/db_connection.cpp b/cpp/src/db/db_connection.cpp index 2c97268ac9..2870a9a447 100644 --- a/cpp/src/db/db_connection.cpp +++ b/cpp/src/db/db_connection.cpp @@ -20,7 +20,7 @@ SqliteDBPtr connect() { SqliteDBPtr temp = std::make_shared(initStorage(storage_file_name)); temp->sync_schema(); temp->open_forever(); // thread safe option - temp->pragma.journal_mode(journal_mode::WAL); // WAL => write ahead log + //temp->pragma.journal_mode(journal_mode::WAL); // WAL => write ahead log return temp; }