From 1511e0c32f13255564836f9d9b9e48255b8b615f Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Fri, 9 Apr 2021 15:01:29 +0800 Subject: [PATCH] fixbug crash --- src/rpc/src/rpcMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/src/rpcMain.c b/src/rpc/src/rpcMain.c index 98d5c1ed54..3e8c1d9180 100644 --- a/src/rpc/src/rpcMain.c +++ b/src/rpc/src/rpcMain.c @@ -1368,7 +1368,7 @@ static void rpcProcessConnError(void *param, void *id) { tDebug("%s %p, connection error happens", pRpc->label, pContext->ahandle); if (pContext->numOfTry >= pContext->epSet.numOfEps - || pContex->msgType == TSDB_MSG_TYPE_FETCH) { + || pContext->msgType == TSDB_MSG_TYPE_FETCH) { rpcMsg.msgType = pContext->msgType+1; rpcMsg.ahandle = pContext->ahandle; rpcMsg.code = pContext->code; -- GitLab