MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
row0undo.cc File Reference
#include "row0undo.h"
#include "fsp0fsp.h"
#include "mach0data.h"
#include "trx0rseg.h"
#include "trx0trx.h"
#include "trx0roll.h"
#include "trx0undo.h"
#include "trx0purge.h"
#include "trx0rec.h"
#include "que0que.h"
#include "row0row.h"
#include "row0uins.h"
#include "row0umod.h"
#include "row0upd.h"
#include "row0mysql.h"
#include "srv0srv.h"
Include dependency graph for row0undo.cc:

Go to the source code of this file.

Functions

UNIV_INTERN undo_node_trow_undo_node_create (trx_t *trx, que_thr_t *parent, mem_heap_t *heap)
UNIV_INTERN ibool row_undo_search_clust_to_pcur (undo_node_t *node)

Detailed Description

Row undo

Created 1/8/1997 Heikki Tuuri

Definition in file row0undo.cc.

Function Documentation

UNIV_INTERN undo_node_t* row_undo_node_create ( trx_t trx,
que_thr_t parent,
mem_heap_t heap 
)

Creates a row undo node to a query graph.

Returns
own: undo node
Parameters
trxin: transaction
parentin: parent node, i.e., a thr node
heapin: memory heap where created

Definition at line 128 of file row0undo.cc.

Here is the call graph for this function:

UNIV_INTERN ibool row_undo_search_clust_to_pcur ( undo_node_t node)

Looks for the clustered index record when node has the row reference. The pcur in node is used in the search. If found, stores the row to node, and stores the position of pcur, and detaches it. The pcur must be closed by the caller in any case.

Returns
TRUE if found; NOTE the node->pcur must be closed by the caller, regardless of the return value
Parameters
nodein: row undo node

Definition at line 163 of file row0undo.cc.

Here is the call graph for this function: