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

@ -120,14 +120,10 @@ int32_t pkCompEx(SRowKey* p1, SRowKey* p2) {
} else {
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]);
}
}
}
}
static void tColRowGetKeyDeepCopy(SBlockData* pBlock, int32_t irow, int32_t slotId, SRowKey* pKey) {