MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / API_ROUTINE isc_unwind_request

Function API_ROUTINE isc_unwind_request

src/yvalve/why.cpp:3762–3779  ·  view source on GitHub ↗

Unwind a running request. This is potentially nasty since it can be called asynchronously.

Source from the content-addressed store, hash-verified

3760
3761// Unwind a running request. This is potentially nasty since it can be called asynchronously.
3762ISC_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.

Callers

nothing calls this directly

Calls 3

translateHandleFunction · 0.85
unwindMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected