projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7252257
)
In the event that a bib queue is not using a match_set, bail out of...
author
senator
<lebbeous@esilibrary.com>
Wed, 11 May 2011 15:44:02 +0000
(11:44 -0400)
committer
Bill Erickson
<berick@esilibrary.com>
Wed, 6 Jul 2011 18:50:52 +0000
(14:50 -0400)
... match_set_test_marcxml() early. Needs tested. Also may need
special check for non-null but empty match_sets.
Open-ILS/src/sql/Pg/012.schema.vandelay.sql
patch
|
blob
|
history
diff --git
a/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
b/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
index
2009df6
..
d6810f6
100644
(file)
--- a/
Open-ILS/src/sql/Pg/012.schema.vandelay.sql
+++ b/
Open-ILS/src/sql/Pg/012.schema.vandelay.sql
@@
-689,6
+689,10
@@
BEGIN
SELECT * INTO my_bib_queue FROM vandelay.bib_queue WHERE id = NEW.queue;
+ IF my_bib_queue.match_set IS NULL THEN
+ RETURN NEW;
+ END IF;
+
NEW.quality := vandelay.measure_record_quality( NEW.marc, my_bib_queue.match_set );
-- Perfect matches on 901$c exit early with a match with high quality.