From 121a067dd1099b93e4d22fcb2bbd1c28934e0faa Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 6 Dec 2007 15:57:27 -0600 Subject: [PATCH] removed 'delete from' statements Did this because marc21_framework_DEFAULT.sql was the only install SQL that did this, and thus led to a problem when the web installer was loading the optional MARC 21 framework SQL before the mandatory one. Because of the 'delete from', deleted all of the optional rows. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- .../marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql | 3 --- 1 file changed, 3 deletions(-) diff --git a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql b/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql index 18888c2de2..8bccc34e07 100644 --- a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql +++ b/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql @@ -44,9 +44,6 @@ SET FOREIGN_KEY_CHECKS = 0; -- Current Record ID Field/Subfields -DELETE FROM `marc_tag_structure`; -DELETE FROM `marc_subfield_structure`; - INSERT INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `authorised_value`, `frameworkcode`) VALUES ('999', 'SYSTEM CONTROL NUMBERS (KOHA)', 'SYSTEM CONTROL NUMBERS (KOHA)', 1, 0, '', ''); -- 2.39.5