[open-ils-commits] r16937 - trunk/Open-ILS/src/sql/Pg (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jul 15 06:24:50 EDT 2010
Author: dbs
Date: 2010-07-15 06:24:44 -0400 (Thu, 15 Jul 2010)
New Revision: 16937
Modified:
trunk/Open-ILS/src/sql/Pg/999.functions.global.sql
Log:
asset.merge_record_assets() needs auth_link declaration (was in upgrade script)
Modified: trunk/Open-ILS/src/sql/Pg/999.functions.global.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/999.functions.global.sql 2010-07-15 10:22:17 UTC (rev 16936)
+++ trunk/Open-ILS/src/sql/Pg/999.functions.global.sql 2010-07-15 10:24:44 UTC (rev 16937)
@@ -967,12 +967,13 @@
CREATE OR REPLACE FUNCTION asset.merge_record_assets( target_record BIGINT, source_record BIGINT ) RETURNS INT AS $func$
DECLARE
- moved_objects INT := 0;
- source_cn asset.call_number%ROWTYPE;
- target_cn asset.call_number%ROWTYPE;
- metarec metabib.metarecord%ROWTYPE;
- hold action.hold_request%ROWTYPE;
- ser_rec serial.record_entry%ROWTYPE;
+ moved_objects INT := 0;
+ source_cn asset.call_number%ROWTYPE;
+ target_cn asset.call_number%ROWTYPE;
+ metarec metabib.metarecord%ROWTYPE;
+ hold action.hold_request%ROWTYPE;
+ ser_rec serial.record_entry%ROWTYPE;
+ auth_link authority.bib_linking%ROWTYPE;
uri_count INT := 0;
counter INT := 0;
uri_datafield TEXT;
More information about the open-ils-commits
mailing list