fix:set task code success after kill

This commit is contained in:
wangmm0220 2023-05-22 12:42:21 +08:00
parent 7b735c67d0
commit 591b51f624
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ int32_t tqProcessSubscribeReq(STQ* pTq, int64_t sversion, char* msg, int32_t msg
if(tqIsHandleExec(pHandle)) { if(tqIsHandleExec(pHandle)) {
qTaskInfo_t pTaskInfo = pHandle->execHandle.task; qTaskInfo_t pTaskInfo = pHandle->execHandle.task;
if (pTaskInfo != NULL) { if (pTaskInfo != NULL) {
qKillTask(pTaskInfo, TSDB_CODE_TSC_QUERY_KILLED); qKillTask(pTaskInfo, TSDB_CODE_SUCCESS);
} }
// if (pHandle->execHandle.subType == TOPIC_SUB_TYPE__COLUMN) { // if (pHandle->execHandle.subType == TOPIC_SUB_TYPE__COLUMN) {