未验证 提交 0f4fb1c3 编写于 作者: H Hui Li 提交者: GitHub

Merge pull request #21407 from taosdata/mark/tmq

fix:set task code success after kill
......@@ -575,7 +575,7 @@ int32_t tqProcessSubscribeReq(STQ* pTq, int64_t sversion, char* msg, int32_t msg
if(tqIsHandleExec(pHandle)) {
qTaskInfo_t pTaskInfo = pHandle->execHandle.task;
if (pTaskInfo != NULL) {
qKillTask(pTaskInfo, TSDB_CODE_TSC_QUERY_KILLED);
qKillTask(pTaskInfo, TSDB_CODE_SUCCESS);
}
// if (pHandle->execHandle.subType == TOPIC_SUB_TYPE__COLUMN) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册