From 40c99f23553fcfd3d0eb433bcadd518ff4422c2f Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Thu, 14 Mar 2024 12:56:59 +0800 Subject: [PATCH] fix: websocket mode test --- tools/shell/src/shellEngine.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/shell/src/shellEngine.c b/tools/shell/src/shellEngine.c index 3b58d32d0a..7dc2d05352 100644 --- a/tools/shell/src/shellEngine.c +++ b/tools/shell/src/shellEngine.c @@ -1373,9 +1373,11 @@ bool community = shellGetGrantInfo(buf); #ifndef WINDOWS printfIntroduction(community); #else +#ifndef WEBSOCKET if(community) { showAD(false) } +#endif #endif // printf version if(!community) { @@ -1394,11 +1396,12 @@ if(!community) { break; } } - +#ifndef WEBSOCKET // commnuity if (community) { showAD(true); } +#endif taosThreadJoin(spid, NULL);