提交 d2823d60 编写于 作者: dengyihao's avatar dengyihao

modify code style

上级 5f553934
......@@ -226,10 +226,7 @@ int tscSendMsgToServer(SSqlObj *pSql) {
// set the mgmt ip list
if (pSql->cmd.command >= TSDB_SQL_MGMT) {
SRpcIpSet dump;
tscDumpMgmtIpSet(&dump);
// no need to update pSql->ipList
tscIpSetCopy(&pSql->ipList, &dump);
tscDumpMgmtIpSet(&pSql->ipList);
}
memcpy(pMsg, pSql->cmd.payload, pSql->cmd.payloadLen);
......@@ -471,7 +468,7 @@ int tscProcessSql(SSqlObj *pSql) {
return pSql->res.code;
}
} else if (pCmd->command < TSDB_SQL_LOCAL) {
tscDumpMgmtIpSet(&pSql->ipList);
//tscDumpMgmtIpSet(&pSql->ipList);
} else {
return (*tscProcessMsgRsp[pCmd->command])(pSql);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册