[CP] remove unsafe macro OB_UNIS_DECODEx

This commit is contained in:
zhjc1124
2024-02-07 14:11:56 +00:00
committed by ob-robot
parent 6c1a28cde8
commit b91c4a01c3
6 changed files with 12 additions and 27 deletions

View File

@ -282,8 +282,8 @@ int ObTabletAutoincSeq::deserialize(
{
int ret = OB_SUCCESS;
int64_t len = 0;
OB_UNIS_DECODEx(version_);
OB_UNIS_DECODEx(len);
OB_UNIS_DECODE(version_);
OB_UNIS_DECODE(len);
if (OB_SUCC(ret)) {
int64_t tmp_pos = 0;
if (OB_FAIL(deserialize_(allocator, buf + pos, len, tmp_pos))) {