Commit f358446d authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

bugfix: <= instead of <

parent 0767d34c
......@@ -143,7 +143,7 @@ sub write_output {
my $dest_row_increase = $self->get_row_count($dest_dbc, $table) - $self->param('dest_before_all');
if($mode eq 'topup') {
if($src_before < $dest_row_increase) {
if($src_before <= $dest_row_increase) {
$self->warning("Cannot check success/failure in this mode, but the number of '$table' rows in target increased by $dest_row_increase (higher than $src_before)");
} else {
die "Could not add rows: $src_before '$table' rows from source copied into $dest_row_increase rows in target\n";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment