The index tree persistent cursor.
The index tree general types.
Allows to monitor an event processing times, allowing to throttle the processing to one per throttle_...
Definition: ut0ut.h:368
Data dictionary global types.
Query graph global types.
Row operation global types.
void row_convert_impl_to_expl_if_needed(btr_cur_t *cursor, undo_node_t *node)
Converts an implicit lock on the record to explicit in case of partial rollback.
Definition: row0undo.cc:377
undo_exec
Execution state of an undo node.
Definition: row0undo.h:92
@ UNDO_NODE_FETCH_NEXT
we should fetch the next undo log record
Definition: row0undo.h:93
@ UNDO_NODE_INSERT
undo a fresh insert of a row to a table
Definition: row0undo.h:95
@ UNDO_NODE_MODIFY
undo a modify operation (DELETE or UPDATE) on a row of a table
Definition: row0undo.h:97
que_thr_t * row_undo_step(que_thr_t *thr)
Undoes a row operation in a table.
Definition: row0undo.cc:408
undo_node_t * row_undo_node_create(trx_t &trx, que_thr_t *parent, mem_heap_t *heap, bool partial_rollback)
Creates a row undo node to a query graph.
Definition: row0undo.cc:151
bool row_undo_search_clust_to_pcur(undo_node_t *node)
Looks for the clustered index record when node has the row reference.
Definition: row0undo.cc:172
State of long running undo operation for purpose of writing periodic messages to error log.
Definition: row0undo.h:104
Long_undo_state(const trx_t &)
Definition: row0undo.cc:144
bool have_logged
flag which is set when at least one message is logged
Definition: row0undo.h:110
trx_state_t trx_state
transaction state before rollback
Definition: row0undo.h:116
undo_no_t rows_total
total number of rows to roll back
Definition: row0undo.h:113
ib::Throttler throttler
timer for printing out log messages for long-running rollbacks
Definition: row0undo.h:107
The tree cursor: the definition appears here only for the compiler to know struct size!
Definition: btr0cur.h:668
Definition: btr0pcur.h:99
Data structure for an index.
Definition: dict0mem.h:1041
Data structure for a database table.
Definition: dict0mem.h:1904
Structure for an SQL data tuple of fields (logical record)
Definition: data0data.h:696
The info structure stored at the beginning of a heap block.
Definition: mem0mem.h:302
Definition: que0types.h:51
Definition: que0que.h:242
Prefixes of externally stored columns.
Definition: row0ext.h:95
Definition: trx0trx.h:675
Undo node structure.
Definition: row0undo.h:120
ulint rec_type
undo log record type: TRX_UNDO_INSERT_REC, ...
Definition: row0undo.h:141
undo_no_t undo_no
undo number of the record
Definition: row0undo.h:138
dtuple_t * undo_row
NULL, or the row after undo.
Definition: row0undo.h:168
upd_t * update
update vector for a clustered index record
Definition: row0undo.h:156
row_ext_t * ext
NULL, or prefixes of the externally stored columns of the row.
Definition: row0undo.h:165
Long_undo_state long_undo_state
state of long-running undo
Definition: row0undo.h:184
btr_pcur_t pcur
persistent cursor used in searching the clustered index record
Definition: row0undo.h:147
trx_id_t new_trx_id
trx id to restore to clustered index record
Definition: row0undo.h:144
enum undo_exec state
node execution state
Definition: row0undo.h:126
mem_heap_t * heap
memory heap used as auxiliary storage for row; this must be emptied after undo is tried on a row
Definition: row0undo.h:178
dtuple_t * ref
row reference to the next row to handle
Definition: row0undo.h:159
undo_node_t(trx_t &, que_thr_t *parent, bool partial_rollback)
Definition: row0undo.cc:132
dict_index_t * index
the next index whose record should be handled
Definition: row0undo.h:174
roll_ptr_t roll_ptr
roll pointer to undo log record
Definition: row0undo.h:132
trx_t & trx
trx for which undo is done
Definition: row0undo.h:129
dtuple_t * row
a copy (also fields copied to heap) of the row to handle
Definition: row0undo.h:162
dict_table_t * table
table where undo is done
Definition: row0undo.h:150
trx_undo_rec_t * undo_rec
undo log record
Definition: row0undo.h:135
bool partial
true if partial rollback
Definition: row0undo.h:181
que_common_t common
node type: QUE_NODE_UNDO
Definition: row0undo.h:123
ulint cmpl_info
compiler analysis of an update
Definition: row0undo.h:153
row_ext_t * undo_ext
NULL, or prefixes of the externally stored columns of undo_row.
Definition: row0undo.h:171
Definition: row0upd.h:565
Transaction system global type definitions.
byte trx_undo_rec_t
Undo log record.
Definition: trx0types.h:167
trx_state_t
Transaction states (trx_t::state)
Definition: trx0types.h:80
ib_id_t undo_no_t
Undo number.
Definition: trx0types.h:142
ib_id_t trx_id_t
Transaction identifier (DB_TRX_ID, DATA_TRX_ID)
Definition: trx0types.h:138
ib_id_t roll_ptr_t
Rollback pointer (DB_ROLL_PTR, DATA_ROLL_PTR)
Definition: trx0types.h:140
Version control for database, common definitions, and include files.
unsigned long int ulint
Definition: univ.i:406