Go to the source code of this file.
#define LIXA_XAER_HAZARD -20 |
This is a special XAER return code used to manage the special situation of xa_prepare with errors and xa_rollback with errors. This is not an XA extension, but an internal LIXA implementation dependent value
Definition at line 367 of file xa.h.
#define MAXBQUALSIZE 64 /* maximum size in bytes of bqual */ |
Definition at line 25 of file xa.h.
#define MAXGTRIDSIZE 64 /* maximum size in bytes of gtrid */ |
Definition at line 24 of file xa.h.
Definition at line 41 of file xa.h.
length of resource manager name, including the null terminator
Definition at line 63 of file xa.h.
caller is joining existing transaction branch
Definition at line 225 of file xa.h.
normal execution
Definition at line 233 of file xa.h.
caller is resuming association with suspended transaction branch
Definition at line 229 of file xa.h.
#define TMASYNC 0x80000000L |
perform routine asynchronously
Definition at line 161 of file xa.h.
#define TMENDRSCAN 0x00800000L |
end a recovery scan
Definition at line 193 of file xa.h.
invalid arguments were given
Definition at line 241 of file xa.h.
routine invoked in an improper context
Definition at line 245 of file xa.h.
an error occurred in the transaction manager
Definition at line 237 of file xa.h.
#define TMFAIL 0x20000000L |
dissociates caller and marks transaction branch rollback-only
Definition at line 169 of file xa.h.
#define TMJOIN 0x00200000L |
#define TMMIGRATE 0x00100000L |
#define TMMULTIPLE 0x00400000L |
wait for any asynchronous operation
Definition at line 197 of file xa.h.
#define TMNOFLAGS 0x00000000L |
#define TMNOMIGRATE 0x00000002L |
resource manager does not support association migration
Definition at line 149 of file xa.h.
#define TMNOWAIT 0x10000000L |
return if blocking condition exists
Definition at line 173 of file xa.h.
#define TMONEPHASE 0x40000000L |
caller is using one-phase commit optimisation
Definition at line 165 of file xa.h.
#define TMREGISTER 0x00000001L |
resource manager dynamically registers
Definition at line 145 of file xa.h.
#define TMRESUME 0x08000000L |
#define TMSTARTRSCAN 0x01000000L |
start a recovery scan
Definition at line 189 of file xa.h.
#define TMSUCCESS 0x04000000L |
#define TMSUSPEND 0x02000000L |
#define TMUSEASYNC 0x00000004L |
resource manager supports asynchronous operations
Definition at line 153 of file xa.h.
#define TMXTABRANCH 0x00008000L |
caller is creating a new branch under the scope of an already existent global transaction
Definition at line 215 of file xa.h.
Referenced by xta_transaction_branch().
the transaction branch has been heuristically committed
Definition at line 304 of file xa.h.
the transaction branch may have been heuristically completed
Definition at line 300 of file xa.h.
the transaction branch has been heuristically committed and rolled back
Definition at line 312 of file xa.h.
the transaction branch has been heuristically rolled back
Definition at line 308 of file xa.h.
resumption must occur where suspension occurred
Definition at line 296 of file xa.h.
the inclusive lower bound of the rollback codes
Definition at line 255 of file xa.h.
the rollback was caused by a communication failure
Definition at line 263 of file xa.h.
a deadlock was detected
Definition at line 267 of file xa.h.
the inclusive upper bound of the rollback codes
Definition at line 292 of file xa.h.
a condition that violates the integrity of the resources was detected
Definition at line 271 of file xa.h.
the resource manager rolled back the transaction branch for a reason not on this list
Definition at line 276 of file xa.h.
a protocol error occurred in the resource manager
Definition at line 280 of file xa.h.
the rollback was caused by an unspecified reason
Definition at line 259 of file xa.h.
a transaction branch took too long
Definition at line 284 of file xa.h.
may retry the transaction branch
Definition at line 288 of file xa.h.
the transaction branch was read-only and has been committed
Definition at line 320 of file xa.h.
routine returned with no effect and may be reissued
Definition at line 316 of file xa.h.
#define XAER_AFFINITY -10 |
Oracle proprietary extension to support a specific RAC feature. This is a nonstandard value. Please refer to original Oracle documentation
Definition at line 361 of file xa.h.
asynchronous operation already outstanding
Definition at line 328 of file xa.h.
the XID already exists
Definition at line 352 of file xa.h.
invalid arguments were given
Definition at line 340 of file xa.h.
the XID is not valid
Definition at line 336 of file xa.h.
resource manager doing work outside global transaction
Definition at line 356 of file xa.h.
routine invoked in an improper context
Definition at line 344 of file xa.h.
a resource manager error occurred in the transaction branch
Definition at line 332 of file xa.h.
Referenced by xta_mysql_xa_close(), xta_mysql_xa_commit(), xta_mysql_xa_end(), xta_mysql_xa_forget(), xta_mysql_xa_open(), xta_mysql_xa_prepare(), xta_mysql_xa_recover(), xta_mysql_xa_rollback(), xta_mysql_xa_start(), xta_postgresql_xa_close(), xta_postgresql_xa_commit(), xta_postgresql_xa_end(), xta_postgresql_xa_forget(), xta_postgresql_xa_open(), xta_postgresql_xa_prepare(), xta_postgresql_xa_recover(), xta_postgresql_xa_rollback(), and xta_postgresql_xa_start().
resource manager unavailable
Definition at line 348 of file xa.h.
Definition at line 27 of file xa.h.
#define XIDDATASIZE 128 /* size in bytes */ |
Definition at line 23 of file xa.h.
typedef struct xa_switch_t*(* lixa_get_xa_switch_f)(void) |
Definition at line 131 of file xa.h.
Definition at line 35 of file xa.h.
int ax_reg |
( |
int |
rmid, |
|
|
XID * |
xid, |
|
|
long |
flags |
|
) |
| |
Dynamically register a resource manager with a transaction manager
int ax_unreg |
( |
int |
rmid, |
|
|
long |
flags |
|
) |
| |
Dynamically unregister a resource manager with a transaction manager