From d960aaa45e93c31e3d52ae59682a583530d7beb6 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 8 Sep 2021 13:42:07 +0800 Subject: [PATCH] [TD-6127] one taos driver connect two cluster --- src/client/src/tscSystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscSystem.c b/src/client/src/tscSystem.c index a3a582f8dd..5134aa512c 100644 --- a/src/client/src/tscSystem.c +++ b/src/client/src/tscSystem.c @@ -133,7 +133,7 @@ void tscClusterInfoDestroy(SClusterInfo *pObj) { void *tscAcquireClusterInfo(const char *clusterId) { pthread_mutex_lock(&clusterMutex); - int32_t len = strlen(clusterId); + size_t len = strlen(clusterId); SClusterInfo *pObj = NULL; SClusterInfo **ppObj = taosHashGet(tscClusterMap, clusterId, len); if (ppObj == NULL || *ppObj == NULL) { -- GitLab