[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.
This commit is contained in:
parent
a2f6d85c9d
commit
f041e6c25c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue