[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 24b99f9bc8c566f3fe1d589ccadda819b76b9279

Evergreen Git git at git.evergreen-ils.org
Fri Dec 16 15:57:15 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, rel_2_1 has been updated
       via  24b99f9bc8c566f3fe1d589ccadda819b76b9279 (commit)
      from  b78cdbe029cc1df6143329f490e984a57b0b31bb (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 24b99f9bc8c566f3fe1d589ccadda819b76b9279
Author: Dan Scott <dscott at laurentian.ca>
Date:   Tue Nov 22 12:00:06 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 7e874d8..1acebc3 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
@@ -5669,7 +5669,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