diff --git a/tools/stage-marc-import.pl b/tools/stage-marc-import.pl index 500e6cd0c8..7207859350 100755 --- a/tools/stage-marc-import.pl +++ b/tools/stage-marc-import.pl @@ -156,6 +156,8 @@ if ($completedJobID) { } else { $matcher_failed = 1; } + } else { + $dbh->commit(); } my $results = {