diff --git a/include/os/osSystem.h b/include/os/osSystem.h index dd1c5cd2047e994b730f2e868f55dfb7ba62050a..31ec513fcadd8314d74ab573aed1bd30f435fdf0 100644 --- a/include/os/osSystem.h +++ b/include/os/osSystem.h @@ -46,7 +46,7 @@ void taosSetTerminalMode(); int32_t taosGetOldTerminalMode(); void taosResetTerminalMode(); -#if defined(LINUX) +#if !defined(WINDOWS) #define taosPrintTrace(flags, level, dflag) \ { \ void* array[100]; \ diff --git a/source/dnode/mgmt/node_mgmt/src/dmMgmt.c b/source/dnode/mgmt/node_mgmt/src/dmMgmt.c index c3f5313f7bf9b6b161ad4d8a9dcb57bfa4858c23..02a268afda28698aba56148eacb8b205f12e0af2 100644 --- a/source/dnode/mgmt/node_mgmt/src/dmMgmt.c +++ b/source/dnode/mgmt/node_mgmt/src/dmMgmt.c @@ -103,8 +103,6 @@ int32_t dmInitDnode(SDnode *pDnode) { goto _OVER; } - tAssert(0, ""); - pDnode->wrappers[DNODE].func = dmGetMgmtFunc(); pDnode->wrappers[MNODE].func = mmGetMgmtFunc(); pDnode->wrappers[VNODE].func = vmGetMgmtFunc();