From 35c2391d6e70e9b064c66a5a2000c7c6341a8724 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Mon, 21 Feb 2022 10:58:51 +0800 Subject: [PATCH] rm useless init of tablegroup map --- src/client/src/tscServer.c | 1 - src/client/src/tscUtil.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index a94e9793d8..385294c25d 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -1947,7 +1947,6 @@ int tscProcessRetrieveGlobalMergeRsp(SSqlObj *pSql) { SQueryInfo *pQueryInfo = tscGetQueryInfo(pCmd); if (pQueryInfo->pQInfo == NULL) { STableGroupInfo tableGroupInfo = {.numOfTables = 1, .pGroupList = taosArrayInit(1, POINTER_BYTES),}; - tableGroupInfo.map = taosHashInit(1, taosGetDefaultHashFunction(TSDB_DATA_TYPE_INT), true, HASH_NO_LOCK); STableKeyInfo tableKeyInfo = {.pTable = NULL, .lastKey = INT64_MIN}; diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index e40971d8e4..dfbe444146 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -1405,8 +1405,6 @@ void handleDownstreamOperator(SSqlObj** pSqlObjList, int32_t numOfUpstream, SQue } } - tableGroupInfo.map = taosHashInit(1, taosGetDefaultHashFunction(TSDB_DATA_TYPE_INT), true, HASH_NO_LOCK); - STableKeyInfo tableKeyInfo = {.pTable = NULL, .lastKey = INT64_MIN}; SArray* group = taosArrayInit(1, sizeof(STableKeyInfo)); -- GitLab