Drizzled Public API Documentation

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;
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;
65 /* @} */
66 
68 enum trx_rb_ctx {
69  RB_NONE = 0,
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 
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
byte trx_undo_rec_t
Definition: trx0types.h:112
ib_id_t roll_ptr_t
Definition: trx0types.h:87
byte trx_upagef_t
Definition: trx0types.h:109
byte trx_usegf_t
Definition: trx0types.h:105
byte trx_ulogf_t
Definition: trx0types.h:107
trx_rb_ctx
Definition: trx0types.h:68
ib_id_t row_id_t
Definition: trx0types.h:83
ib_id_t trx_id_t
Definition: trx0types.h:85
undo_no_t least_undo_no
Definition: trx0types.h:95
ib_id_t undo_no_t
Definition: trx0types.h:89
byte trx_rsegf_t
Definition: trx0types.h:103
byte trx_sysf_t
Definition: trx0types.h:101