MySQL 9.0.0
Source Code Documentation
undo_node_t Struct Reference

Undo node structure. More...

#include <row0undo.h>

Public Member Functions

 undo_node_t (trx_t &, que_thr_t *parent, bool partial_rollback)
 

Public Attributes

que_common_t common
 node type: QUE_NODE_UNDO More...
 
enum undo_exec state
 node execution state More...
 
trx_ttrx
 trx for which undo is done More...
 
roll_ptr_t roll_ptr
 roll pointer to undo log record More...
 
trx_undo_rec_tundo_rec
 undo log record More...
 
undo_no_t undo_no
 undo number of the record More...
 
ulint rec_type
 undo log record type: TRX_UNDO_INSERT_REC, ... More...
 
trx_id_t new_trx_id
 trx id to restore to clustered index record More...
 
btr_pcur_t pcur
 persistent cursor used in searching the clustered index record More...
 
dict_table_ttable
 table where undo is done More...
 
ulint cmpl_info
 compiler analysis of an update More...
 
upd_tupdate
 update vector for a clustered index record More...
 
dtuple_tref
 row reference to the next row to handle More...
 
dtuple_trow
 a copy (also fields copied to heap) of the row to handle More...
 
row_ext_text
 NULL, or prefixes of the externally stored columns of the row. More...
 
dtuple_tundo_row
 NULL, or the row after undo. More...
 
row_ext_tundo_ext
 NULL, or prefixes of the externally stored columns of undo_row. More...
 
dict_index_tindex
 the next index whose record should be handled More...
 
mem_heap_theap
 memory heap used as auxiliary storage for row; this must be emptied after undo is tried on a row More...
 
bool partial
 true if partial rollback More...
 
Long_undo_state long_undo_state
 state of long-running undo More...
 

Detailed Description

Undo node structure.

Constructor & Destructor Documentation

◆ undo_node_t()

undo_node_t::undo_node_t ( trx_t trx,
que_thr_t parent,
bool  partial_rollback 
)

Member Data Documentation

◆ cmpl_info

ulint undo_node_t::cmpl_info

compiler analysis of an update

◆ common

que_common_t undo_node_t::common

node type: QUE_NODE_UNDO

◆ ext

row_ext_t* undo_node_t::ext

NULL, or prefixes of the externally stored columns of the row.

◆ heap

mem_heap_t* undo_node_t::heap

memory heap used as auxiliary storage for row; this must be emptied after undo is tried on a row

◆ index

dict_index_t* undo_node_t::index

the next index whose record should be handled

◆ long_undo_state

Long_undo_state undo_node_t::long_undo_state

state of long-running undo

◆ new_trx_id

trx_id_t undo_node_t::new_trx_id

trx id to restore to clustered index record

◆ partial

bool undo_node_t::partial

true if partial rollback

◆ pcur

btr_pcur_t undo_node_t::pcur

persistent cursor used in searching the clustered index record

◆ rec_type

ulint undo_node_t::rec_type

undo log record type: TRX_UNDO_INSERT_REC, ...

◆ ref

dtuple_t* undo_node_t::ref

row reference to the next row to handle

◆ roll_ptr

roll_ptr_t undo_node_t::roll_ptr

roll pointer to undo log record

◆ row

dtuple_t* undo_node_t::row

a copy (also fields copied to heap) of the row to handle

◆ state

enum undo_exec undo_node_t::state

node execution state

◆ table

dict_table_t* undo_node_t::table

table where undo is done

◆ trx

trx_t& undo_node_t::trx

trx for which undo is done

◆ undo_ext

row_ext_t* undo_node_t::undo_ext

NULL, or prefixes of the externally stored columns of undo_row.

◆ undo_no

undo_no_t undo_node_t::undo_no

undo number of the record

◆ undo_rec

trx_undo_rec_t* undo_node_t::undo_rec

undo log record

◆ undo_row

dtuple_t* undo_node_t::undo_row

NULL, or the row after undo.

◆ update

upd_t* undo_node_t::update

update vector for a clustered index record


The documentation for this struct was generated from the following files: