From ca2153f0522ea33080ff6ff3b4597bd417f750a4 Mon Sep 17 00:00:00 2001 From: David Cook <dcook@prosentient.com.au> Date: Thu, 15 Oct 2020 00:59:24 +0000 Subject: [PATCH] Bug 26684: Remove marc from auth_header for new installs Content-Type: text/plain; charset=utf-8 Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> --- C4/AuthoritiesMarc.pm | 1 - installer/data/mysql/kohastructure.sql | 1 - t/db_dependent/Linker_FirstMatch.t | 1 - 3 files changed, 3 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 6c8a6688a7..3200042ba4 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -705,7 +705,6 @@ sub AddAuthority { $authority->update( { authtypecode => $authtypecode, - marc => $record->as_usmarc, marcxml => $record->as_xml_record($format), heading => $heading ? $heading->display_form : '', } diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index 3bf15c1007..dcee682b5e 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -929,7 +929,6 @@ CREATE TABLE `auth_header` ( `heading` longtext DEFAULT NULL, `origincode` varchar(20) DEFAULT NULL, `authtrees` longtext DEFAULT NULL, - `marc` blob DEFAULT NULL, `linkid` bigint(20) DEFAULT NULL, `marcxml` longtext NOT NULL, PRIMARY KEY (`authid`), diff --git a/t/db_dependent/Linker_FirstMatch.t b/t/db_dependent/Linker_FirstMatch.t index c411c37453..b26e6e2b3c 100755 --- a/t/db_dependent/Linker_FirstMatch.t +++ b/t/db_dependent/Linker_FirstMatch.t @@ -74,7 +74,6 @@ sub run_tests { my $auth_header_record = $schema->resultset('AuthHeader')->find( { authid => $authid } ); $auth_header_record->marcxml($fake_xml); - $auth_header_record->marc($fake_marc); $auth_header_record->update; # Find a particular series field. -- 2.39.5