fix: websocket mode test
This commit is contained in:
parent
18a669219e
commit
40c99f2355
|
@ -1373,10 +1373,12 @@ 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) {
|
||||||
printf("%s\n", buf);
|
printf("%s\n", buf);
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue