diff --git a/source/dnode/mgmt/CMakeLists.txt b/source/dnode/mgmt/CMakeLists.txt index 64e8980219..f08a85342a 100644 --- a/source/dnode/mgmt/CMakeLists.txt +++ b/source/dnode/mgmt/CMakeLists.txt @@ -1,2 +1,2 @@ -add_subdirectory(daemon) +add_subdirectory(exec) add_subdirectory(impl) \ No newline at end of file diff --git a/source/dnode/mgmt/daemon/CMakeLists.txt b/source/dnode/mgmt/exec/CMakeLists.txt similarity index 62% rename from source/dnode/mgmt/daemon/CMakeLists.txt rename to source/dnode/mgmt/exec/CMakeLists.txt index 3238bbf3f0..baa486b91f 100644 --- a/source/dnode/mgmt/daemon/CMakeLists.txt +++ b/source/dnode/mgmt/exec/CMakeLists.txt @@ -1,5 +1,5 @@ -aux_source_directory(src DAEMON_SRC) -add_executable(taosd ${DAEMON_SRC}) +aux_source_directory(src EXEC_SRC) +add_executable(taosd ${EXEC_SRC}) target_include_directories( taosd diff --git a/source/dnode/mgmt/daemon/inc/dmnInt.h b/source/dnode/mgmt/exec/inc/dndExec.h similarity index 100% rename from source/dnode/mgmt/daemon/inc/dmnInt.h rename to source/dnode/mgmt/exec/inc/dndExec.h diff --git a/source/dnode/mgmt/daemon/src/dmnCfg.c b/source/dnode/mgmt/exec/src/dndCfg.c similarity index 100% rename from source/dnode/mgmt/daemon/src/dmnCfg.c rename to source/dnode/mgmt/exec/src/dndCfg.c diff --git a/source/dnode/mgmt/daemon/src/dmnMain.c b/source/dnode/mgmt/exec/src/dndMain.c similarity index 100% rename from source/dnode/mgmt/daemon/src/dmnMain.c rename to source/dnode/mgmt/exec/src/dndMain.c diff --git a/source/dnode/mgmt/daemon/src/dmnUtil.c b/source/dnode/mgmt/exec/src/dndUtil.c similarity index 100% rename from source/dnode/mgmt/daemon/src/dmnUtil.c rename to source/dnode/mgmt/exec/src/dndUtil.c diff --git a/source/dnode/mgmt/impl/mnodeMgmt/src/mmMgmt.c b/source/dnode/mgmt/impl/mnodeMgmt/src/mmMgmt.c index 7ba40bf42b..add2f76cb4 100644 --- a/source/dnode/mgmt/impl/mnodeMgmt/src/mmMgmt.c +++ b/source/dnode/mgmt/impl/mnodeMgmt/src/mmMgmt.c @@ -117,7 +117,7 @@ void mmRelease(SDnode *pDnode, SMnode *pMnode) { int32_t mmOpen(SDnode *pDnode, SMnodeOpt *pOption) { SMndMgmt *pMgmt = &pDnode->mmgmt; - pMgmt->singleProc = false; + pMgmt->singleProc = true; int32_t code = mmOpenImp(pDnode, pOption);