http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6199

--- Comment #5 from Robin Sheat <[email protected]> 2011-05-30 07:35:25 UTC 
---
$ KOHA_CONF=~/koha-dev/etc/koha-conf.xml misc/migration_tools/bulkmarcimport.pl
-file duplicates2.mrc -v
.Item not added (bib 65, item tag #2, barcode duplicate): duplicate barcode
duplicate
..Item not added (bib 67, item tag #1, barcode duplicate2): duplicate barcode
duplicate2
.
4 MARC records done in 0.205533981323242 seconds

> select count(*) from items;
+----------+
| count(*) |
+----------+
|        3 |
+----------+

This is as expected.

(after deleting all the stuff added: )

$ KOHA_CONF=~/koha-dev/etc/koha-conf.xml misc/migration_tools/bulkmarcimport.pl
-file duplicates2.mrc -v -dedupbarcode
....
4 MARC records done in 0.162705183029175 seconds

> select count(*) from items;
+----------+
| count(*) |
+----------+
|        5 |
+----------+

This is also as I'd expect.

Running it again without deleting anything gives a whole lot of SQL error
messages due to the item numbers being embedded in the records.

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to