[CP] fix table location incorrect deserialize bug

This commit is contained in:
obdev
2023-05-15 08:11:13 +00:00
committed by ob-robot
parent dd6fd84255
commit 0ca17b1b8d

View File

@ -4506,8 +4506,7 @@ int ValueItemExpr::deserialize(common::ObIAllocator &allocator, const char *buf,
const int64_t data_len, int64_t &pos) const int64_t data_len, int64_t &pos)
{ {
int ret = OB_SUCCESS; int ret = OB_SUCCESS;
ValueItemExpr vie; OB_UNIS_DECODE(type_);
OB_UNIS_DECODE(vie.type_);
if (CONST_OBJ_TYPE == type_) { if (CONST_OBJ_TYPE == type_) {
OB_UNIS_DECODE(obj_); OB_UNIS_DECODE(obj_);
} else if (CONST_EXPR_TYPE == type_) { } else if (CONST_EXPR_TYPE == type_) {