MySQL 8.0.40
Source Code Documentation
trx0xa.h
Go to the documentation of this file.
1/*****************************************************************************
2
3Copyright (c) 1995, 2024, Oracle and/or its affiliates.
4
5This program is free software; you can redistribute it and/or modify it under
6the terms of the GNU General Public License, version 2.0, as published by the
7Free Software Foundation.
8
9This program is designed to work with certain software (including
10but not limited to OpenSSL) that is licensed under separate terms,
11as designated in a particular file or component or in included license
12documentation. The authors of MySQL hereby grant you an additional
13permission to link the program and your derivative works with the
14separately licensed software that they have either included with
15the program or referenced in the documentation.
16
17This program is distributed in the hope that it will be useful, but WITHOUT
18ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
19FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0,
20for more details.
21
22You should have received a copy of the GNU General Public License along with
23this program; if not, write to the Free Software Foundation, Inc.,
2451 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
26*****************************************************************************/
27
28/*
29 * Start of xa.h header
30 *
31 * Define a symbol to prevent multiple inclusions of this header file
32 */
33#ifndef XA_H
34#define XA_H
35
36#include "sql/xa.h"
37
38/*
39 * Transaction branch identification: XID and NULLXID:
40 */
41#ifndef XIDDATASIZE
42
43/** Sizes of transaction identifier */
44#define XIDDATASIZE \
45 128 /*!< maximum size of a transaction \
46 identifier, in bytes */
47#define MAXGTRIDSIZE 64 /*!< maximum size in bytes of gtrid */
48#define MAXBQUALSIZE 64 /*!< maximum size in bytes of bqual */
49
50#endif
51
52#endif /* ifndef XA_H */
53/*
54 * End of xa.h header
55 */