8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:03:02 +01:00

Don't report error status as succesfull

This commit is contained in:
hvlad 2009-02-01 21:54:48 +00:00
parent f1652fb529
commit 325ec850c1

View File

@ -3025,8 +3025,10 @@ ISC_STATUS GDS_SERVICE_START(ISC_STATUS* user_status,
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));
return tdbb->tdbb_status_vector[1];
}
}
catch (const Exception& ex)