mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:03:02 +01:00
test for out-of-memory condition has no sense here any more
This commit is contained in:
parent
482670dd12
commit
fad180bed8
@ -1654,19 +1654,9 @@ void Service::start(USHORT spb_length, const SCHAR* spb_data)
|
|||||||
// Break up the command line into individual arguments.
|
// Break up the command line into individual arguments.
|
||||||
parseSwitches();
|
parseSwitches();
|
||||||
|
|
||||||
/*
|
// The service block can be reused hence init a status vector.
|
||||||
* the service block can be reused hence free a memory from the
|
|
||||||
* previous usage as well as init a status vector.
|
|
||||||
*/
|
|
||||||
|
|
||||||
memset((void *) svc_status, 0, sizeof(ISC_STATUS_ARRAY));
|
memset((void *) svc_status, 0, sizeof(ISC_STATUS_ARRAY));
|
||||||
|
|
||||||
// FREE: at SVC_detach()
|
|
||||||
if (!svc_stdout) // NOMEM:
|
|
||||||
{
|
|
||||||
Firebird::status_exception::raise(isc_virmemexh, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (serv->serv_thd) {
|
if (serv->serv_thd) {
|
||||||
svc_flags &= ~SVC_evnt_fired;
|
svc_flags &= ~SVC_evnt_fired;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user