Don't die if there's no results_sth for a host.

This commit is contained in:
Daniel Nichter
2012-08-20 13:57:59 -06:00
parent 1481494ef1
commit 2544a554dd

View File

@@ -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.