[open-ils-commits] r10884 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Oct 22 12:41:44 EDT 2008
Author: miker
Date: 2008-10-22 12:41:41 -0400 (Wed, 22 Oct 2008)
New Revision: 10884
Modified:
trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql
Log:
fixing logic thinko in new in-db merge function
Modified: trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-10-22 16:40:53 UTC (rev 10883)
+++ trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-10-22 16:41:41 UTC (rev 10884)
@@ -200,7 +200,7 @@
FROM asset.call_number
WHERE label = source_cn.label
AND owning_lib = source_cn.owning_lib
- AND record = source_cn.record;
+ AND record = target_record;
IF FOUND THEN
UPDATE asset.copy
More information about the open-ils-commits
mailing list