X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=bin%2Ftest-xml-update.pl;h=8cc551c6dda3f17096977c0f3f36e959ed37d999;hp=321142de96474941639e7c04de281890d1374825;hb=acfeb1b0ef864a801e45eb7281819877997a8d07;hpb=bfb365d786f464c7f6a120bda77c3e1b57e66353 diff --git a/bin/test-xml-update.pl b/bin/test-xml-update.pl index 321142d..8cc551c 100755 --- a/bin/test-xml-update.pl +++ b/bin/test-xml-update.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# $Id: test-xml-update.pl,v 1.8 2007-01-24 09:28:02 mike Exp $ +# $Id: test-xml-update.pl,v 1.9 2007-03-19 18:50:22 mike Exp $ # # Run like this: # perl -I ../lib ./test-xml-update.pl bagel.indexdata.dk:210/gils title "Test Database" author "Adam" description "This is a nice database" @@ -80,7 +80,7 @@ print("Document modified with $nchanges change", $nchanges == 1 ? "" : "s", ": ", join(", ", map { $_->[2] } @changedFields), "\n"); if ($opts{w}) { - ZOOM::IRSpy::_really_rewrite_record($conn, $xc->getContextNode()); + ZOOM::IRSpy::_really_rewrite_record($conn, $xc->getContextNode(), $id); print "Rewrote record '$id'\n"; }