]> git.koha-community.org Git - koha.git/commit
Bug 10488: Followup replacing DELETEs by more restricted INSERTs
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 1 Jul 2013 11:37:39 +0000 (13:37 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 3 Jul 2013 11:20:40 +0000 (04:20 -0700)
commit14babcecf681874e4a75eff0a5ba2d869f1966bf
treec9af1e66d8ee879f00bd5207caf7d68fcbb1284d
parent61103a1f82dc0efd98a4629b0c650fa020ba73c8
Bug 10488: Followup replacing DELETEs by more restricted INSERTs

Instead of inserting followed by deleting, this patch combines the two where
clauses of both sql statements, meanwhile leaving the separation intact.

As suggested by Galen, removed all 162's from the non-default types.
The 162 calls for a new authority type. We can add that later on.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Ran this .sql script after deleting all auth records.
The former version had 9 types, 1148 tags and 11621 subfields.
This one has 9 types, 1140 tags and 11597 subfields.
That is expected: 8 tags 162 less and 8x3 subfields less.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.sql