The index tree persistent cursor.
The index tree general types.
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:315
undo_exec
Execution state of an undo node.
Definition: row0undo.h:91
@ UNDO_NODE_FETCH_NEXT
we should fetch the next undo log record
Definition: row0undo.h:92
@ UNDO_NODE_INSERT
undo a fresh insert of a row to a table
Definition: row0undo.h:94
@ UNDO_NODE_MODIFY
undo a modify operation (DELETE or UPDATE) on a row of a table
Definition: row0undo.h:96
que_thr_t * row_undo_step(que_thr_t *thr)
Undoes a row operation in a table.
Definition: row0undo.cc:347
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:159
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:129
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:1046
Data structure for a database table.
Definition: dict0mem.h:1909
Structure for an SQL data tuple of fields (logical record)
Definition: data0data.h:694
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:102
ulint rec_type
undo log record type: TRX_UNDO_INSERT_REC, ...
Definition: row0undo.h:109
undo_no_t undo_no
undo number of the record
Definition: row0undo.h:108
dtuple_t * undo_row
NULL, or the row after undo.
Definition: row0undo.h:124
upd_t * update
update vector for a clustered index record
Definition: row0undo.h:117
row_ext_t * ext
NULL, or prefixes of the externally stored columns of the row.
Definition: row0undo.h:122
btr_pcur_t pcur
persistent cursor used in searching the clustered index record
Definition: row0undo.h:113
trx_id_t new_trx_id
trx id to restore to clustered index record
Definition: row0undo.h:111
enum undo_exec state
node execution state
Definition: row0undo.h:104
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:129
dtuple_t * ref
row reference to the next row to handle
Definition: row0undo.h:119
dict_index_t * index
the next index whose record should be handled
Definition: row0undo.h:127
trx_t * trx
trx for which undo is done
Definition: row0undo.h:105
roll_ptr_t roll_ptr
roll pointer to undo log record
Definition: row0undo.h:106
dtuple_t * row
a copy (also fields copied to heap) of the row to handle
Definition: row0undo.h:120
dict_table_t * table
table where undo is done
Definition: row0undo.h:115
trx_undo_rec_t * undo_rec
undo log record
Definition: row0undo.h:107
bool partial
true if partial rollback
Definition: row0undo.h:132
que_common_t common
node type: QUE_NODE_UNDO
Definition: row0undo.h:103
ulint cmpl_info
compiler analysis of an update
Definition: row0undo.h:116
row_ext_t * undo_ext
NULL, or prefixes of the externally stored columns of undo_row.
Definition: row0undo.h:125
Definition: row0upd.h:565
Transaction system global type definitions.
byte trx_undo_rec_t
Undo log record.
Definition: trx0types.h:167
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