[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_6 updated. 63b8c06617c2a88c275890a117cb563865df970d
Evergreen Git
git at git.evergreen-ils.org
Thu May 8 17:51:02 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, rel_2_6 has been updated
via 63b8c06617c2a88c275890a117cb563865df970d (commit)
from 0a7490786d8a58121112a3d26cece93db9c25d38 (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 63b8c06617c2a88c275890a117cb563865df970d
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