From d78afdf2dd2b99651b88950000618f103a4aeb1e Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Tue, 14 Jul 2020 19:24:57 +0800 Subject: [PATCH] [TD-825] post semphore while kill query --- src/query/src/qExecutor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index 9d005cdb07..f94c65834d 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -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; } -- GitLab