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