Merge pull request #3984 from taosdata/hotfix/TD-1720

TD-1720
This commit is contained in:
Shengliang Guan 2020-10-24 16:06:04 +08:00 committed by GitHub
commit 846434dd47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -344,8 +344,6 @@ static FORCE_INLINE int32_t primaryKeyComparator(int64_t f1, int64_t f2, int32_t
return 0;
}
assert(colIdx == 0);
if (tsOrder == TSDB_ORDER_DESC) { // primary column desc order
return (f1 < f2) ? 1 : -1;
} else { // asc