[TD-2263]<enhance>: debug log epSet.fqdn when connect success

This commit is contained in:
stephenkgu 2020-12-16 15:54:19 +08:00
parent 29408010b0
commit 595df83f4d
1 changed files with 4 additions and 0 deletions

View File

@ -2146,6 +2146,10 @@ int tscProcessConnectRsp(SSqlObj *pSql) {
if (pConnect->epSet.numOfEps > 0) {
tscEpSetHtons(&pConnect->epSet);
tscUpdateMgmtEpSet(pSql, &pConnect->epSet);
for (int i = 0; i < pConnect->epSet.numOfEps; ++i) {
tscDebug("%p epSet.fqdn[%d]: %s, pObj:%p", pSql, i, pConnect->epSet.fqdn[i], pObj);
}
}
strcpy(pObj->sversion, pConnect->serverVersion);