Download Informix Embedded SQL TP/XA Programmer`s Manual

Transcript
XA Function
Return Code
Reason for Return Code
The number of XIDs returned is greater
than or equal to 0.
xa_rollback()
XAER_INVAL
Invalid arguments were specified for this
routine.
XAER_PROTO
This routine was called before a call to
xa_open().
The rmid argument is not the same as that
passed to xa_open().
XAER_RMFAIL
The database server failed.
XAER_ASYNC
The database server encountered an error
while implementing asynchronous operations when the TMASYNC flag was passed
in the flags argument.
XAER_RMERR
An internal communication error occurred
between the application development tool
and the database server.
The database server could not find deferred
constraint information, probably because of
memory corruption.
The database server encountered an error
while freeing the shared-memory transaction entry.
The database server failed to roll back the
transaction.
XA_RBTRANSIENT Execution was between an xa_start()
function and an xa_end() function on
another transaction when this call occurred.
The database server was unable to save the
state of the current transaction to perform
the rollback.
XAER_NOTA
The database server could not find the
transaction indicated by the xid argument.
(8 of 10)
A-10
Informix Embedded SQL TP/XA Programmer’s Manual