Definition at line 473 of file trx0trx.h.
◆ session() [1/2]
◆ session() [2/2]
◆ autoinc_locks
◆ check_foreigns
| ulint trx_struct::check_foreigns |
◆ check_unique_secondary
| unsigned trx_struct::check_unique_secondary |
◆ commit_lsn
| ib_uint64_t trx_struct::commit_lsn |
lsn at the time of the commit
Definition at line 555 of file trx0trx.h.
◆ conc_state
| ulint trx_struct::conc_state |
state of the trx from the point of view of concurrency control: TRX_ACTIVE, TRX_COMMITTED_IN_MEMORY, ...
Definition at line 480 of file trx0trx.h.
◆ deadlock_mark
| ulint trx_struct::deadlock_mark |
a mark field used in deadlock checking algorithm.
Definition at line 517 of file trx0trx.h.
◆ declared_to_be_inside_innodb
| ulint trx_struct::declared_to_be_inside_innodb |
◆ detailed_error
| char trx_struct::detailed_error[256] |
detailed error message for last error, or empty.
Definition at line 717 of file trx0trx.h.
◆ dict_operation
◆ dict_operation_lock_mode
| ulint trx_struct::dict_operation_lock_mode |
0, RW_S_LATCH, or RW_X_LATCH: the latch mode trx currently holds on dict_operation_lock
Definition at line 530 of file trx0trx.h.
◆ duplicates
| ulint trx_struct::duplicates |
TRX_DUP_IGNORE | TRX_DUP_REPLACE
Definition at line 513 of file trx0trx.h.
◆ error_info
| const dict_index_t* trx_struct::error_info |
if the error number indicates a duplicate key error, a pointer to the problematic index is stored here
Definition at line 606 of file trx0trx.h.
◆ error_key_num
| ulint trx_struct::error_key_num |
if the index creation fails to a duplicate key error, a mysql key number of that index is stored here
Definition at line 609 of file trx0trx.h.
◆ error_state
| ulint trx_struct::error_state |
0 if no error, otherwise error number; NOTE That ONLY the thread doing the transaction is allowed to set this field: this is NOT protected by the kernel mutex
Definition at line 601 of file trx0trx.h.
◆ flush_log_later
| unsigned trx_struct::flush_log_later |
◆ global_read_view
| read_view_t* trx_struct::global_read_view |
◆ global_read_view_heap
| mem_heap_t* trx_struct::global_read_view_heap |
◆ graph
query currently run in the session, or NULL if none; NOTE that the query belongs to the session, and it can survive over a transaction commit, if it is a stored procedure with a COMMIT WORK statement, for instance
Definition at line 613 of file trx0trx.h.
◆ graph_before_signal_handling
| que_t* trx_struct::graph_before_signal_handling |
◆ handling_signals
| ulint trx_struct::handling_signals |
◆ has_search_latch
| unsigned trx_struct::has_search_latch |
◆ id
◆ insert_undo
pointer to the insert undo log, or NULL if no inserts performed yet
Definition at line 696 of file trx0trx.h.
◆ is_purge
| ulint trx_struct::is_purge |
0=user transaction, 1=purge
Definition at line 537 of file trx0trx.h.
◆ is_recovered
| ulint trx_struct::is_recovered |
0=normal transaction, 1=recovered, must be rolled back
Definition at line 538 of file trx0trx.h.
◆ isolation_level
| ulint trx_struct::isolation_level |
◆ last_sql_stat_start
◆ lock_heap
| mem_heap_t* trx_struct::lock_heap |
memory heap for the locks of the transaction
Definition at line 653 of file trx0trx.h.
◆ log_commit_id
| ibool trx_struct::log_commit_id |
log the commit id to the sys file
Definition at line 720 of file trx0trx.h.
◆ magic_n
| ulint trx_struct::magic_n |
◆ must_flush_log_later
| unsigned trx_struct::must_flush_log_later |
◆ mysql_log_file_name
| const char* trx_struct::mysql_log_file_name |
◆ mysql_log_offset
| ib_int64_t trx_struct::mysql_log_offset |
◆ mysql_n_tables_locked
| ulint trx_struct::mysql_n_tables_locked |
◆ mysql_process_no
| ulint trx_struct::mysql_process_no |
◆ mysql_thd
MySQL thread handle corresponding to this trx, or NULL
Definition at line 559 of file trx0trx.h.
◆ mysql_thread_id
◆ mysql_trx_list
| trx_struct::mysql_trx_list |
list of transactions created for MySQL
Definition at line 598 of file trx0trx.h.
◆ n_active_thrs
| ulint trx_struct::n_active_thrs |
number of active query threads
Definition at line 619 of file trx0trx.h.
◆ n_autoinc_rows
| ulint trx_struct::n_autoinc_rows |
no. of AUTO-INC rows required for an SQL statement. This is useful for multi-row INSERTs
Definition at line 708 of file trx0trx.h.
◆ n_tickets_to_enter_innodb
| ulint trx_struct::n_tickets_to_enter_innodb |
◆ no
transaction serialization number == max trx id when the transaction is moved to COMMITTED_IN_MEMORY state
Definition at line 552 of file trx0trx.h.
◆ op_info
| const char* trx_struct::op_info |
English text describing the current operation, or an empty string
Definition at line 477 of file trx0trx.h.
◆ pages_undone
| ulint trx_struct::pages_undone |
number of undo log pages undone since the last undo log truncation
Definition at line 702 of file trx0trx.h.
◆ que_state
| ulint trx_struct::que_state |
valid when conc_state == TRX_ACTIVE: TRX_QUE_RUNNING, TRX_QUE_LOCK_WAIT, ...
Definition at line 540 of file trx0trx.h.
◆ read_view
| read_view_t* trx_struct::read_view |
consistent read view used in the transaction or NULL, this read view if defined can be normal read view associated to a transaction (i.e. same as global_read_view) or read view associated to a cursor
Definition at line 664 of file trx0trx.h.
◆ reply_signals
| trx_struct::reply_signals |
list of signals sent by the query threads of this trx for which a thread is waiting for a reply; if this trx is killed, the reply requests in the list must be canceled
Definition at line 631 of file trx0trx.h.
◆ roll_limit
least undo number to undo during a rollback
Definition at line 700 of file trx0trx.h.
◆ rseg
rollback segment assigned to the transaction, or NULL if not assigned yet
Definition at line 693 of file trx0trx.h.
◆ search_latch_timeout
| ulint trx_struct::search_latch_timeout |
◆ sess
session of the trx, NULL if none
Definition at line 612 of file trx0trx.h.
◆ sig
one signal object can be allocated in this space, avoiding mem_alloc
Definition at line 625 of file trx0trx.h.
◆ signals
queue of processed or pending signals to the trx
Definition at line 628 of file trx0trx.h.
◆ start_time
| time_t trx_struct::start_time |
time the trx object was created or the state last time became TRX_ACTIVE
Definition at line 545 of file trx0trx.h.
◆ support_xa
| unsigned trx_struct::support_xa |
normally we do the XA two-phase commit steps, but by setting this to FALSE, one can save CPU time and about 150 bytes in the undo log size as then we skip XA steps
Definition at line 496 of file trx0trx.h.
◆ table_id
| table_id_t trx_struct::table_id |
Table to drop iff dict_operation is TRUE, or 0.
Definition at line 556 of file trx0trx.h.
◆ trx_list
list of transactions
Definition at line 596 of file trx0trx.h.
◆ trx_locks
locks reserved by the transaction
Definition at line 656 of file trx0trx.h.
◆ trx_savepoints
| trx_struct::trx_savepoints |
savepoints set with SAVEPOINT ..., oldest first
Definition at line 672 of file trx0trx.h.
◆ undo_mutex
mutex protecting the fields in this section (down to undo_no_arr), EXCEPT last_sql_stat_start, which can be accessed only when we know that there cannot be any activity in the undo logs!
Definition at line 675 of file trx0trx.h.
◆ undo_no
next undo log record number to assign; since the undo log is private for a transaction, this is a simple ascending sequence with no gaps; thus it represents the number of modified/inserted rows in a transaction
Definition at line 681 of file trx0trx.h.
◆ undo_no_arr
array of undo numbers of undo log records which are currently processed by a rollback operation
Definition at line 704 of file trx0trx.h.
◆ update_undo
pointer to the update undo log, or NULL if no update performed yet
Definition at line 698 of file trx0trx.h.
◆ wait_lock
| lock_t* trx_struct::wait_lock |
if trx execution state is TRX_QUE_LOCK_WAIT, this points to the lock request, otherwise this is NULL
Definition at line 637 of file trx0trx.h.
◆ wait_started
| time_t trx_struct::wait_started |
lock wait started at this time
Definition at line 647 of file trx0trx.h.
◆ wait_thrs
query threads belonging to this trx that are in the QUE_THR_LOCK_WAIT state
Definition at line 649 of file trx0trx.h.
◆ was_chosen_as_deadlock_victim
| ibool trx_struct::was_chosen_as_deadlock_victim |
◆ xid
X/Open XA transaction identification to identify a transaction branch
Definition at line 549 of file trx0trx.h.
The documentation for this struct was generated from the following file: