[open-ils-commits] r8586 - trunk/Evergreen/src/extras/import
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Feb 2 16:46:10 EST 2008
Author: miker
Date: 2008-02-02 16:18:14 -0500 (Sat, 02 Feb 2008)
New Revision: 8586
Modified:
trunk/Evergreen/src/extras/import/quick_metarecord_map.sql
Log:
protect against null fingerprints (???)
Modified: trunk/Evergreen/src/extras/import/quick_metarecord_map.sql
===================================================================
--- trunk/Evergreen/src/extras/import/quick_metarecord_map.sql 2008-02-02 21:15:51 UTC (rev 8585)
+++ trunk/Evergreen/src/extras/import/quick_metarecord_map.sql 2008-02-02 21:18:14 UTC (rev 8586)
@@ -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