add compress

This commit is contained in:
Yihao Deng 2024-04-17 08:39:43 +00:00
parent 15f9e1e29e
commit 7cec8836b1
1 changed files with 1 additions and 2 deletions

View File

@ -1626,9 +1626,8 @@ int32_t valueDecode(void* value, int32_t vlen, int64_t* ttl, char** dest) {
} else {
if (key.len != 0 && dest != NULL) p = taosDecodeBinary(p, (void**)dest, key.len);
}
if (ttl != NULL) *ttl = key.unixTimestamp == 0 ? 0 : key.unixTimestamp - taosGetTimestampMs();
}
if (ttl != NULL) *ttl = key.unixTimestamp == 0 ? 0 : key.unixTimestamp - taosGetTimestampMs();
return key.len;