fix: opt trans debug info
This commit is contained in:
parent
6ff76e57ae
commit
5025f1a38a
|
@ -229,8 +229,7 @@ static void cliWalkCb(uv_handle_t* handle, void* arg);
|
||||||
do { \
|
do { \
|
||||||
char* t = key; \
|
char* t = key; \
|
||||||
int16_t len = strlen(ip); \
|
int16_t len = strlen(ip); \
|
||||||
memcpy(t, ip, len); \
|
if (ip ! = NULL) memcpy(t, ip, len); \
|
||||||
t += len; \
|
|
||||||
t[len] = ':'; \
|
t[len] = ':'; \
|
||||||
titoa(port, 10, &t[len + 1]); \
|
titoa(port, 10, &t[len + 1]); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
@ -2312,6 +2311,7 @@ int transSendRequest(void* shandle, const SEpSet* pEpSet, STransMsg* pReq, STran
|
||||||
|
|
||||||
STransConnCtx* pCtx = taosMemoryCalloc(1, sizeof(STransConnCtx));
|
STransConnCtx* pCtx = taosMemoryCalloc(1, sizeof(STransConnCtx));
|
||||||
pCtx->epSet = *pEpSet;
|
pCtx->epSet = *pEpSet;
|
||||||
|
pCtx->origEpSet = *pEpSet;
|
||||||
pCtx->ahandle = pReq->info.ahandle;
|
pCtx->ahandle = pReq->info.ahandle;
|
||||||
pCtx->msgType = pReq->msgType;
|
pCtx->msgType = pReq->msgType;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue