1 /*****************************************************************************
3 Copyright (c) 1997, 2009, Innobase Oy. All Rights Reserved.
5 This program is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free Software
7 Foundation; version 2 of the License.
9 This program is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License along with
14 this program; if not, write to the Free Software Foundation, Inc.,
15 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 *****************************************************************************/
19 /**************************************************//**
20 @file include/row0uins.h
23 Created 2/25/1997 Heikki Tuuri
24 *******************************************************/
30 #include "data0data.h"
31 #include "dict0types.h"
32 #include "trx0types.h"
33 #include "que0types.h"
34 #include "row0types.h"
37 /***********************************************************//**
38 Undoes a fresh insert of a row to a table. A fresh insert means that
39 the same clustered index unique key did not have any record, even delete
40 marked, at the time of the insert. InnoDB is eager in a rollback:
41 if it figures out that an index record will be removed in the purge
42 anyway, it will remove it in the rollback.
48 undo_node_t
* node
); /*!< in: row undo node */
51 #include "row0uins.ic"