mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
Only iterate diffs if there are some.
This commit is contained in:
@@ -7702,7 +7702,9 @@ sub main {
|
||||
$slave->name());
|
||||
# Save unique chunks that differ.
|
||||
# https://bugs.launchpad.net/percona-toolkit/+bug/1030031
|
||||
map { $diff_chunks{ $_->{chunk} }++ } @$diffs;
|
||||
if ( scalar @$diffs ) {
|
||||
map { $diff_chunks{ $_->{chunk} }++ } @$diffs;
|
||||
}
|
||||
};
|
||||
if ($EVAL_ERROR) {
|
||||
if ( $o->get('quiet') < 2 ) {
|
||||
|
Reference in New Issue
Block a user