[CP] remove unsafe macro OB_UNIS_DECODEx

This commit is contained in:
zhjc1124
2023-12-08 11:47:27 +00:00
committed by ob-robot
parent 5ad48dda72
commit 793f30a828
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))) {