fix: wrong msgType found by explain.sim
This commit is contained in:
parent
091e7a625b
commit
ed22513e52
|
@ -535,7 +535,10 @@ int32_t qwHandleTaskComplete(QW_FPARAMS_DEF, SQWTaskCtx *ctx) {
|
||||||
SExplainExecInfo *execInfo = NULL;
|
SExplainExecInfo *execInfo = NULL;
|
||||||
int32_t resNum = 0;
|
int32_t resNum = 0;
|
||||||
QW_ERR_RET(qGetExplainExecInfo(ctx->taskHandle, &resNum, &execInfo));
|
QW_ERR_RET(qGetExplainExecInfo(ctx->taskHandle, &resNum, &execInfo));
|
||||||
QW_ERR_RET(qwBuildAndSendExplainRsp(&ctx->ctrlConnInfo, execInfo, resNum));
|
|
||||||
|
SRpcHandleInfo connInfo = ctx->ctrlConnInfo;
|
||||||
|
connInfo.ahandle = NULL;
|
||||||
|
QW_ERR_RET(qwBuildAndSendExplainRsp(&connInfo, execInfo, resNum));
|
||||||
}
|
}
|
||||||
|
|
||||||
qwFreeTaskHandle(QW_FPARAMS(), taskHandle);
|
qwFreeTaskHandle(QW_FPARAMS(), taskHandle);
|
||||||
|
|
|
@ -74,7 +74,7 @@ int32_t qwBuildAndSendReadyRsp(SRpcHandleInfo *pConn, int32_t code) {
|
||||||
.code = code,
|
.code = code,
|
||||||
.info = *pConn,
|
.info = *pConn,
|
||||||
};
|
};
|
||||||
rpcRsp.info.ahandle = NULL,
|
rpcRsp.info.ahandle = NULL;
|
||||||
|
|
||||||
tmsgSendRsp(&rpcRsp);
|
tmsgSendRsp(&rpcRsp);
|
||||||
|
|
||||||
|
@ -95,6 +95,7 @@ int32_t qwBuildAndSendExplainRsp(SRpcHandleInfo *pConn, SExplainExecInfo *execIn
|
||||||
.code = 0,
|
.code = 0,
|
||||||
.info = *pConn,
|
.info = *pConn,
|
||||||
};
|
};
|
||||||
|
rpcRsp.info.ahandle = NULL;
|
||||||
|
|
||||||
tmsgSendRsp(&rpcRsp);
|
tmsgSendRsp(&rpcRsp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue