fixbug crash
This commit is contained in:
parent
3a14b45f40
commit
1511e0c32f
|
@ -1368,7 +1368,7 @@ static void rpcProcessConnError(void *param, void *id) {
|
||||||
tDebug("%s %p, connection error happens", pRpc->label, pContext->ahandle);
|
tDebug("%s %p, connection error happens", pRpc->label, pContext->ahandle);
|
||||||
|
|
||||||
if (pContext->numOfTry >= pContext->epSet.numOfEps
|
if (pContext->numOfTry >= pContext->epSet.numOfEps
|
||||||
|| pContex->msgType == TSDB_MSG_TYPE_FETCH) {
|
|| pContext->msgType == TSDB_MSG_TYPE_FETCH) {
|
||||||
rpcMsg.msgType = pContext->msgType+1;
|
rpcMsg.msgType = pContext->msgType+1;
|
||||||
rpcMsg.ahandle = pContext->ahandle;
|
rpcMsg.ahandle = pContext->ahandle;
|
||||||
rpcMsg.code = pContext->code;
|
rpcMsg.code = pContext->code;
|
||||||
|
|
Loading…
Reference in New Issue