Merge pull request #4032 from taosdata/bugfix/td-1834

[TD-1834]<fix>: crash when query order is desc
This commit is contained in:
Shengliang Guan 2020-10-28 18:20:39 +08:00 committed by GitHub
commit caa38d79ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -1263,7 +1263,6 @@ static void copyAllRemainRowsFromFileBlock(STsdbQueryHandle* pQueryHandle, STabl
int32_t end = endPos;
if (!ASCENDING_TRAVERSE(pQueryHandle->order)) {
assert(start >= end);
SWAP(start, end, int32_t);
}