mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
avoid build failure
Former-commit-id: 7790321f9a935ea784a8ffdb845f5c2391bc6da2
This commit is contained in:
parent
465bd19948
commit
6fbb37a759
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user