MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
row0uins.h File Reference
#include "univ.i"
#include "data0data.h"
#include "dict0types.h"
#include "trx0types.h"
#include "que0types.h"
#include "row0types.h"
#include "mtr0mtr.h"
#include "row0uins.ic"
Include dependency graph for row0uins.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

UNIV_INTERN dberr_t row_undo_ins (undo_node_t *node) __attribute__((nonnull

Variables

UNIV_INTERN dberr_t warn_unused_result

Detailed Description

Fresh insert undo

Created 2/25/1997 Heikki Tuuri

Definition in file row0uins.h.

Function Documentation

UNIV_INTERN dberr_t row_undo_ins ( undo_node_t node)

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.

Returns
DB_SUCCESS
Parameters
nodein: row undo node