mirror of https://github.com/milvus-io/milvus.git
feat(db): change sqlite_orm header dependency
Former-commit-id: d682b364b1b27a2af27f0246460bb9bbb6370fd0pull/191/head
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…
Reference in New Issue