MySQL 8.4.4
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
trx0rec.ic File Reference

Transaction undo log record. More...

Functions

static ulint trx_undo_rec_get_type (const trx_undo_rec_t *undo_rec)
 Reads from an undo log record the record type. More...
 
static ulint trx_undo_rec_get_cmpl_info (const trx_undo_rec_t *undo_rec)
 Reads from an undo log record the record compiler info. More...
 
static bool trx_undo_rec_get_extern_storage (const trx_undo_rec_t *undo_rec)
 Returns true if an undo log record contains an extern storage field. More...
 
static undo_no_t trx_undo_rec_get_undo_no (const trx_undo_rec_t *undo_rec)
 Reads the undo log record number. More...
 
static trx_undo_rec_ttrx_undo_rec_copy (const page_t *undo_page, uint32_t undo_offset, mem_heap_t *heap)
 

Detailed Description

Transaction undo log record.

Created 3/26/1996 Heikki Tuuri

Function Documentation

◆ trx_undo_rec_copy()

static trx_undo_rec_t * trx_undo_rec_copy ( const page_t undo_page,
uint32_t  undo_offset,
mem_heap_t heap 
)
inlinestatic

◆ trx_undo_rec_get_cmpl_info()

static ulint trx_undo_rec_get_cmpl_info ( const trx_undo_rec_t undo_rec)
inlinestatic

Reads from an undo log record the record compiler info.

Returns
compiler info
Parameters
undo_recin: undo log record

◆ trx_undo_rec_get_extern_storage()

static bool trx_undo_rec_get_extern_storage ( const trx_undo_rec_t undo_rec)
inlinestatic

Returns true if an undo log record contains an extern storage field.

Returns
true if extern
Parameters
undo_recin: undo log record

◆ trx_undo_rec_get_type()

static ulint trx_undo_rec_get_type ( const trx_undo_rec_t undo_rec)
inlinestatic

Reads from an undo log record the record type.

Returns
record type
Parameters
undo_recin: undo log record

◆ trx_undo_rec_get_undo_no()

static undo_no_t trx_undo_rec_get_undo_no ( const trx_undo_rec_t undo_rec)
inlinestatic

Reads the undo log record number.

Returns
undo no
Parameters
undo_recin: undo log record