InnoDB Plugin  1.0
Functions
trx0rec.ic File Reference
This graph shows which files directly or indirectly include this file:

Functions

UNIV_INLINE ulint trx_undo_rec_get_type (const trx_undo_rec_t *undo_rec)
UNIV_INLINE ulint trx_undo_rec_get_cmpl_info (const trx_undo_rec_t *undo_rec)
UNIV_INLINE ibool trx_undo_rec_get_extern_storage (const trx_undo_rec_t *undo_rec)
UNIV_INLINE undo_no_t trx_undo_rec_get_undo_no (const trx_undo_rec_t *undo_rec)
UNIV_INLINE ulint trx_undo_rec_get_offset (undo_no_t undo_no)
UNIV_INLINE trx_undo_rec_ttrx_undo_rec_copy (const trx_undo_rec_t *undo_rec, mem_heap_t *heap)

Detailed Description

Transaction undo log record

Created 3/26/1996 Heikki Tuuri

Function Documentation

UNIV_INLINE trx_undo_rec_t* trx_undo_rec_copy ( const trx_undo_rec_t undo_rec,
mem_heap_t heap 
)

Copies the undo record to the heap.

Returns
own: copy of undo log record
Parameters
undo_recin: undo log record
heapin: heap where copied
UNIV_INLINE ulint trx_undo_rec_get_cmpl_info ( const trx_undo_rec_t undo_rec)

Reads from an undo log record the record compiler info.

Returns
compiler info
Parameters
undo_recin: undo log record
UNIV_INLINE ibool 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.

Returns
TRUE if extern
Parameters
undo_recin: undo log record
UNIV_INLINE ulint trx_undo_rec_get_offset ( undo_no_t  undo_no)

Returns the start of the undo record data area.

Returns
offset to the data area
Parameters
undo_noin: undo no read from node
UNIV_INLINE ulint trx_undo_rec_get_type ( const trx_undo_rec_t undo_rec)

Reads from an undo log record the record type.

Returns
record type
Parameters
undo_recin: undo log record
UNIV_INLINE undo_no_t trx_undo_rec_get_undo_no ( const trx_undo_rec_t undo_rec)

Reads the undo log record number.

Returns
undo no
Parameters
undo_recin: undo log record