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

Evergreen Git git at git.evergreen-ils.org
Thu May 8 17:41: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  c04958b12b5ea91c68a41b891d1443fd868c9400 (commit)
      from  34c2878082127a35bc4a6064ab95274b983ca02c (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 c04958b12b5ea91c68a41b891d1443fd868c9400
Author: Yamil Suarez <yamil at yamil.com>
Date:   Thu May 8 17:37:07 2014 -0400

    Documentation: add a 'where' clause to bib record import stored procedure
    
    The stored procedure for doing bib record import was lacking a 'where'
    clause in one of the update statements.
    
    Signed-off-by: Yamil Suarez <yamil at yamil.com>

diff --git a/docs/admin_initial_setup/migrating_your_data.txt b/docs/admin_initial_setup/migrating_your_data.txt
index da466ba..e65af47 100644
--- a/docs/admin_initial_setup/migrating_your_data.txt
+++ b/docs/admin_initial_setup/migrating_your_data.txt
@@ -100,7 +100,8 @@ DECLARE stage RECORD;
 BEGIN
 FOR stage IN SELECT * FROM staging_records_import ORDER BY id LOOP
       INSERT INTO biblio.record_entry (marc, last_xact_id) VALUES (stage.marc, 'IMPORT');
-      UPDATE staging_records_import SET dest = currval('biblio.record_entry_id_seq');
+      UPDATE staging_records_import SET dest = currval('biblio.record_entry_id_seq') 
+       WHERE id = stage.id;
    END LOOP;
   END;
   $$ LANGUAGE plpgsql;

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

Summary of changes:
 docs/admin_initial_setup/migrating_your_data.txt |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list