Drizzled Public API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
row0vers.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (C) 1997, 2009, Innobase Oy. 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., 51 Franklin
15
St, Fifth Floor, Boston, MA 02110-1301 USA
16
17
*****************************************************************************/
18
19
/**************************************************/
26
#pragma once
27
#ifndef row0vers_h
28
#define row0vers_h
29
30
#include "univ.i"
31
#include "
data0data.h
"
32
#include "
dict0types.h
"
33
#include "
trx0types.h
"
34
#include "
que0types.h
"
35
#include "
rem0types.h
"
36
#include "
mtr0mtr.h
"
37
#include "
read0types.h
"
38
39
/*****************************************************************/
44
UNIV_INTERN
45
trx_t
*
46
row_vers_impl_x_locked_off_kernel
(
47
/*==============================*/
48
const
rec_t* rec,
49
dict_index_t
* index,
50
const
ulint* offsets);
51
/*****************************************************************/
55
UNIV_INTERN
56
ibool
57
row_vers_must_preserve_del_marked
(
58
/*==============================*/
59
trx_id_t
trx_id,
60
mtr_t
* mtr);
63
/*****************************************************************/
70
UNIV_INTERN
71
ibool
72
row_vers_old_has_index_entry
(
73
/*=========================*/
74
ibool also_curr,
77
const
rec_t* rec,
79
mtr_t
* mtr,
81
dict_index_t
* index,
82
const
dtuple_t
* ientry);
83
/*****************************************************************/
88
UNIV_INTERN
89
ulint
90
row_vers_build_for_consistent_read
(
91
/*===============================*/
92
const
rec_t* rec,
96
mtr_t
* mtr,
98
dict_index_t
* index,
99
ulint** offsets,
101
read_view_t
* view,
102
mem_heap_t
** offset_heap,
104
mem_heap_t
* in_heap,
108
rec_t** old_vers);
112
/*****************************************************************/
116
UNIV_INTERN
117
ulint
118
row_vers_build_for_semi_consistent_read
(
119
/*====================================*/
120
const
rec_t* rec,
124
mtr_t
* mtr,
125
dict_index_t
* index,
126
ulint** offsets,
128
mem_heap_t
** offset_heap,
130
mem_heap_t
* in_heap,
134
const
rec_t** old_vers);
139
#ifndef UNIV_NONINL
140
#include "row0vers.ic"
141
#endif
142
143
#endif
plugin
innobase
include
row0vers.h
Generated on Sun Jun 3 2012 18:09:25 for drizzle by
1.8.1