]> 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)
committerGalen Charlton <galen.charlton@liblime.com>
Sat, 28 Mar 2009 00:06:52 +0000 (19:06 -0500)
commit9fa7abc25577be176189ac322545def7d771ad06
tree9e3e0c42f17212e83ada2c6084931033288496ef
parentaef62d880c8699446515e7bfae02bc2548c8bf8a
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>
misc/maintenance/sync_items_in_marc_bib.pl