From 9a4414c3affb12306019da8fd265dc69e87a2a7e Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Thu, 25 Jun 2020 00:41:27 +0800 Subject: [PATCH] [td-225] fix some typo --- src/client/src/tscServer.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index e9b84ecd13..5448e5433a 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -195,9 +195,10 @@ int tscSendMsgToServer(SSqlObj *pSql) { .code = 0 }; - // NOTE: the rpc context should be acquired before sent data to server. - // Otherwise, the pSql object may have been released already in during the processMsgFromServer function, in the - // meanwhile, the assignment of the rpc context to sql object will absolutely caused crash. + // NOTE: the rpc context should be acquired before sending data to server. + // Otherwise, the pSql object may have been released already during the response function, which is + // processMsgFromServer function. In the meanwhile, the assignment of the rpc context to sql object will absolutely + // cause crash. /*pSql->pRpcCtx = */rpcSendRequest(pObj->pDnodeConn, &pSql->ipList, &rpcMsg); return TSDB_CODE_SUCCESS; } -- GitLab