提交 6fbb37a7 编写于 作者: G groot

avoid build failure


Former-commit-id: 7790321f9a935ea784a8ffdb845f5c2391bc6da2
上级 465bd199
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册