Merge branch 'fix/TD-25308' of https://github.com/taosdata/TDengine into fix/TD-25308

This commit is contained in:
yihaoDeng 2023-07-24 18:48:23 +08:00
commit 2aacee05be
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ STscObj* taos_connect_internal(const char* ip, const char* user, const char* pas
SCorEpSet epSet = {0};
if (ip) {
if (initEpSetFromCfg(ip, NULL, &epSet) < 0) {
if (initEpSetFromCfg(ip, tsSecond, &epSet) < 0) {
return NULL;
}
} else {