fix: cache update for last key
This commit is contained in:
parent
5760ac25e2
commit
bf40585f6c
|
@ -1075,7 +1075,6 @@ static int32_t tsdbCacheUpdate(STsdb *pTsdb, tb_uid_t suid, tb_uid_t uid, SArray
|
|||
continue;
|
||||
}
|
||||
|
||||
if (IS_LAST_ROW_KEY(idxKey->key)) {
|
||||
int32_t cmp_res = 1;
|
||||
if (pLastCol) {
|
||||
cmp_res = tRowKeyCompare(&pLastCol->rowKey, pRowKey);
|
||||
|
@ -1120,7 +1119,6 @@ static int32_t tsdbCacheUpdate(STsdb *pTsdb, tb_uid_t suid, tb_uid_t uid, SArray
|
|||
|
||||
taosMemoryFree(value);
|
||||
}
|
||||
}
|
||||
|
||||
taosMemoryFreeClear(PToFree);
|
||||
rocksdb_free(values_list[i]);
|
||||
|
|
Loading…
Reference in New Issue