From d7f056da5ee58ebd1ba696d096d764d0b0bbbeb6 Mon Sep 17 00:00:00 2001 From: hjxilinx Date: Tue, 18 Feb 2020 01:32:46 +0800 Subject: [PATCH] fix bugs in handling the sliding query. --- src/system/detail/src/vnodeQueryImpl.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/system/detail/src/vnodeQueryImpl.c b/src/system/detail/src/vnodeQueryImpl.c index bd7cd224f1..d73b0f9767 100644 --- a/src/system/detail/src/vnodeQueryImpl.c +++ b/src/system/detail/src/vnodeQueryImpl.c @@ -1839,10 +1839,6 @@ static int32_t blockwiseApplyAllFunctions(SQueryRuntimeEnv *pRuntimeEnv, int32_t return 0; } - if (win.skey == 1433955937630) { - int32_t k = 1; - } - TSKEY ekey = QUERY_IS_ASC_QUERY(pQuery) ? win.ekey : win.skey; forwardStep = getNumOfRowsInTimeWindow(pQuery, pBlockInfo, primaryKeyCol, pQuery->pos, ekey, searchFn, false); @@ -1859,10 +1855,6 @@ static int32_t blockwiseApplyAllFunctions(SQueryRuntimeEnv *pRuntimeEnv, int32_t break; } - if (nextWin.skey == 1433955937630) { - int32_t k = 1; - } - // null data, failed to allocate more memory buffer int32_t sid = pRuntimeEnv->pMeterObj->sid; if (setWindowOutputBufByKey(pRuntimeEnv, pWindowResInfo, sid, &nextWin) != TSDB_CODE_SUCCESS) {