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
trx_undo_inf_struct
Definition:
trx0roll.h:298
trx_rseg_struct
Definition:
trx0rseg.h:142
trx_undo_rec_t
byte trx_undo_rec_t
Definition:
trx0types.h:112
roll_ptr_t
ib_id_t roll_ptr_t
Definition:
trx0types.h:87
trx_undo_arr_struct
Definition:
trx0roll.h:308
trx_upagef_t
byte trx_upagef_t
Definition:
trx0types.h:109
trx_usegf_t
byte trx_usegf_t
Definition:
trx0types.h:105
trx_ulogf_t
byte trx_ulogf_t
Definition:
trx0types.h:107
trx_rb_ctx
trx_rb_ctx
Definition:
trx0types.h:68
trx_named_savept_struct
Definition:
trx0roll.h:335
trx_savept_struct
Definition:
trx0types.h:94
commit_node_struct
Definition:
trx0trx.h:814
row_id_t
ib_id_t row_id_t
Definition:
trx0types.h:83
trx_sys_struct
Definition:
trx0sys.h:578
RB_RECOVERY
Definition:
trx0types.h:78
trx_doublewrite_struct
Definition:
trx0sys.h:557
RB_RECOVERY_PURGE_REC
Definition:
trx0types.h:71
ut0byte.h
trx_purge_struct
Definition:
trx0purge.h:129
RB_NORMAL
Definition:
trx0types.h:70
trx_id_t
ib_id_t trx_id_t
Definition:
trx0types.h:85
roll_node_struct
Definition:
trx0roll.h:324
RB_NONE
Definition:
trx0types.h:69
trx_savept_struct::least_undo_no
undo_no_t least_undo_no
Definition:
trx0types.h:95
trx_sig_struct
Definition:
trx0trx.h:451
trx_undo_struct
Definition:
trx0undo.h:364
undo_no_t
ib_id_t undo_no_t
Definition:
trx0types.h:89
trx_struct
Definition:
trx0trx.h:473
trx_rsegf_t
byte trx_rsegf_t
Definition:
trx0types.h:103
trx_sysf_t
byte trx_sysf_t
Definition:
trx0types.h:101
plugin
innobase
include
trx0types.h
Generated by
1.8.9.1