MySQL 9.1.0
Source Code Documentation
|
Fresh insert undo. More...
#include "univ.i"
#include "data0data.h"
#include "dict0types.h"
#include "mtr0mtr.h"
#include "que0types.h"
#include "row0types.h"
#include "trx0types.h"
Go to the source code of this file.
Functions | |
dberr_t | row_undo_ins (undo_node_t *node, que_thr_t *thr) |
Undoes a fresh insert of a row to a table. More... | |
Fresh insert undo.
Created 2/25/1997 Heikki Tuuri
dberr_t row_undo_ins | ( | undo_node_t * | node, |
que_thr_t * | thr | ||
) |
Undoes a fresh insert of a row to a table.
A fresh insert means that the same clustered index unique key did not have any record, even delete marked, at the time of the insert. InnoDB is eager in a rollback: if it figures out that an index record will be removed in the purge anyway, it will remove it in the rollback.
A fresh insert means that the same clustered index unique key did not have any record, even delete marked, at the time of the insert. InnoDB is eager in a rollback: if it figures out that an index record will be removed in the purge anyway, it will remove it in the rollback.
node | in: row undo node |
thr | in: query thread |