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

Postfix for #7465: Restore success illegally reported when gbak was unable to activate all indices; syntax

(cherry picked from commit 5c18a21708)
This commit is contained in:
AlexPeshkoff 2023-02-07 13:46:42 +03:00
parent 249101df56
commit cdc52f9b24

View File

@ -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);