From 1eccf0f9331f1f869539540c69c66263560d3ee8 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 27 Apr 2023 12:39:02 +0000 Subject: [PATCH] Bug 32250: (follow-up) Remove one more dbh commit and don't start a new transaction when done --- misc/link_bibs_to_authorities.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/misc/link_bibs_to_authorities.pl b/misc/link_bibs_to_authorities.pl index 54f5716626..f7cd876d26 100755 --- a/misc/link_bibs_to_authorities.pl +++ b/misc/link_bibs_to_authorities.pl @@ -85,7 +85,6 @@ my $indexer = Koha::SearchEngine::Indexer->new({ index => $Koha::SearchEngine::B my $schema = Koha::Database->schema; $schema->txn_begin; process_bibs( $linker, $bib_limit, $auth_limit, $commit, { tagtolink => $tagtolink, allowrelink => $allowrelink }); -$dbh->commit(); exit 0; @@ -115,7 +114,6 @@ sub process_bibs { if ( not $test_only ) { $schema->txn_commit; $indexer->index_records( \@updated_biblios, "specialUpdate", "biblioserver" ); - $schema->txn_begin; } my $headings_linked = 0; -- 2.30.2