81
72
http://www.opengroup.org/bookstore/catalog/c193.htm
90
79
char data[DRIZZLE_XIDDATASIZE]; /* Not \0-terminated */
102
83
enum xa_states {XA_NOTR=0, XA_ACTIVE, XA_IDLE, XA_PREPARED};
103
84
extern const char *xa_state_names[];
106
87
#define MIN_XID_LIST_SIZE 128
107
88
#define MAX_XID_LIST_SIZE (1024*128)
117
91
/* For now, this is only used to catch duplicated external xids */
118
92
XID xid; // transaction identifier
119
93
enum xa_states xa_state; // used by external XA only
123
97
bool xid_cache_init(void);
124
98
void xid_cache_free(void);