| 4977 | |
| 4978 | |
| 4979 | void 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 | |
| 5019 | SysStableAttachment::SysStableAttachment(Attachment* handle) |
nothing calls this directly
no test coverage detected