From b89aef4479fb01fb65d84e59617fd1294500234d Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Thu, 12 Aug 2021 05:43:06 +0000 Subject: [PATCH] [TD-5610] make jenkins happy --- src/client/src/tscServer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index fde063b38f..2f891af1a7 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -502,12 +502,11 @@ static void doProcessMsgFromServer(SSchedMsg* pSchedMsg) { } rpcMsg->code = (pRes->code == TSDB_CODE_SUCCESS) ? (int32_t)pRes->numOfRows : pRes->code; if (pRes->code == TSDB_CODE_RPC_FQDN_ERROR) { - tscAllocPayload(pCmd, TSDB_FQDN_LEN + 64); // handle three situation // 1. epset retry, only return last failure ep // 2. no epset retry, like 'taos -h invalidFqdn', return invalidFqdn - // 3. other situation, not expected + // 3. other situation, no expected if (pEpSet) { sprintf(tscGetErrorMsgPayload(pCmd), "%s\"%s\"", tstrerror(pRes->code),pEpSet->fqdn[(pEpSet->inUse)%(pEpSet->numOfEps)]); } else if (pCmd->command >= TSDB_SQL_MGMT) {