avoid build failure

Former-commit-id: 7790321f9a935ea784a8ffdb845f5c2391bc6da2
This commit is contained in:
groot 2019-04-18 15:37:31 +08:00
parent 465bd19948
commit 6fbb37a759

View File

@ -20,7 +20,7 @@ SqliteDBPtr connect() {
SqliteDBPtr temp = std::make_shared<SqliteDB>(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;
}