[open-ils-commits] r10883 - branches/rel_1_4/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Oct 22 12:40:56 EDT 2008
Author: miker
Date: 2008-10-22 12:40:53 -0400 (Wed, 22 Oct 2008)
New Revision: 10883
Modified:
branches/rel_1_4/Open-ILS/src/sql/Pg/040.schema.asset.sql
Log:
fixing logic thinko in new in-db merge function
Modified: branches/rel_1_4/Open-ILS/src/sql/Pg/040.schema.asset.sql
===================================================================
--- branches/rel_1_4/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-10-21 20:36:07 UTC (rev 10882)
+++ branches/rel_1_4/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-10-22 16:40:53 UTC (rev 10883)
@@ -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