[open-ils-commits] r9746 -
branches/rel_1_2_2/Evergreen/src/extras/import
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat May 31 01:43:40 EDT 2008
Author: miker
Date: 2008-05-31 01:43:37 -0400 (Sat, 31 May 2008)
New Revision: 9746
Modified:
branches/rel_1_2_2/Evergreen/src/extras/import/quick_metarecord_map.sql
Log:
ignore null fingerprints
Modified: branches/rel_1_2_2/Evergreen/src/extras/import/quick_metarecord_map.sql
===================================================================
--- branches/rel_1_2_2/Evergreen/src/extras/import/quick_metarecord_map.sql 2008-05-31 05:43:30 UTC (rev 9745)
+++ branches/rel_1_2_2/Evergreen/src/extras/import/quick_metarecord_map.sql 2008-05-31 05:43:37 UTC (rev 9746)
@@ -10,7 +10,8 @@
FROM (SELECT DISTINCT ON (fingerprint)
fingerprint, id, quality
FROM biblio.record_entry
- ORDER BY fingerprint, quality desc) AS x;
+ ORDER BY fingerprint, quality desc) AS x
+ WHERE fingerprint IS NOT NULL;
INSERT INTO metabib.metarecord_source_map (metarecord,source)
SELECT m.id, b.id
More information about the open-ils-commits
mailing list