From cdc52f9b245120efdc7600e87e7534f309167fbc Mon Sep 17 00:00:00 2001 From: AlexPeshkoff Date: Tue, 7 Feb 2023 13:46:42 +0300 Subject: [PATCH] Postfix for #7465: Restore success illegally reported when gbak was unable to activate all indices; syntax (cherry picked from commit 5c18a217084bb39ae79e31f21f27e127c639d1c7) --- src/burp/restore.epp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/burp/restore.epp b/src/burp/restore.epp index 35380861ef..b66364a1cd 100644 --- a/src/burp/restore.epp +++ b/src/burp/restore.epp @@ -577,8 +577,9 @@ int RESTORE_restore (const TEXT* file_name, const TEXT* database_name) if (!tdgbl->flag_on_line) { ISC_STATUS_ARRAY st; - (Arg::Gds(ENCODE_ISC_MSG(246, burp_msg_fac)) << Arg::Gds(ENCODE_ISC_MSG(247, burp_msg_fac))).copyTo(st); + (Firebird::Arg::Gds(ENCODE_ISC_MSG(246, burp_msg_fac)) << // msg 246 Database is not online due to failure to activate one or more indices. + Firebird::Arg::Gds(ENCODE_ISC_MSG(247, burp_msg_fac))).copyTo(st); // msg 247 Run gfix -online to bring database online without active indices. BURP_print_status(true, st);