提交 99004f70 编写于 作者: 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
上级 b74721d3
...@@ -333,9 +333,15 @@ int tscSendMsgToServer(SSqlObj *pSql) { ...@@ -333,9 +333,15 @@ int tscSendMsgToServer(SSqlObj *pSql) {
.code = 0 .code = 0
}; };
if ((rpcMsg.msgType == TSDB_MSG_TYPE_SUBMIT) && (tsShortcutFlag & TSDB_SHORTCUT_RPC_SEND_SUBMIT)) { switch (rpcMsg.msgType) {
rpcFreeCont(rpcMsg.pCont); case TSDB_MSG_TYPE_SUBMIT:
return TSDB_CODE_FAILED; if (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); rpcSendRequest(pObj->pRpcObj->pDnodeConn, &pSql->epSet, &rpcMsg, &pSql->rpcRid);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册