[open-ils-commits] [GIT] Evergreen ILS branch master updated. 512400e63a3cb5362545b7ca0cc9729ac628774a

Evergreen Git git at git.evergreen-ils.org
Fri Dec 16 15:56:40 EST 2011


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  512400e63a3cb5362545b7ca0cc9729ac628774a (commit)
      from  e91a77636450c0449402bee51ae6ef22b8a11ff5 (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 512400e63a3cb5362545b7ca0cc9729ac628774a
Author: Dan Scott <dscott at laurentian.ca>
Date:   Tue Nov 22 11:55:45 2011 -0500

    Avoid updating deleted call numbers for 2.0 -> 2.1 upgrade
    
    25% of the call numbers on our production system are deleted, so
    filtering out the deleted call numbers from the update in the 2.0 -> 2.1
    upgrade saves a significant amount of time.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql b/Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql
index cbb6f71..a3a8560 100644
--- a/Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql
+++ b/Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql
@@ -5998,7 +5998,7 @@ $func$ LANGUAGE plpgsql;
 -- 0505
 UPDATE metabib.facet_entry SET value = evergreen.force_unicode_normal_form(value,'NFC');
 
-UPDATE asset.call_number SET id = id;
+UPDATE asset.call_number SET id = id WHERE deleted IS FALSE OR deleted = FALSE;
 
 -- Update reporter.materialized_simple_record with normalized ISBN values
 -- This might not get all of them, but most ISBNs will have more than one hyphen

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

Summary of changes:
 Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list