drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
row0vers.h
Go to the documentation of this file.
1/*****************************************************************************
2
3Copyright (C) 1997, 2009, Innobase Oy. All Rights Reserved.
4
5This program is free software; you can redistribute it and/or modify it under
6the terms of the GNU General Public License as published by the Free Software
7Foundation; version 2 of the License.
8
9This program is distributed in the hope that it will be useful, but WITHOUT
10ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License along with
14this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15St, Fifth Floor, Boston, MA 02110-1301 USA
16
17*****************************************************************************/
18
19/**************************************************/
25
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/*****************************************************************/
44UNIV_INTERN
45trx_t*
47/*==============================*/
48 const rec_t* rec,
49 dict_index_t* index,
50 const ulint* offsets);
51/*****************************************************************/
55UNIV_INTERN
56ibool
58/*==============================*/
59 trx_id_t trx_id,
60 mtr_t* mtr);
63/*****************************************************************/
70UNIV_INTERN
71ibool
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/*****************************************************************/
88UNIV_INTERN
89ulint
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);
111
112/*****************************************************************/
116UNIV_INTERN
117ulint
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);
137
138
139#ifndef UNIV_NONINL
140#include "row0vers.ic"
141#endif
142
143#endif
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
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
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_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
ib_id_t trx_id_t
Definition trx0types.h:85