From 9b26068ae891e3b9c0c62e0ac2f9114749937539 Mon Sep 17 00:00:00 2001 From: lihui Date: Fri, 24 Apr 2020 11:05:19 +0800 Subject: [PATCH] [TD-112] --- src/system/detail/src/vnodeQueryImpl.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/system/detail/src/vnodeQueryImpl.c b/src/system/detail/src/vnodeQueryImpl.c index 5439a1e56c..dac40c70c9 100644 --- a/src/system/detail/src/vnodeQueryImpl.c +++ b/src/system/detail/src/vnodeQueryImpl.c @@ -4020,16 +4020,7 @@ bool normalizedFirstQueryRange(bool dataInDisk, bool dataInCache, STableQuerySup *key = nextKey; } - // needs the data before the begin timestamp of query time window - if ((nextKey != pQuery->skey) && (!isPointInterpoQuery(pQuery))) { - if (!pRuntimeEnv->hasTimeWindow) { - pQuery->skey = nextKey; // change the query skey - pQuery->lastKey = pQuery->skey; - } - return true; - } else { - return doGetQueryPos(nextKey, pSupporter, pPointInterpSupporter); - } + return doGetQueryPos(nextKey, pSupporter, pPointInterpSupporter); } // set no data in file -- GitLab