]> git.koha-community.org Git - koha.git/commit
Improve performance and fault tolerance for sync_items...
authorJoe Atzberger <joe.atzberger@liblime.com>
Mon, 23 Mar 2009 21:25:21 +0000 (16:25 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:15:04 +0000 (21:15 +0200)
commit7f5c71598ea71959188f0066ac46f623b1837510
tree1e9ff1012b4652ae9b1bb0ee5a16814dd7093462
parent7f432389c066491e940bc72e906f4d87d37bc69d
Improve performance and fault tolerance for sync_items...

Pulled the GetMarcFromKohaField outside the loop, since we only need to
check it once.  Same for $item_sth.  Added safety checks for success of
delete_field and GetMarcItem, with warnings on failure.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
misc/maintenance/sync_items_in_marc_bib.pl