fix(tsdb): update the compare func.

This commit is contained in:
Haojun Liao 2024-04-17 11:32:48 +08:00
parent 24c000e052
commit 69cb630e7f
1 changed files with 1 additions and 5 deletions

View File

@ -121,11 +121,7 @@ int32_t pkCompEx(SRowKey* p1, SRowKey* p2) {
return ret > 0 ? 1 : -1;
}
} else {
if (p1->pks[0].val == p2->pks[0].val) {
return 0;
} else {
return tValueCompare(&p1->pks[0], &p2->pks[0]);
}
return tValueCompare(&p1->pks[0], &p2->pks[0]);
}
}
}