MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / unwind

Method unwind

src/jrd/jrd.cpp:4979–5016  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4977
4978
4979void JRequest::unwind(CheckStatusWrapper* user_status, int level)
4980{
4981/**************************************
4982 *
4983 * g d s _ $ u n w i n d
4984 *
4985 **************************************
4986 *
4987 * Functional description
4988 * Unwind a running request. This is potentially nasty since it can
4989 * be called asynchronously.
4990 *
4991 **************************************/
4992 try
4993 {
4994 EngineContextHolder tdbb(user_status, this, FB_FUNCTION);
4995 check_database(tdbb);
4996
4997 Request* request = verify_request_synchronization(getHandle(), level);
4998
4999 try
5000 {
5001 JRD_unwind_request(tdbb, request);
5002 }
5003 catch (const Exception& ex)
5004 {
5005 transliterateException(tdbb, ex, user_status, "JRequest::unwind");
5006 return;
5007 }
5008 }
5009 catch (const Exception& ex)
5010 {
5011 ex.stuffException(user_status);
5012 return;
5013 }
5014
5015 successful_completion(user_status);
5016}
5017
5018
5019SysStableAttachment::SysStableAttachment(Attachment* handle)

Callers

nothing calls this directly

Calls 6

check_databaseFunction · 0.85
JRD_unwind_requestFunction · 0.85
transliterateExceptionFunction · 0.85
successful_completionFunction · 0.85
stuffExceptionMethod · 0.45

Tested by

no test coverage detected