diff --git a/src/jrd/jrd.cpp b/src/jrd/jrd.cpp index 136d2dca7e..b637b6bbd4 100644 --- a/src/jrd/jrd.cpp +++ b/src/jrd/jrd.cpp @@ -3025,8 +3025,10 @@ ISC_STATUS GDS_SERVICE_START(ISC_STATUS* user_status, service->start(spb_length, reinterpret_cast(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)