Skip to content

Commit 7b248dd

Browse files
aafemtAlexPeshkoff
authored andcommitted
Add message about skipping relation during backup as a part of #9075
1 parent 92bad46 commit 7b248dd

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

src/burp/backup.epp

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -435,13 +435,21 @@ int BACKUP_backup(const TEXT* dbb_file, const TEXT* file_name)
435435
if (!(relation->rel_flags & REL_view) && !(relation->rel_flags & REL_external))
436436
{
437437
put_index(relation);
438-
if (!(tdgbl->gbl_sw_meta || tdgbl->skipRelation(relation->rel_name)))
438+
if (!tdgbl->gbl_sw_meta)
439439
{
440-
task.SetRelation(relation);
441-
coord.runSync(&task);
440+
if (tdgbl->skipRelation(relation->rel_name))
441+
{
442+
// msg 427 skipping data for table @1
443+
BURP_verbose(427, relation->rel_name.toQuotedString());
444+
}
445+
else
446+
{
447+
task.SetRelation(relation);
448+
coord.runSync(&task);
442449

443-
if (!task.getResult(NULL))
444-
BURP_exit_local(FINI_ERROR, tdgbl);
450+
if (!task.getResult(NULL))
451+
BURP_exit_local(FINI_ERROR, tdgbl);
452+
}
445453
}
446454
}
447455

0 commit comments

Comments
 (0)