fix: show connMode is ok for taos
This commit is contained in:
parent
f5a0d8d6f4
commit
def4f61f17
|
@ -1365,7 +1365,7 @@ TAOS* createConnect(SShellArgs *pArgs) {
|
|||
int32_t shellExecute(int argc, char *argv[]) {
|
||||
int32_t code = 0;
|
||||
printf(shell.info.clientVersion, shell.info.cusName,
|
||||
defaultMode(shell.args.connMode, shell.args.dsn),
|
||||
defaultMode(shell.args.connMode, shell.args.dsn) == CONN_MODE_NATIVE ? STR_NATIVE : STR_WEBSOCKET,
|
||||
taos_get_client_info(), shell.info.cusName);
|
||||
fflush(stdout);
|
||||
|
||||
|
|
Loading…
Reference in New Issue