fix: websocket mode test

This commit is contained in:
Alex Duan 2024-03-14 12:56:59 +08:00
parent 18a669219e
commit 40c99f2355
1 changed files with 4 additions and 1 deletions

View File

@ -1373,9 +1373,11 @@ bool community = shellGetGrantInfo(buf);
#ifndef WINDOWS #ifndef WINDOWS
printfIntroduction(community); printfIntroduction(community);
#else #else
#ifndef WEBSOCKET
if(community) { if(community) {
showAD(false) showAD(false)
} }
#endif
#endif #endif
// printf version // printf version
if(!community) { if(!community) {
@ -1394,11 +1396,12 @@ if(!community) {
break; break;
} }
} }
#ifndef WEBSOCKET
// commnuity // commnuity
if (community) { if (community) {
showAD(true); showAD(true);
} }
#endif
taosThreadJoin(spid, NULL); taosThreadJoin(spid, NULL);