my $use_indexer = $config->use_indexer;
+$stats ||= $validate;
if ($stats) {
- $log->debug("option --stats disables update of indexing engine...");
+ $log->debug("disabled indexing for stats collection");
$use_indexer = undef;
} else {
$log->info("using $use_indexer indexing engine...");
my $row = $input_db->fetch || next;
+ $total_rows++;
+
my $mfn = $row->{'000'}->[0];
if (! $mfn || $mfn !~ m#^\d+$#) {
$validate->report_error( $errors )
);
}
+ next; # validation doesn't create any output
}
my $ds = WebPAC::Normalize::data_structure(
$log->info("Created $i instances of MFN $mfn\n") if ($i > 1);
}
-
- $total_rows++;
}
if ($validate) {