LP#1284864: Don't leak deleted constituent records
authorMike Rylander <mrylander@gmail.com>
Fri, 7 Mar 2014 20:48:35 +0000 (15:48 -0500)
committerMike Rylander <mrylander@gmail.com>
Fri, 7 Mar 2014 21:40:58 +0000 (16:40 -0500)
commit8fb142d4631e33adca6b2422085bcd234177a20c
tree6626f5a087daf81438ee08a2dc2d2b72f5f1956f
parent19f438573115de734a21588071a65c329d621e81
LP#1284864: Don't leak deleted constituent records

There were times when deleted constituent records were leaking into
the display of metarecord results.  In particular, when a metarecord's
lead record was deleted, the lead was not recalculated.  We address
this situation directly now in the remapper.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.functions.metarecord-deleted-constituents.sql [new file with mode: 0644]