From f9ff6197b68d590ebeec2aadd859022bba2dcf81 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Mon, 18 May 2020 22:55:47 +0800 Subject: [PATCH] [td-225] fix bug in desc order query --- src/tsdb/src/tsdbRead.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tsdb/src/tsdbRead.c b/src/tsdb/src/tsdbRead.c index f716bb01ba..8c7680c3d4 100644 --- a/src/tsdb/src/tsdbRead.c +++ b/src/tsdb/src/tsdbRead.c @@ -1342,12 +1342,12 @@ bool tsdbNextDataBlock(TsdbQueryHandleT* pqHandle) { pQueryHandle->checkFiles = false; } - if (ASCENDING_ORDER_TRAVERSE(pQueryHandle->order)) { +// if (ASCENDING_ORDER_TRAVERSE(pQueryHandle->order)) { return doHasDataInBuffer(pQueryHandle); - } else { +// } else { // assert(0); - return false; - } +// return false; +// } // if (ASCENDING_ORDER_TRAVERSE(pQueryHandle->order)) { // if (pQueryHandle->checkFiles) { -- GitLab