[TD-825] post semphore while kill query

This commit is contained in:
Shengliang Guan 2020-07-14 19:24:57 +08:00
parent 869c19dc50
commit d78afdf2dd
1 changed files with 1 additions and 0 deletions

View File

@ -6333,6 +6333,7 @@ int32_t qKillQuery(qinfo_t qinfo) {
return TSDB_CODE_QRY_INVALID_QHANDLE;
}
sem_post(&pQInfo->dataReady);
setQueryKilled(pQInfo);
return TSDB_CODE_SUCCESS;
}