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

fix: donot print log while assert

上级 6f663c30
...@@ -801,7 +801,7 @@ bool taosAssert(bool condition, const char *file, int32_t line, const char *form ...@@ -801,7 +801,7 @@ bool taosAssert(bool condition, const char *file, int32_t line, const char *form
taosPrintTrace(flags, level, dflag); taosPrintTrace(flags, level, dflag);
if (tsAssert) { if (tsAssert) {
taosCloseLog(); // taosCloseLog();
taosMsleep(300); taosMsleep(300);
#ifdef NDEBUG #ifdef NDEBUG
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册