提交 f9ff6197 编写于 作者: H Haojun Liao

[td-225] fix bug in desc order query

上级 fc975fce
...@@ -1342,12 +1342,12 @@ bool tsdbNextDataBlock(TsdbQueryHandleT* pqHandle) { ...@@ -1342,12 +1342,12 @@ bool tsdbNextDataBlock(TsdbQueryHandleT* pqHandle) {
pQueryHandle->checkFiles = false; pQueryHandle->checkFiles = false;
} }
if (ASCENDING_ORDER_TRAVERSE(pQueryHandle->order)) { // if (ASCENDING_ORDER_TRAVERSE(pQueryHandle->order)) {
return doHasDataInBuffer(pQueryHandle); return doHasDataInBuffer(pQueryHandle);
} else { // } else {
// assert(0); // assert(0);
return false; // return false;
} // }
// if (ASCENDING_ORDER_TRAVERSE(pQueryHandle->order)) { // if (ASCENDING_ORDER_TRAVERSE(pQueryHandle->order)) {
// if (pQueryHandle->checkFiles) { // if (pQueryHandle->checkFiles) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册