]> git.evergreen-ils.org Git - Evergreen.git/commit
Slight optimization for authority_control_fields.pl
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 1 May 2011 12:13:33 +0000 (12:13 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 1 May 2011 12:13:33 +0000 (12:13 +0000)
commit5d23ec17801639a9c601630ea3a7a844dd83dc22
tree680778197709fd1b2eb76c1c1ef6a6558997f1ef
parent0128f9f93fe9ff4fbd7e5953c84a94a5da09ea11
Slight optimization for authority_control_fields.pl

Instead of creating two CStoreEditors per bib record, reuse the global
CStoreEditor for read operations; this way we only have to create a new
CStoreEditor if a record has fields to authorize.

Signed-off-by: Dan Scott <dan@coffeecode.net>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20358 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/support-scripts/authority_control_fields.pl