From f6a5c0eabeec2d657da851bf5ec7ac16528f8101 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sat, 13 Jun 2020 13:13:31 +0800 Subject: [PATCH] [td-225] fix bugs in group by normal columns --- src/query/src/qExecutor.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index d4cd536adb..6ea73827ec 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -1496,19 +1496,6 @@ static void teardownQueryRuntimeEnv(SQueryRuntimeEnv *pRuntimeEnv) { static bool isQueryKilled(SQInfo *pQInfo) { return (pQInfo->code == TSDB_CODE_TSC_QUERY_CANCELLED); -#if 0 - /* - * check if the queried meter is going to be deleted. - * if it will be deleted soon, stop current query ASAP. - */ - SMeterObj *pMeterObj = pQInfo->pObj; - if (vnodeIsMeterState(pMeterObj, TSDB_METER_STATE_DROPPING)) { - pQInfo->killed = 1; - return true; - } - - return (pQInfo->killed == 1); -#endif } static void setQueryKilled(SQInfo *pQInfo) { pQInfo->code = TSDB_CODE_TSC_QUERY_CANCELLED; } -- GitLab