提交 f041e6c2 编写于 作者: Y yifan hao

[Trivial] Fix initialization code of TSDB_MOD_MGMT module.

* Description
This patch fixes enablement of TSDB_MOD_MGMT module, which was
incorrectly assign to 'name' variable.

* Testing
Compile the code. Feel free to suggest more testing that needs to
be done. Given that 'tsModule' is zero initialized, I don't think
there's any functional difference for this patch.
上级 a2f6d85c
......@@ -44,7 +44,7 @@ static void dnodeUnSetModuleStatus(int32_t module) {
}
static void dnodeAllocModules() {
tsModule[TSDB_MOD_MGMT].name = false;
tsModule[TSDB_MOD_MGMT].enable = false;
tsModule[TSDB_MOD_MGMT].name = "mgmt";
tsModule[TSDB_MOD_MGMT].initFp = mgmtInitSystem;
tsModule[TSDB_MOD_MGMT].cleanUpFp = mgmtCleanUpSystem;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册