diff --git a/src/storage/tablelock/ob_obj_lock.cpp b/src/storage/tablelock/ob_obj_lock.cpp index 75e19380ef..34bf2ffe87 100644 --- a/src/storage/tablelock/ob_obj_lock.cpp +++ b/src/storage/tablelock/ob_obj_lock.cpp @@ -1108,7 +1108,7 @@ int ObOBJLock::get_lock_op_iter(const ObLockID &lock_id, tmp_op.op_type_ = IN_TRANS_DML_LOCK; tmp_op.lock_op_status_ = LOCK_OP_DOING; // we use this one for the count. - tmp_op.lock_seq_no_ = ObTxSEQ(row_exclusive_, 0); + tmp_op.lock_seq_no_ = ObTxSEQ::cast_from_int(row_exclusive_); if (OB_FAIL(iter.push(tmp_op))) { TABLELOCK_LOG(WARN, "push tmp lock op into iterator failed", K(ret), K(tmp_op)); }