[open-ils-commits] r20309 - in trunk/Open-ILS/src/sql/Pg: . upgrade (gmc)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Apr 26 09:14:08 EDT 2011
Author: gmc
Date: 2011-04-26 09:14:06 -0400 (Tue, 26 Apr 2011)
New Revision: 20309
Modified:
trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql
trunk/Open-ILS/src/sql/Pg/upgrade/0525.schema.phys-char-regression.sql
Log:
LP#771187: fix syntax error in stored procedure def
Author: Jason Stephenson <jstephenson at mvlc.org>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Modified: trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql 2011-04-25 18:43:17 UTC (rev 20308)
+++ trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql 2011-04-26 13:14:06 UTC (rev 20309)
@@ -1067,7 +1067,7 @@
ELSIF attr_def.phys_char_sf IS NOT NULL THEN -- a named Physical Characteristic, see config.marc21_physical_characteristic_*_map
SELECT m.value INTO attr_value
FROM biblio.marc21_physical_characteristics(NEW.id) v
- config.marc21_physical_characteristic_value_map m ON (m.id = v.value)
+ JOIN config.marc21_physical_characteristic_value_map m ON (m.id = v.value)
WHERE v.subfield = attr_def.phys_char_sf
LIMIT 1; -- Just in case ...
Modified: trunk/Open-ILS/src/sql/Pg/upgrade/0525.schema.phys-char-regression.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0525.schema.phys-char-regression.sql 2011-04-25 18:43:17 UTC (rev 20308)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0525.schema.phys-char-regression.sql 2011-04-26 13:14:06 UTC (rev 20309)
@@ -89,7 +89,7 @@
ELSIF attr_def.phys_char_sf IS NOT NULL THEN -- a named Physical Characteristic, see config.marc21_physical_characteristic_*_map
SELECT m.value INTO attr_value
FROM biblio.marc21_physical_characteristics(NEW.id) v
- config.marc21_physical_characteristic_value_map m ON (m.id = v.value)
+ JOIN config.marc21_physical_characteristic_value_map m ON (m.id = v.value)
WHERE v.subfield = attr_def.phys_char_sf
LIMIT 1; -- Just in case ...
More information about the open-ils-commits
mailing list