Improve error handling in marc2sre.pl when bib ID is not found
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Apr 2011 21:03:32 +0000 (21:03 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Apr 2011 21:03:32 +0000 (21:03 +0000)
commit444ebc935bb8ddc37312a308c2efa797a2cb2b3b
tree7a61f2ef0d0f28bde9684131230bfa91a9a65492
parent64e028a2a2102cca49b65755a580ef4be10f0ec0
Improve error handling in marc2sre.pl when bib ID is not found

If we can't find a bibliographic record ID to use in our load, then
skip that MFHD record and move on to the next one. Using the counter
gives sites a chance to identify which record caused the problem.

Aside: bitmap index scans for leading '%' LIKE searches make the
--bibfield / --bibsubfield extremely slow in large datasets. If
at all possible, avoid this path!

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20006 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/extras/import/marc2sre.pl