[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

@ -8289,8 +8289,8 @@ int ObBatchCreateTabletArg::skip_unis_array_len(const char *buf,
for (int64_t i = 0; OB_SUCC(ret) && i < count; i++) {
int64_t version = 0;
int64_t len = 0;
OB_UNIS_DECODEx(version);
OB_UNIS_DECODEx(len);
OB_UNIS_DECODE(version);
OB_UNIS_DECODE(len);
CHECK_VERSION_LENGTH(1, version, len);
pos += len;
}