BUGFIX: fix common id serialize size

This commit is contained in:
obdev
2023-11-14 14:10:29 +00:00
committed by ob-robot
parent 64e0116539
commit bba3db245c

View File

@ -59,7 +59,7 @@ int ObCommonID::deserialize(const char* buf, const int64_t data_len, int64_t& po
int64_t ObCommonID::get_serialize_size() const
{
int64_t size = 0;
size += serialization::encoded_length_i64(id_);
size += serialization::encoded_length_vi64(id_);
return size;
}