提交 d960aaa4 编写于 作者: dengyihao's avatar dengyihao

[TD-6127]<feature> one taos driver connect two cluster

上级 8a11875e
...@@ -133,7 +133,7 @@ void tscClusterInfoDestroy(SClusterInfo *pObj) { ...@@ -133,7 +133,7 @@ void tscClusterInfoDestroy(SClusterInfo *pObj) {
void *tscAcquireClusterInfo(const char *clusterId) { void *tscAcquireClusterInfo(const char *clusterId) {
pthread_mutex_lock(&clusterMutex); pthread_mutex_lock(&clusterMutex);
int32_t len = strlen(clusterId); size_t len = strlen(clusterId);
SClusterInfo *pObj = NULL; SClusterInfo *pObj = NULL;
SClusterInfo **ppObj = taosHashGet(tscClusterMap, clusterId, len); SClusterInfo **ppObj = taosHashGet(tscClusterMap, clusterId, len);
if (ppObj == NULL || *ppObj == NULL) { if (ppObj == NULL || *ppObj == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册