fix(tsdb): update the compare func.
This commit is contained in:
parent
24c000e052
commit
69cb630e7f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue