BUGFIX: fix tablelock compat problem
This commit is contained in:
@ -228,7 +228,7 @@ int ObTableLockOwnerID::deserialize(const char* buf, const int64_t data_len, int
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
const int64_t origin_pos = pos;
|
||||
int16_t magic_num = 0;
|
||||
int64_t magic_num = 0;
|
||||
if (OB_ISNULL(buf) || OB_UNLIKELY(data_len <= 0)) {
|
||||
ret = OB_INVALID_ARGUMENT;
|
||||
LOG_WARN("invalid args", KR(ret), KP(buf), K(data_len));
|
||||
|
||||
@ -450,7 +450,7 @@ bool is_lock_owner_type_valid(const ObLockOwnerType &type)
|
||||
class ObNewTableLockOwnerID
|
||||
{
|
||||
public:
|
||||
static const int16_t MAGIC_NUM = -0xABC;
|
||||
static const int64_t MAGIC_NUM = -0xABC;
|
||||
};
|
||||
|
||||
class ObTableLockOwnerID
|
||||
|
||||
Reference in New Issue
Block a user