Unwind a running request. This is potentially nasty since it can be called asynchronously.
| 3760 | |
| 3761 | // Unwind a running request. This is potentially nasty since it can be called asynchronously. |
| 3762 | ISC_STATUS API_ROUTINE isc_unwind_request(ISC_STATUS* userStatus, isc_req_handle* reqHandle, |
| 3763 | SSHORT level) |
| 3764 | { |
| 3765 | StatusVector status(userStatus); |
| 3766 | CheckStatusWrapper statusWrapper(&status); |
| 3767 | |
| 3768 | try |
| 3769 | { |
| 3770 | RefPtr<YRequest> request(translateHandle(requests, reqHandle)); |
| 3771 | request->unwind(&statusWrapper, level); |
| 3772 | } |
| 3773 | catch (const Exception& e) |
| 3774 | { |
| 3775 | e.stuffException(&statusWrapper); |
| 3776 | } |
| 3777 | |
| 3778 | return status[1]; |
| 3779 | } |
| 3780 | |
| 3781 | |
| 3782 | // Shutdown firebird. |
nothing calls this directly
no test coverage detected