Drizzled Public API Documentation

trx_rseg_struct Struct Reference

Public Member Functions

 UT_LIST_BASE_NODE_T (trx_undo_t) update_undo_list
 UT_LIST_BASE_NODE_T (trx_undo_t) update_undo_cached
 UT_LIST_BASE_NODE_T (trx_undo_t) insert_undo_list
 UT_LIST_BASE_NODE_T (trx_undo_t) insert_undo_cached
 UT_LIST_NODE_T (trx_rseg_t) rseg_list

Public Attributes

ulint id
mutex_t mutex
ulint space
ulint zip_size
ulint page_no
ulint max_size
ulint curr_size
ulint last_page_no
ulint last_offset
trx_id_t last_trx_no
ibool last_del_marks

Detailed Description

Definition at line 140 of file trx0rseg.h.

Member Data Documentation

ulint trx_rseg_struct::id

rollback segment id == the index of its slot in the trx system file copy

Definition at line 142 of file trx0rseg.h.

Referenced by trx_rseg_get_on_id(), trx_rseg_mem_free(), and trx_undo_report_row_operation().

ibool trx_rseg_struct::last_del_marks

TRUE if the last not yet purged log needs purging

Definition at line 178 of file trx0rseg.h.

Referenced by trx_purge_add_update_undo_to_history().

ulint trx_rseg_struct::last_offset

Byte offset of the last not yet purged log header

Definition at line 174 of file trx0rseg.h.

Referenced by trx_purge_add_update_undo_to_history().

ulint trx_rseg_struct::last_page_no

Page number of the last not yet purged log header in the history list; FIL_NULL if all list purged

Definition at line 171 of file trx0rseg.h.

Referenced by trx_purge_add_update_undo_to_history().

trx_id_t trx_rseg_struct::last_trx_no

Transaction number of the last not yet purged log

Definition at line 176 of file trx0rseg.h.

Referenced by trx_purge_add_update_undo_to_history().

mutex_t trx_rseg_struct::mutex

mutex protecting the fields in this struct except id; NOTE that the latching order must always be kernel mutex -> rseg mutex

Definition at line 144 of file trx0rseg.h.

Referenced by trx_commit_off_kernel(), trx_purge_add_update_undo_to_history(), trx_roll_pop_top_rec_of_trx(), trx_rseg_mem_free(), trx_undo_add_page(), trx_undo_assign_undo(), trx_undo_insert_cleanup(), trx_undo_report_row_operation(), trx_undo_truncate_end(), trx_undo_truncate_start(), and trx_undo_update_cleanup().

ulint trx_rseg_struct::space

space where the rollback segment is header is placed

Definition at line 148 of file trx0rseg.h.

Referenced by trx_purge_add_update_undo_to_history(), trx_undo_get_undo_rec_low(), and trx_undo_lists_init().


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