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

Method start

src/remote/client/interface.cpp:7257–7287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7255
7256
7257void Service::start(CheckStatusWrapper* status,
7258 unsigned int spbLength, const unsigned char* spb)
7259{
7260/**************************************
7261 *
7262 * g d s _ s e r v i c e _ s t a r t
7263 *
7264 **************************************
7265 *
7266 * Functional description
7267 * Start a Firebird service
7268 *
7269 **************************************/
7270
7271 try
7272 {
7273 reset(status);
7274
7275 // Check and validate handles, etc.
7276
7277 CHECK_HANDLE(rdb, isc_bad_svc_handle);
7278 rem_port* port = rdb->rdb_port;
7279 RefMutexGuard portGuard(*port->port_sync, FB_FUNCTION);
7280
7281 svcstart(status, rdb, op_service_start, rdb->rdb_id, 0, spbLength, spb);
7282 }
7283 catch (const Exception& ex)
7284 {
7285 ex.stuffException(status);
7286 }
7287}
7288
7289
7290void Request::startAndSend(CheckStatusWrapper* status, ITransaction* apiTra, int level,

Callers

nothing calls this directly

Calls 12

CHECK_HANDLEFunction · 0.85
svcstartFunction · 0.85
REMOTE_find_requestFunction · 0.85
GdsClass · 0.85
clear_queueFunction · 0.85
REMOTE_reset_requestFunction · 0.85
send_and_receiveFunction · 0.85
receive_after_startFunction · 0.85
remoteTransactionMethod · 0.80
resetFunction · 0.70
stuffExceptionMethod · 0.45
raiseMethod · 0.45

Tested by

no test coverage detected