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

Method service_start

src/remote/server/server.cpp:6504–6530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6502
6503
6504void rem_port::service_start(P_INFO * stuff, PACKET* sendL)
6505{
6506/**************************************
6507 *
6508 * s e r v i c e _ s t a r t
6509 *
6510 **************************************
6511 *
6512 * Functional description
6513 * Start a service on the server
6514 *
6515 **************************************/
6516 LocalStatus ls;
6517 CheckStatusWrapper status_vector(&ls);
6518
6519 Rdb* rdb = this->port_context;
6520 if (bad_service(&status_vector, rdb))
6521 {
6522 this->send_response(sendL, 0, 0, &status_vector, false);
6523 return;
6524 }
6525
6526 Svc* svc = rdb->rdb_svc;
6527 svc->svc_iface->start(&status_vector, stuff->p_info_items.cstr_length,
6528 stuff->p_info_items.cstr_address);
6529 this->send_response(sendL, 0, 0, &status_vector, false);
6530}
6531
6532
6533ISC_STATUS rem_port::set_cursor(P_SQLCUR * sqlcur, PACKET* sendL)

Callers 1

process_packetFunction · 0.80

Calls 3

send_responseMethod · 0.95
bad_serviceFunction · 0.85
startMethod · 0.45

Tested by

no test coverage detected