enh: add tassert funcs

This commit is contained in:
Shengliang Guan 2022-12-07 16:27:20 +08:00
parent e7ee48fd38
commit c6e9b8c0fa
2 changed files with 1 additions and 3 deletions

View File

@ -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]; \

View File

@ -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();