Bug 9609: Rebuilding zebra reports double number of exported records.

Test plan:
Clear the zebra queue (run rebuild). Update one biblio.
Rebuild zebra (again) with -z. Check zebra log: note 2 exported records.
Now apply patch, and repeat: You will see 1 exported record.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Marcel de Rooy 2013-02-13 14:45:15 +01:00 committed by Chris Cormack
parent 5cf115dbe2
commit e51cfb77e0
1 changed files with 0 additions and 1 deletions

View File

@ -457,7 +457,6 @@ sub export_marc_records_from_list {
if ($@) {
warn "Error exporting record $record_number ($record_type) ".($noxml ? "not XML" : "XML");
}
$num_exported++;
}
}
print "\nRecords exported: $num_exported\n" if ( $verbose_logging );