fix: taos shell prompt for websocket (#18826)

This commit is contained in:
Shuduo Sang 2022-12-08 20:26:06 +08:00 committed by GitHub
parent 8fd11c5f4d
commit 8fbe4b64a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ void shellRunSingleCommandWebsocketImp(char *command) {
if (code == TSDB_CODE_WS_SEND_TIMEOUT || code == TSDB_CODE_WS_RECV_TIMEOUT) {
fprintf(stderr, "Hint: use -t to increase the timeout in seconds\n");
} else if (code == TSDB_CODE_WS_INTERNAL_ERRO || code == TSDB_CODE_WS_CLOSED) {
fprintf(stderr, "TDengine server is down, will try to reconnect\n");
fprintf(stderr, "TDengine server is disconnected, will try to reconnect\n");
shell.ws_conn = NULL;
}
ws_free_result(res);