Here is a preliminary patch for this issue.
Hi Kathey,
The server change looks great.
I don't understand the client change, though:
// read the reply to the prepare
rc = netAgent.netConnectionReply_.readXaPrepare(conn_);
- if ((callInfo.xaRetVal_ != XARETVAL_XAOK) &&
+ if ((callInfo.xaRetVal_ != XARETVAL_XAOK && callInfo.xaRetVal_ !=
XA_RDONLY) &&
(callInfo.xaRetVal_ != XARETVAL_XARDONLY)) { // xaRetVal
has possible error, format it
callInfo.xaFunction_ = XAFUNC_PREPARE;
rc = xaRetValErrorAccumSQL(callInfo, rc);
What is the difference between XARETVAL_XARDONLY and XA_RDONLY?
thanks,
bryan