[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 2d2e504c633ed30557324acf5ecff7971e68d581

Evergreen Git git at git.evergreen-ils.org
Wed Mar 26 10:17:36 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  2d2e504c633ed30557324acf5ecff7971e68d581 (commit)
      from  988605ececad7850f2a7276b64a697b6b5c9ae31 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2d2e504c633ed30557324acf5ecff7971e68d581
Author: Jason Stephenson <jstephenson at mvlc.org>
Date:   Tue Mar 25 13:59:55 2014 -0400

    LP1297435: Make 0872 upgrade require less hand holding.
    
    Add a count() around the metabib.remap_metarecord_for_bib call in the
    final select statement.  This allows the script to run without the
    user having to scroll through rows of output.
    
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/sql/Pg/upgrade/0872.functions.metarecord-deleted-constituents.sql b/Open-ILS/src/sql/Pg/upgrade/0872.functions.metarecord-deleted-constituents.sql
index b32c4b2..ca92d26 100644
--- a/Open-ILS/src/sql/Pg/upgrade/0872.functions.metarecord-deleted-constituents.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0872.functions.metarecord-deleted-constituents.sql
@@ -345,7 +345,7 @@ END;
 $F$ LANGUAGE PLPGSQL STABLE;
 
 -- Forcibly remap deleted master records, retaining the linkage if so configured.
-SELECT  metabib.remap_metarecord_for_bib( bre.id, bre.fingerprint, TRUE, COALESCE(flag.enabled,FALSE))
+SELECT  count(metabib.remap_metarecord_for_bib( bre.id, bre.fingerprint, TRUE, COALESCE(flag.enabled,FALSE)))
   FROM  metabib.metarecord metar
         JOIN biblio.record_entry bre ON bre.id = metar.master_record,
         config.internal_flag flag

-----------------------------------------------------------------------

Summary of changes:
 ...2.functions.metarecord-deleted-constituents.sql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list