From 6d1209ecacb0867347ea35f32d712d85ce9f9eed Mon Sep 17 00:00:00 2001 From: slguan Date: Thu, 16 Jan 2020 13:20:23 +0800 Subject: [PATCH] TBASE-1452 #1136 --- src/client/src/tscCache.c | 2 +- src/kit/shell/src/shellEngine.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/src/tscCache.c b/src/client/src/tscCache.c index 8214585fac..666d069a58 100644 --- a/src/client/src/tscCache.c +++ b/src/client/src/tscCache.c @@ -100,7 +100,7 @@ void *taosAddConnIntoCache(void *handle, void *data, uint32_t ip, uint16_t port, tscTrace("data:%p ip:%p:%d not valid, not added in cache", data, ip, port); return NULL; } - + hash = taosHashConn(pObj, ip, port, user); pNode = (SConnHash *)taosMemPoolMalloc(pObj->connHashMemPool); pNode->ip = ip; diff --git a/src/kit/shell/src/shellEngine.c b/src/kit/shell/src/shellEngine.c index 355c62bc6b..c955af6ffc 100644 --- a/src/kit/shell/src/shellEngine.c +++ b/src/kit/shell/src/shellEngine.c @@ -806,7 +806,7 @@ void shellGetGrantInfo(void *con) { if (code != TSDB_CODE_SUCCESS) { if (code == TSDB_CODE_OPS_NOT_SUPPORT) { - fprintf(stdout, "Server is Community Edition, version is %s.\n\n", taos_get_server_info(con)); + fprintf(stdout, "Server is Community Edition, version is %s\n\n", taos_get_server_info(con)); } else { fprintf(stderr, "Failed to check Server Edition, Reason:%d:%s\n\n", taos_errno(con), taos_errstr(con)); } -- GitLab