Drizzled Public API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
trx0types.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (C) 1996, 2010, 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 trx0types_h
28
#define trx0types_h
29
30
#include "
ut0byte.h
"
31
33
#define TRX_ID_FMT "%"PRIx64
34
37
#define TRX_ID_MAX_LEN 17
38
40
/* @{ */
42
typedef
struct
trx_struct
trx_t
;
44
typedef
struct
trx_sys_struct
trx_sys_t
;
46
typedef
struct
trx_doublewrite_struct
trx_doublewrite_t
;
48
typedef
struct
trx_sig_struct
trx_sig_t
;
50
typedef
struct
trx_rseg_struct
trx_rseg_t
;
52
typedef
struct
trx_undo_struct
trx_undo_t
;
54
typedef
struct
trx_undo_arr_struct
trx_undo_arr_t
;
56
typedef
struct
trx_undo_inf_struct
trx_undo_inf_t
;
58
typedef
struct
trx_purge_struct
trx_purge_t
;
60
typedef
struct
roll_node_struct
roll_node_t
;
62
typedef
struct
commit_node_struct
commit_node_t
;
64
typedef
struct
trx_named_savept_struct
trx_named_savept_t
;
65
/* @} */
66
68
enum
trx_rb_ctx
{
69
RB_NONE
= 0,
70
RB_NORMAL
,
71
RB_RECOVERY_PURGE_REC
,
78
RB_RECOVERY
80
};
81
83
typedef
ib_id_t
row_id_t
;
85
typedef
ib_id_t
trx_id_t
;
87
typedef
ib_id_t
roll_ptr_t
;
89
typedef
ib_id_t
undo_no_t
;
90
92
typedef
struct
trx_savept_struct
trx_savept_t
;
94
struct
trx_savept_struct
{
95
undo_no_t
least_undo_no
;
96
};
97
99
/* @{ */
101
typedef
byte
trx_sysf_t
;
103
typedef
byte
trx_rsegf_t
;
105
typedef
byte
trx_usegf_t
;
107
typedef
byte
trx_ulogf_t
;
109
typedef
byte
trx_upagef_t
;
110
112
typedef
byte
trx_undo_rec_t
;
113
/* @} */
114
115
#endif
plugin
innobase
include
trx0types.h
Generated on Fri Mar 28 2014 08:14:31 for drizzle by
1.8.1.2