Merge pull request #21407 from taosdata/mark/tmq

fix:set task code success after kill
This commit is contained in:
Hui Li 2023-05-22 16:10:18 +08:00 committed by GitHub
commit 0f4fb1c31d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)) {
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) {