Drizzled Public API Documentation

trx_sys_struct Struct Reference

#include <trx0sys.h>

List of all members.

Public Member Functions

 UT_LIST_BASE_NODE_T (trx_t) trx_list
 UT_LIST_BASE_NODE_T (trx_t) mysql_trx_list
 UT_LIST_BASE_NODE_T (trx_rseg_t) rseg_list
 UT_LIST_BASE_NODE_T (read_view_t) view_list

Public Attributes

trx_id_t max_trx_id
trx_rseg_tlatest_rseg
trx_rseg_trseg_array [TRX_SYS_N_RSEGS]
ulint rseg_history_len

Detailed Description

The transaction system central memory data structure; protected by the kernel mutex

Definition at line 563 of file trx0sys.h.


Member Function Documentation

List of active and committed in memory transactions, sorted on trx id, biggest first

List of transactions created for MySQL

List of rollback segment objects

List of read views sorted on trx no, biggest first


Member Data Documentation

Latest rollback segment in the round-robin assignment of rollback segments to transactions

Definition at line 578 of file trx0sys.h.

Referenced by trx_sys_init_at_db_start().

The smallest number not yet assigned as a transaction id or transaction number

Definition at line 564 of file trx0sys.h.

Referenced by lock_check_trx_id_sanity(), lock_print_info_summary(), lock_release_off_kernel(), read_cursor_view_create_for_mysql(), read_view_open_now(), and trx_sys_init_at_db_start().

Pointer array to rollback segments; NULL if slot not in use

Definition at line 582 of file trx0sys.h.

Length of the TRX_RSEG_HISTORY list (update undo logs for committed transactions), protected by rseg->mutex

Definition at line 584 of file trx0sys.h.

Referenced by lock_print_info_summary(), srv_purge_thread(), trx_purge(), trx_purge_add_update_undo_to_history(), and trx_rseg_list_and_array_init().


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