Provide information on transaction object.
| 3737 | |
| 3738 | // Provide information on transaction object. |
| 3739 | ISC_STATUS API_ROUTINE isc_transaction_info(ISC_STATUS* userStatus, isc_tr_handle* traHandle, |
| 3740 | SSHORT itemLength, const SCHAR* items, SSHORT bufferLength, SCHAR* buffer) |
| 3741 | { |
| 3742 | StatusVector status(userStatus); |
| 3743 | CheckStatusWrapper statusWrapper(&status); |
| 3744 | |
| 3745 | try |
| 3746 | { |
| 3747 | RefPtr<YTransaction> transaction(translateHandle(transactions, traHandle)); |
| 3748 | |
| 3749 | transaction->getInfo(&statusWrapper, itemLength, reinterpret_cast<const UCHAR*>(items), |
| 3750 | bufferLength, reinterpret_cast<UCHAR*>(buffer)); |
| 3751 | } |
| 3752 | catch (const Exception& e) |
| 3753 | { |
| 3754 | e.stuffException(&statusWrapper); |
| 3755 | } |
| 3756 | |
| 3757 | return status[1]; |
| 3758 | } |
| 3759 | |
| 3760 | |
| 3761 | // Unwind a running request. This is potentially nasty since it can be called asynchronously. |
nothing calls this directly
no test coverage detected