Closed kubo closed 2 years ago
I'll take a look when I'm back from vacation.
When we did the TPC project we identified a few Oracle doc corrections. Mentioning OCI_TRANS_NOMIGRATE
for OCITransDetach()
was on the list. I'll chase up. Thanks for checking with us.
Thanks. I got it.
The third argument
flags
ofdpiConn_tpcEnd
is passed to the the third argument ofOCITransDetach
. (here and here)The former must be
DPI_TPC_END_NORMAL(0)
orDPI_TPC_END_SUSPEND(0x00100000)
.In the ODPI-C manual:
In dpi.h:
On the other hand, the third argument of
OCITransDetach
must beOCI_DEFAULT(0)
according to the OCI manual. There are no flags corresponding toDPI_TPC_END_SUSPEND
. Is it an undocumented flag?In the OCI manual: