From: Mike Taylor Date: Mon, 20 Dec 2010 21:41:46 +0000 (+0000) Subject: XS-update operation is recordDelete, not deleteRecord. X-Git-Tag: v1.29~33 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=d2caaef4bdf5eb821abf92ccb45cca8085928e9d;p=ZOOM-Perl-moved-to-github.git XS-update operation is recordDelete, not deleteRecord. Specify target using record=>$record rather than recordIdOpaque=>$id. --- diff --git a/samples/zoom/zoom-delete-records b/samples/zoom/zoom-delete-records index dbb584b..5c65d29 100755 --- a/samples/zoom/zoom-delete-records +++ b/samples/zoom/zoom-delete-records @@ -29,8 +29,8 @@ foreach my $i (1 .. $n) { my $id = ZOOM_record_id($rs, $i); print " DELETE $id"; my $p = $conn->package(); - $p->option(action => "deleteRecord"); - $p->option(recordIdOpaque => $id); + $p->option(action => "recordDelete"); + $p->option(record => $xml); $p->send("update"); $p->destroy(); }