| 7255 | |
| 7256 | |
| 7257 | void 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 | |
| 7290 | void Request::startAndSend(CheckStatusWrapper* status, ITransaction* apiTra, int level, |
nothing calls this directly
no test coverage detected