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

Method unwind

src/remote/client/interface.cpp:7628–7656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7626
7627
7628void Request::unwind(CheckStatusWrapper* status, int level)
7629{
7630/**************************************
7631 *
7632 * g d s _ u n w i n d
7633 *
7634 **************************************
7635 *
7636 * Functional description
7637 * Unwind a running request.
7638 *
7639 **************************************/
7640 try
7641 {
7642 reset(status);
7643
7644 Rrq* request = REMOTE_find_request(rq, level);
7645 CHECK_HANDLE(request, isc_bad_req_handle);
7646
7647 Rdb* rdb = request->rrq_rdb;
7648 CHECK_HANDLE(rdb, isc_bad_db_handle);
7649 rem_port* port = rdb->rdb_port;
7650 RefMutexGuard portGuard(*port->port_sync, FB_FUNCTION);
7651 }
7652 catch (const Exception& ex)
7653 {
7654 ex.stuffException(status);
7655 }
7656}
7657
7658
7659void Attachment::ping(CheckStatusWrapper* status)

Callers

nothing calls this directly

Calls 4

REMOTE_find_requestFunction · 0.85
CHECK_HANDLEFunction · 0.85
resetFunction · 0.70
stuffExceptionMethod · 0.45

Tested by

no test coverage detected