[open-ils-commits] r13593 - trunk/Open-ILS/src/sql/Pg (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Jul 14 19:27:48 EDT 2009
Author: scottmk
Date: 2009-07-14 19:27:48 -0400 (Tue, 14 Jul 2009)
New Revision: 13593
Modified:
trunk/Open-ILS/src/sql/Pg/999.functions.global.sql
Log:
Correct a syntax error where '$func$' appeared in the place of '$$'
Modified: trunk/Open-ILS/src/sql/Pg/999.functions.global.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/999.functions.global.sql 2009-07-14 20:08:41 UTC (rev 13592)
+++ trunk/Open-ILS/src/sql/Pg/999.functions.global.sql 2009-07-14 23:27:48 UTC (rev 13593)
@@ -967,7 +967,7 @@
$$
-CREATE OR REPLACE FUNCTION asset.merge_record_assets( target_record BIGINT, source_record BIGINT ) RETURNS INT AS $func$
+CREATE OR REPLACE FUNCTION asset.merge_record_assets( target_record BIGINT, source_record BIGINT ) RETURNS INT AS $$
DECLARE
moved_objects INT := 0;
source_cn asset.call_number%ROWTYPE;
@@ -1111,5 +1111,5 @@
-- That's all, folks!
RETURN moved_objects;
END;
-$func$ LANGUAGE plpgsql;
+$$ LANGUAGE plpgsql;
More information about the open-ils-commits
mailing list