This commit is contained in:
yihaoDeng 2020-10-21 22:57:49 +00:00
parent 6e1ec9f64c
commit 44b6dd9a3f
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; return 0;
} }
assert(colIdx == 0);
if (tsOrder == TSDB_ORDER_DESC) { // primary column desc order if (tsOrder == TSDB_ORDER_DESC) { // primary column desc order
return (f1 < f2) ? 1 : -1; return (f1 < f2) ? 1 : -1;
} else { // asc } else { // asc