mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-29 09:32:47 +00:00
Don't die if there's no results_sth for a host.
This commit is contained in:
@@ -364,6 +364,16 @@ sub _compare_rows {
|
||||
|
||||
$event->{row_count} = 0;
|
||||
|
||||
if ( !$right ) {
|
||||
PTDEBUG && _d('No results sth on host', $i);
|
||||
$different_row_counts++;
|
||||
$different_column_counts++;
|
||||
$different_column_types++;
|
||||
$different_column_values++;
|
||||
delete $event->{results_sth};
|
||||
next EVENT;
|
||||
}
|
||||
|
||||
# Identical rows are ignored. Once a difference on either side is found,
|
||||
# we gobble the remaining rows in that sth and print them to an outfile.
|
||||
# This short circuits RowDiff::compare_sets() which is what we want to do.
|
||||
|
Reference in New Issue
Block a user