mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
feat(db): change sqlite_orm header dependency
Former-commit-id: d682b364b1b27a2af27f0246460bb9bbb6370fd0
This commit is contained in:
parent
a21ad0b743
commit
1d9946ff87
@ -5,7 +5,7 @@
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <chrono>
|
||||
#include <fstream>
|
||||
#include <sqlite_orm/sqlite_orm.h>
|
||||
#include <sqlite_orm.h>
|
||||
#include <easylogging++.h>
|
||||
#include "DBMetaImpl.h"
|
||||
#include "IDGenerator.h"
|
||||
@ -88,6 +88,7 @@ Status DBMetaImpl::initialize() {
|
||||
|
||||
ConnectorPtr->sync_schema();
|
||||
ConnectorPtr->open_forever(); // thread safe option
|
||||
ConnectorPtr->pragma.journal_mode(journal_mode::WAL); // WAL => write ahead log
|
||||
|
||||
cleanup();
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
#include <sqlite_orm/sqlite_orm.h>
|
||||
#include <sqlite_orm.h>
|
||||
|
||||
|
||||
namespace zilliz {
|
||||
@ -62,7 +62,3 @@ class Connection {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user