cache/deserialize: fix binary pData calc

This commit is contained in:
Minglei Jin 2023-04-24 18:21:25 +08:00
parent 3b88efbd5f
commit 4adc95f9db
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ SLastCol *tsdbCacheDeserialize(char const *value) {
SLastCol *pLastCol = (SLastCol *)value;
SColVal *pColVal = &pLastCol->colVal;
if (IS_VAR_DATA_TYPE(pColVal->type)) {
pColVal->value.pData = (char *)value + sizeof(*pColVal);
pColVal->value.pData = (char *)value + sizeof(*pLastCol);
}
return pLastCol;