mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 10:03:03 +01:00
Don't report error status as succesfull
This commit is contained in:
parent
f1652fb529
commit
325ec850c1
@ -3025,8 +3025,10 @@ ISC_STATUS GDS_SERVICE_START(ISC_STATUS* user_status,
|
|||||||
|
|
||||||
service->start(spb_length, reinterpret_cast<const UCHAR*>(spb));
|
service->start(spb_length, reinterpret_cast<const UCHAR*>(spb));
|
||||||
|
|
||||||
if (service->getStatus()[1]) {
|
if (service->getStatus()[1])
|
||||||
|
{
|
||||||
memcpy(tdbb->tdbb_status_vector, service->getStatus(), sizeof(ISC_STATUS_ARRAY));
|
memcpy(tdbb->tdbb_status_vector, service->getStatus(), sizeof(ISC_STATUS_ARRAY));
|
||||||
|
return tdbb->tdbb_status_vector[1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (const Exception& ex)
|
catch (const Exception& ex)
|
||||||
|
Loading…
Reference in New Issue
Block a user