|  | MySQL 9.5.0
    Source Code Documentation | 
This structure represents INFORMATION_SCHEMA.innodb_trx row. More...
#include <trx0i_s.h>
| Public Attributes | |
| trx_id_t | trx_id | 
| transaction identifier  More... | |
| const char * | trx_state | 
| transaction state from trx_get_que_state_str()  More... | |
| std::chrono::system_clock::time_point | trx_started | 
| trx_t::start_time  More... | |
| const i_s_locks_row_t * | requested_lock_row | 
| a description of lock request if trx is waiting, or nullptr otherwise  More... | |
| std::chrono::system_clock::time_point | trx_wait_started | 
| The value of trx->lock.wait_started.  More... | |
| uintmax_t | trx_weight | 
| The value of TRX_WEIGHT(trx)  More... | |
| std::pair< bool, trx_schedule_weight_t > | trx_schedule_weight | 
| If firstistruethensecondis the value of the trx->lock.schedule_weight, otherwise thesecondshould be ignored and displayed as NULL to the end user.  More... | |
| ulint | trx_mysql_thread_id | 
| thd_get_thread_id()  More... | |
| const char * | trx_query | 
| TRX_I_S_TRX_QUERY_MAX_LEN byte prefix of MySQL statement being executed in the transaction.  More... | |
| const CHARSET_INFO * | trx_query_cs | 
| the charset of trx_query  More... | |
| const char * | trx_operation_state | 
| trx_t::op_info  More... | |
| ulint | trx_tables_in_use | 
| n_mysql_tables_in_use in trx_t  More... | |
| ulint | trx_tables_locked | 
| mysql_n_tables_locked in trx_t  More... | |
| ulint | trx_lock_structs | 
| list len of trx_locks in trx_t  More... | |
| ulint | trx_lock_memory_bytes | 
| mem_heap_get_size(trx->lock_heap)  More... | |
| ulint | trx_rows_locked | 
| lock_number_of_rows_locked()  More... | |
| uintmax_t | trx_rows_modified | 
| trx_t::undo_no  More... | |
| ulint | trx_concurrency_tickets | 
| n_tickets_to_enter_innodb in trx_t  More... | |
| const char * | trx_isolation_level | 
| isolation_level in trx_t  More... | |
| bool | trx_unique_checks | 
| check_unique_secondary in trx_t  More... | |
| bool | trx_foreign_key_checks | 
| check_foreigns in trx_t  More... | |
| const char * | trx_foreign_key_error | 
| detailed_error in trx_t  More... | |
| bool | trx_has_search_latch | 
| has_search_latch in trx_t  More... | |
| ulint | trx_is_read_only | 
| trx_t::read_only  More... | |
| ulint | trx_is_autocommit_non_locking | 
| trx_is_autocommit_non_locking(trx)  More... | |
This structure represents INFORMATION_SCHEMA.innodb_trx row.
| const i_s_locks_row_t* i_s_trx_row_t::requested_lock_row | 
a description of lock request if trx is waiting, or nullptr otherwise
| ulint i_s_trx_row_t::trx_concurrency_tickets | 
n_tickets_to_enter_innodb in trx_t
| bool i_s_trx_row_t::trx_foreign_key_checks | 
check_foreigns in trx_t
| const char* i_s_trx_row_t::trx_foreign_key_error | 
detailed_error in trx_t
| bool i_s_trx_row_t::trx_has_search_latch | 
has_search_latch in trx_t
| trx_id_t i_s_trx_row_t::trx_id | 
transaction identifier
| ulint i_s_trx_row_t::trx_is_autocommit_non_locking | 
trx_is_autocommit_non_locking(trx)
| ulint i_s_trx_row_t::trx_is_read_only | 
trx_t::read_only
| const char* i_s_trx_row_t::trx_isolation_level | 
isolation_level in trx_t
| ulint i_s_trx_row_t::trx_lock_memory_bytes | 
mem_heap_get_size(trx->lock_heap)
| ulint i_s_trx_row_t::trx_lock_structs | 
list len of trx_locks in trx_t
| ulint i_s_trx_row_t::trx_mysql_thread_id | 
thd_get_thread_id()
| const char* i_s_trx_row_t::trx_operation_state | 
trx_t::op_info
| const char* i_s_trx_row_t::trx_query | 
TRX_I_S_TRX_QUERY_MAX_LEN byte prefix of MySQL statement being executed in the transaction.
| const CHARSET_INFO* i_s_trx_row_t::trx_query_cs | 
the charset of trx_query
| ulint i_s_trx_row_t::trx_rows_locked | 
lock_number_of_rows_locked()
| uintmax_t i_s_trx_row_t::trx_rows_modified | 
trx_t::undo_no
| std::pair<bool, trx_schedule_weight_t> i_s_trx_row_t::trx_schedule_weight | 
If first is true then second is the value of the trx->lock.schedule_weight, otherwise the second should be ignored and displayed as NULL to the end user. 
(This could be std::optional once we move to C++17)
| std::chrono::system_clock::time_point i_s_trx_row_t::trx_started | 
trx_t::start_time
| const char* i_s_trx_row_t::trx_state | 
transaction state from trx_get_que_state_str()
| ulint i_s_trx_row_t::trx_tables_in_use | 
n_mysql_tables_in_use in trx_t
| ulint i_s_trx_row_t::trx_tables_locked | 
mysql_n_tables_locked in trx_t
| bool i_s_trx_row_t::trx_unique_checks | 
check_unique_secondary in trx_t
| std::chrono::system_clock::time_point i_s_trx_row_t::trx_wait_started | 
The value of trx->lock.wait_started.
| uintmax_t i_s_trx_row_t::trx_weight | 
The value of TRX_WEIGHT(trx)