提交 194a1335 编写于 作者: Z zhiru 提交者: jinhai

Disable cleanup if mode is read only


Former-commit-id: 56fe025185d1c515b4b84c9c68a1113d816dae86
上级 85eff715
......@@ -1814,7 +1814,9 @@ namespace meta {
MySQLMetaImpl::~MySQLMetaImpl() {
// std::lock_guard<std::recursive_mutex> lock(mysql_mutex);
CleanUp();
if (mode_ != Options::MODE::READ_ONLY) {
CleanUp();
}
}
} // namespace meta
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册