Drizzled Public API Documentation

trx_undo_struct Struct Reference

#include <trx0undo.h>

List of all members.

Public Member Functions

 UT_LIST_NODE_T (trx_undo_t) undo_list

Public Attributes

ulint id
ulint type
ulint state
ibool del_marks
trx_id_t trx_id
XID xid
ibool dict_operation
table_id_t table_id
trx_rseg_trseg
ulint space
ulint zip_size
ulint hdr_page_no
ulint hdr_offset
ulint last_page_no
ulint size
ulint empty
ulint top_page_no
ulint top_offset
undo_no_t top_undo_no
buf_block_tguess_block

Detailed Description

Transaction undo log memory object; this is protected by the undo_mutex in the corresponding transaction object

Definition at line 364 of file trx0undo.h.


Member Function Documentation

trx_undo_struct::UT_LIST_NODE_T ( trx_undo_t  )

undo log objects in the rollback segment are chained into lists


Member Data Documentation

relevant only in an update undo log: this is TRUE if the transaction may have delete marked records, because of a delete of a row or an update of an indexed field; purge is then necessary; also TRUE if the transaction has updated an externally stored field

Definition at line 372 of file trx0undo.h.

Referenced by trx_purge_add_update_undo_to_history().

TRUE if a dict operation trx

Definition at line 384 of file trx0undo.h.

Referenced by trx_lists_init_at_db_start().

TRUE if the stack of undo log records is currently empty

Definition at line 402 of file trx0undo.h.

Referenced by trx_lists_init_at_db_start(), trx_roll_pop_top_rec_of_trx(), and trx_undo_report_row_operation().

guess for the buffer block where the top page might reside

Definition at line 412 of file trx0undo.h.

Referenced by trx_undo_report_row_operation().

header offset of the undo log on the page

Definition at line 395 of file trx0undo.h.

Referenced by trx_purge_add_update_undo_to_history(), and trx_undo_truncate_end().

undo log slot number within the rollback segment

Definition at line 366 of file trx0undo.h.

Referenced by trx_purge_add_update_undo_to_history(), trx_undo_mem_free(), trx_undo_set_state_at_finish(), and trx_undo_set_state_at_prepare().

page number of the last page in the undo log; this may differ from top_page_no during a rollback

Definition at line 397 of file trx0undo.h.

Referenced by trx_undo_add_page(), trx_undo_report_row_operation(), and trx_undo_truncate_end().

rseg where the undo log belongs

Definition at line 387 of file trx0undo.h.

Referenced by trx_purge_add_update_undo_to_history(), and trx_roll_pop_top_rec_of_trx().

if a dict operation, then the table id

Definition at line 385 of file trx0undo.h.

Referenced by trx_lists_init_at_db_start().

offset of the latest undo record, i.e., the topmost element in the undo log if we think of it as a stack

Definition at line 408 of file trx0undo.h.

Referenced by trx_roll_pop_top_rec_of_trx(), and trx_undo_report_row_operation().

page number where the latest undo log record was catenated; during rollback the page from which the latest undo record was chosen

Definition at line 404 of file trx0undo.h.

Referenced by trx_roll_pop_top_rec_of_trx(), trx_undo_add_page(), and trx_undo_report_row_operation().

id of the trx assigned to the undo log

Definition at line 380 of file trx0undo.h.

Referenced by trx_lists_init_at_db_start().

TRX_UNDO_INSERT or TRX_UNDO_UPDATE

Definition at line 368 of file trx0undo.h.

Referenced by trx_undo_add_page(), and trx_undo_set_state_at_finish().

X/Open XA transaction identification

Definition at line 382 of file trx0undo.h.

Referenced by trx_lists_init_at_db_start(), and trx_undo_set_state_at_prepare().

compressed page size of space in bytes, or 0 for uncompressed

Definition at line 391 of file trx0undo.h.

Referenced by trx_undo_add_page(), trx_undo_report_row_operation(), trx_undo_set_state_at_finish(), trx_undo_set_state_at_prepare(), and trx_undo_truncate_end().


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