From 8be4679e7f5bb8be6d23990b3023ada32f7958ea Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 24 Apr 2008 09:29:35 +0200 Subject: [PATCH] unlocking table when adding/updating authorities is finished. Signed-off-by: Joshua Ferraro --- C4/AuthoritiesMarc.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 28d36cbc50..e89ed612c4 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -573,6 +573,7 @@ sub AddAuthority { my $sth=$dbh->prepare("update auth_header set marc=?,marcxml=? where authid=?"); $sth->execute($record->as_usmarc,$record->as_xml_record($format),$authid); $sth->finish; + $dbh->do("unlock tables"); } ModZebra($authid,'specialUpdate',"authorityserver",$oldRecord,$record); return ($authid); -- 2.39.5