MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xid_t Struct Reference

#include <handler.h>

Public Member Functions

bool eq (struct xid_t *xid)
bool eq (long g, long b, const char *d)
void set (struct xid_t *xid)
void set (long f, const char *g, long gl, const char *b, long bl)
void set (ulonglong xid)
void set (long g, long b, const char *d)
bool is_null ()
void null ()
my_xid quick_get_my_xid ()
my_xid get_my_xid ()
uint length ()
uchar * key ()
uint key_length ()

Public Attributes

long formatID
long gtrid_length
long bqual_length
char data [XIDDATASIZE]

Detailed Description

struct xid_t is binary compatible with the XID structure as in the X/Open CAE Specification, Distributed Transaction Processing: The XA Specification, X/Open Company Ltd., 1991. http://www.opengroup.org/bookstore/catalog/c193.htm

See Also
MYSQL_XID in mysql/plugin.h

X/Open XA distributed transaction identifier

Definition at line 522 of file handler.h.

Member Data Documentation

long xid_t::bqual_length

value from 1 through 64

Definition at line 525 of file handler.h.

char xid_t::data

distributed transaction identifier

Definition at line 526 of file handler.h.

long xid_t::formatID

format identifier; -1 means that the XID is null

Definition at line 523 of file handler.h.

long xid_t::gtrid_length

value from 1 through 64

Definition at line 524 of file handler.h.


The documentation for this struct was generated from the following files: