View | Details | Raw Unified | Return to bug 32250
Collapse All | Expand All

(-)a/misc/link_bibs_to_authorities.pl (-2 / +4 lines)
Lines 111-118 sub process_bibs { Link Here
111
    }
111
    }
112
112
113
    if ( not $test_only ) {
113
    if ( not $test_only ) {
114
        $indexer->index_records( \@updated_biblios, "specialUpdate", "biblioserver" );
115
        $dbh->commit;
114
        $dbh->commit;
115
        $dbh->{AutoCommit} = 1;
116
        $indexer->index_records( \@updated_biblios, "specialUpdate", "biblioserver" );
116
    }
117
    }
117
118
118
    my $headings_linked   = 0;
119
    my $headings_linked   = 0;
Lines 248-254 sub process_bib { Link Here
248
sub print_progress_and_commit {
249
sub print_progress_and_commit {
249
    my $recs = shift;
250
    my $recs = shift;
250
    $dbh->commit();
251
    $dbh->commit();
252
    $dbh->{AutoCommit} = 1;
251
    $indexer->index_records( \@updated_biblios, "specialUpdate", "biblioserver" );
253
    $indexer->index_records( \@updated_biblios, "specialUpdate", "biblioserver" );
254
    $dbh->{AutoCommit} = 0;
252
    @updated_biblios = ();
255
    @updated_biblios = ();
253
    print "... processed $recs records\n";
256
    print "... processed $recs records\n";
254
}
257
}
255
- 

Return to bug 32250