InnoDB Plugin
1.0
Main Page
Data Structures
Files
File List
Globals
include
row0vers.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (c) 1997, 2012, Oracle and/or its affiliates. All Rights Reserved.
4
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.
8
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.
12
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 Street, Suite 500, Boston, MA 02110-1335 USA
16
17
*****************************************************************************/
18
19
/**************************************************/
26
#ifndef row0vers_h
27
#define row0vers_h
28
29
#include "
univ.i
"
30
#include "
data0data.h
"
31
#include "
dict0types.h
"
32
#include "
trx0types.h
"
33
#include "
que0types.h
"
34
#include "
rem0types.h
"
35
#include "
mtr0mtr.h
"
36
#include "
read0types.h
"
37
38
/*****************************************************************/
45
UNIV_INTERN
46
trx_id_t
47
row_vers_impl_x_locked
(
48
/*===================*/
49
const
rec_t* rec,
50
dict_index_t
* index,
51
const
ulint* offsets);
52
/*****************************************************************/
56
UNIV_INTERN
57
ibool
58
row_vers_must_preserve_del_marked
(
59
/*==============================*/
60
trx_id_t
trx_id,
61
mtr_t
* mtr);
64
/*****************************************************************/
71
UNIV_INTERN
72
ibool
73
row_vers_old_has_index_entry
(
74
/*=========================*/
75
ibool
also_curr,
78
const
rec_t* rec,
80
mtr_t
* mtr,
82
dict_index_t
* index,
83
const
dtuple_t
* ientry);
84
/*****************************************************************/
89
UNIV_INTERN
90
dberr_t
91
row_vers_build_for_consistent_read
(
92
/*===============================*/
93
const
rec_t* rec,
97
mtr_t
* mtr,
99
dict_index_t
* index,
100
ulint** offsets,
102
read_view_t
* view,
103
mem_heap_t
** offset_heap,
105
mem_heap_t
* in_heap,
109
rec_t** old_vers)
113
__attribute__((nonnull(1,2,3,4,5,6,7)));
114
115
/*****************************************************************/
118
UNIV_INTERN
119
void
120
row_vers_build_for_semi_consistent_read
(
121
/*====================================*/
122
const
rec_t* rec,
126
mtr_t
* mtr,
127
dict_index_t
* index,
128
ulint** offsets,
130
mem_heap_t
** offset_heap,
132
mem_heap_t
* in_heap,
136
const
rec_t** old_vers)
139
__attribute__((nonnull(1,2,3,4,5)));
140
141
142
#ifndef UNIV_NONINL
143
#include "
row0vers.ic
"
144
#endif
145
146
#endif
Generated on Fri Aug 21 2015 19:14:24 for InnoDB Plugin by
1.8.1.2