Former-commit-id: 1760ea04488fc283868352dec36d9dda8c4c0fd7
pull/191/head
zhiru 2019-06-28 15:28:31 +08:00 committed by jinhai
parent 623f837548
commit f663bdcac3
1 changed files with 3 additions and 1 deletions

View File

@ -139,7 +139,9 @@ DBImpl::DBImpl(const Options& options)
meta_ptr_ = DBMetaImplFactory::Build(options.meta);
mem_mgr_ = std::make_shared<MemManager>(meta_ptr_, options_);
// mem_mgr_ = (MemManagerPtr)(new MemManager(meta_ptr_, options_));
StartTimerTasks();
if (options.mode != "read_only") {
StartTimerTasks();
}
}
Status DBImpl::CreateTable(meta::TableSchema& table_schema) {