提交 c6e9b8c0 编写于 作者: S Shengliang Guan

enh: add tassert funcs

上级 e7ee48fd
...@@ -46,7 +46,7 @@ void taosSetTerminalMode(); ...@@ -46,7 +46,7 @@ void taosSetTerminalMode();
int32_t taosGetOldTerminalMode(); int32_t taosGetOldTerminalMode();
void taosResetTerminalMode(); void taosResetTerminalMode();
#if defined(LINUX) #if !defined(WINDOWS)
#define taosPrintTrace(flags, level, dflag) \ #define taosPrintTrace(flags, level, dflag) \
{ \ { \
void* array[100]; \ void* array[100]; \
......
...@@ -103,8 +103,6 @@ int32_t dmInitDnode(SDnode *pDnode) { ...@@ -103,8 +103,6 @@ int32_t dmInitDnode(SDnode *pDnode) {
goto _OVER; goto _OVER;
} }
tAssert(0, "");
pDnode->wrappers[DNODE].func = dmGetMgmtFunc(); pDnode->wrappers[DNODE].func = dmGetMgmtFunc();
pDnode->wrappers[MNODE].func = mmGetMgmtFunc(); pDnode->wrappers[MNODE].func = mmGetMgmtFunc();
pDnode->wrappers[VNODE].func = vmGetMgmtFunc(); pDnode->wrappers[VNODE].func = vmGetMgmtFunc();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册