MySQL 9.0.0
Source Code Documentation
PSI_xid Struct Reference

struct PSI_xid 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. More...

#include <pfs_events_transactions.h>

Public Member Functions

 PSI_xid ()
 
bool is_null () const
 
void null ()
 

Public Attributes

long formatID
 Format identifier. More...
 
long gtrid_length
 GTRID length, value 1-64. More...
 
long bqual_length
 BQUAL length, value 1-64. More...
 
char data [XIDDATASIZE]
 XID raw data, not \0-terminated. More...
 

Detailed Description

struct PSI_xid 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

A value of -1 in formatID means that the XID is null. Max length for bqual and gtrid is 64 bytes each.

See also
XID in sql/handler.h
MYSQL_XID in mysql/plugin.h

Constructor & Destructor Documentation

◆ PSI_xid()

PSI_xid::PSI_xid ( )
inline

Member Function Documentation

◆ is_null()

bool PSI_xid::is_null ( ) const
inline

◆ null()

void PSI_xid::null ( )
inline

Member Data Documentation

◆ bqual_length

long PSI_xid::bqual_length

BQUAL length, value 1-64.

◆ data

char PSI_xid::data[XIDDATASIZE]

XID raw data, not \0-terminated.

◆ formatID

long PSI_xid::formatID

Format identifier.

◆ gtrid_length

long PSI_xid::gtrid_length

GTRID length, value 1-64.


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