enh: add tassert funcs
This commit is contained in:
parent
e7ee48fd38
commit
c6e9b8c0fa
|
@ -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) {
|
||||||
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();
|
||||||
|
|
Loading…
Reference in New Issue