提交 4adc95f9 编写于 作者: M Minglei Jin

cache/deserialize: fix binary pData calc

上级 3b88efbd
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册