drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
trx0types.h
Go to the documentation of this file.
1/*****************************************************************************
2
3Copyright (C) 1996, 2010, 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 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/* @{ */
42typedef struct trx_struct trx_t;
65/* @} */
66
81
83typedef ib_id_t row_id_t;
85typedef ib_id_t trx_id_t;
87typedef ib_id_t roll_ptr_t;
89typedef ib_id_t undo_no_t;
90
97
99/* @{ */
101typedef byte trx_sysf_t;
103typedef byte trx_rsegf_t;
105typedef byte trx_usegf_t;
107typedef byte trx_ulogf_t;
109typedef byte trx_upagef_t;
110
112typedef byte trx_undo_rec_t;
113/* @} */
114
115#endif
undo_no_t least_undo_no
Definition trx0types.h:95
byte trx_undo_rec_t
Definition trx0types.h:112
struct trx_doublewrite_struct trx_doublewrite_t
Definition trx0types.h:46
struct roll_node_struct roll_node_t
Definition trx0types.h:60
ib_id_t row_id_t
Definition trx0types.h:83
ib_id_t undo_no_t
Definition trx0types.h:89
byte trx_upagef_t
Definition trx0types.h:109
byte trx_usegf_t
Definition trx0types.h:105
struct trx_purge_struct trx_purge_t
Definition trx0types.h:58
struct trx_sig_struct trx_sig_t
Definition trx0types.h:48
byte trx_ulogf_t
Definition trx0types.h:107
struct trx_savept_struct trx_savept_t
Definition trx0types.h:92
struct trx_undo_inf_struct trx_undo_inf_t
Definition trx0types.h:56
byte trx_rsegf_t
Definition trx0types.h:103
struct trx_sys_struct trx_sys_t
Definition trx0types.h:44
ib_id_t trx_id_t
Definition trx0types.h:85
struct trx_undo_struct trx_undo_t
Definition trx0types.h:52
byte trx_sysf_t
Definition trx0types.h:101
ib_id_t roll_ptr_t
Definition trx0types.h:87
struct trx_undo_arr_struct trx_undo_arr_t
Definition trx0types.h:54
struct trx_named_savept_struct trx_named_savept_t
Definition trx0types.h:64
struct commit_node_struct commit_node_t
Definition trx0types.h:62
struct trx_rseg_struct trx_rseg_t
Definition trx0types.h:50
trx_rb_ctx
Definition trx0types.h:68
@ RB_RECOVERY
Definition trx0types.h:78
@ RB_RECOVERY_PURGE_REC
Definition trx0types.h:71
@ RB_NORMAL
Definition trx0types.h:70
@ RB_NONE
Definition trx0types.h:69