From 595bb292ec013609dff57ee656a5ca851f51723d Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Mon, 29 Aug 2011 23:33:48 -0400 Subject: [PATCH] For deletion summary, show the customname if available. --- Bucardo.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Bucardo.pm b/Bucardo.pm index ff1598d20..e45fa28c0 100644 --- a/Bucardo.pm +++ b/Bucardo.pm @@ -7522,9 +7522,14 @@ sub delete_rows { $count = 0; for my $t (@$deldb) { + + ## We do not delete from certain types of targets next if $t->{dbtype} =~ /mongo|flat|redis/o; + + my $tname = $newname->{$t->{name}}; + $count += $count{$t}; - $self->glog(qq{Rows deleted from $t->{name}.$S.$T: $count{$t}}, LOG_VERBOSE); + $self->glog(qq{Rows deleted from $t->{name}.$tname: $count{$t}}, LOG_VERBOSE); } return $count; -- 2.39.5