[open-ils-commits] r10509 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Sep 2 15:48:09 EDT 2008
Author: erickson
Date: 2008-09-02 15:48:05 -0400 (Tue, 02 Sep 2008)
New Revision: 10509
Modified:
trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
Log:
mike, check me on this one... fixing what looks like a copy/paste error. bib_record_attrs don't have lineitems
Modified: trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql 2008-09-02 17:30:27 UTC (rev 10508)
+++ trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql 2008-09-02 19:48:05 UTC (rev 10509)
@@ -543,7 +543,7 @@
CREATE OR REPLACE FUNCTION vandelay.cleanup_bib_marc ( ) RETURNS TRIGGER AS $$
BEGIN
- DELETE FROM vandelay.queued_bib_record_attr WHERE lineitem = OLD.id;
+ DELETE FROM vandelay.queued_bib_record_attr WHERE record = OLD.id;
IF TG_OP = 'UPDATE' THEN
RETURN NEW;
END IF;
More information about the open-ils-commits
mailing list