[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

@ -318,8 +318,8 @@ int ObTenantSuperBlock::deserialize(const char *buf, const int64_t data_len, int
{
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)) {
if (UNIS_VERSION < version_) {
ret = ::oceanbase::common::OB_NOT_SUPPORTED;