diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index d4cd536adb9187b394e9aec5f826ddbf5fef09c4..6ea73827ec16312628a7b54ffe532deac4d062c7 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; }