Drizzled Public API Documentation

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*
47 /*==============================*/
48  const rec_t* rec,
49  dict_index_t* index,
50  const ulint* offsets);
51 /*****************************************************************/
55 UNIV_INTERN
56 ibool
58 /*==============================*/
59  trx_id_t trx_id,
60  mtr_t* mtr);
63 /*****************************************************************/
70 UNIV_INTERN
71 ibool
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
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
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
UNIV_INTERN ibool row_vers_old_has_index_entry(ibool also_curr, const rec_t *rec, mtr_t *mtr, dict_index_t *index, const dtuple_t *ientry)
Definition: row0vers.cc:344
UNIV_INTERN ibool row_vers_must_preserve_del_marked(trx_id_t trx_id, mtr_t *mtr)
Definition: row0vers.cc:311
UNIV_INTERN ulint row_vers_build_for_consistent_read(const rec_t *rec, mtr_t *mtr, dict_index_t *index, ulint **offsets, read_view_t *view, mem_heap_t **offset_heap, mem_heap_t *in_heap, rec_t **old_vers)
Definition: row0vers.cc:484
ib_id_t trx_id_t
Definition: trx0types.h:85
UNIV_INTERN ulint row_vers_build_for_semi_consistent_read(const rec_t *rec, mtr_t *mtr, dict_index_t *index, ulint **offsets, mem_heap_t **offset_heap, mem_heap_t *in_heap, const rec_t **old_vers)
Definition: row0vers.cc:616
UNIV_INTERN trx_t * row_vers_impl_x_locked_off_kernel(const rec_t *rec, dict_index_t *index, const ulint *offsets)
Definition: row0vers.cc:56