提交 15956008 编写于 作者: C Cary Xu

[TD-11437]<feature>(connector,query,insert,other,tools,taosAdapter):add...

[TD-11437]<feature>(connector,query,insert,other,tools,taosAdapter):add shortcutFlag to facilitate analysis of insert performance
上级 99004f70
......@@ -333,16 +333,10 @@ int tscSendMsgToServer(SSqlObj *pSql) {
.code = 0
};
switch (rpcMsg.msgType) {
case TSDB_MSG_TYPE_SUBMIT:
if (tsShortcutFlag & TSDB_SHORTCUT_RPC_SEND_SUBMIT) {
if ((rpcMsg.msgType == TSDB_MSG_TYPE_SUBMIT) && (tsShortcutFlag & TSDB_SHORTCUT_RPC_SEND_SUBMIT)) {
rpcFreeCont(rpcMsg.pCont);
return TSDB_CODE_FAILED;
}
break;
default:
break;
}
rpcSendRequest(pObj->pRpcObj->pDnodeConn, &pSql->epSet, &rpcMsg, &pSql->rpcRid);
return TSDB_CODE_SUCCESS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册