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

Fixes #7191: set failure exit code after exception caught in gstat routine

(cherry picked from commit 778b6a43de)
This commit is contained in:
aleksey.mochalov 2022-05-23 15:00:31 +03:00 committed by AlexPeshkoff
parent ff5e5cf102
commit c96ed704cf

View File

@ -1147,6 +1147,7 @@ int gstat(Firebird::UtilSvc* uSvc)
{
ex.stuffException(permStatus);
fb_utils::copyStatus(status_vector, ISC_STATUS_LENGTH, permStatus.value(), permStatus.length());
tddba->exit_code = FB_FAILURE;
}
// free mem