pub struct UndoLogHeader {
pub trx_id: u64,
pub trx_no: u64,
pub del_marks: bool,
pub log_start: u16,
pub xid_exists: bool,
pub dict_trans: bool,
pub table_id: u64,
pub next_log: u16,
pub prev_log: u16,
}Expand description
Parsed undo log record header (at the start of an undo log within the page).
Fields§
§trx_id: u64Transaction ID that created this undo log.
trx_no: u64Transaction serial number.
del_marks: boolWhether delete marks exist in this undo log.
log_start: u16Offset of the first undo log record.
xid_exists: boolWhether XID info exists (distributed transactions).
dict_trans: boolWhether this is a DDL transaction.
table_id: u64Table ID (for insert undo logs).
next_log: u16Offset of the next undo log header (0 if last).
prev_log: u16Offset of the previous undo log header (0 if first).
Implementations§
Trait Implementations§
Source§impl Clone for UndoLogHeader
impl Clone for UndoLogHeader
Source§fn clone(&self) -> UndoLogHeader
fn clone(&self) -> UndoLogHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UndoLogHeader
impl Debug for UndoLogHeader
Auto Trait Implementations§
impl Freeze for UndoLogHeader
impl RefUnwindSafe for UndoLogHeader
impl Send for UndoLogHeader
impl Sync for UndoLogHeader
impl Unpin for UndoLogHeader
impl UnwindSafe for UndoLogHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more