X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdbshow.pl;h=36879ff551cd54409278622f4aea90eb83d76c1e;hb=942cdc8c6434db4e2cf77b43ec26c0059768f853;hp=967cb469e90ff6b3e3112593a78d07b96799fb69;hpb=fd598bf2c7b12871c8941ecff8242dbd2b12d62e;p=spider.git diff --git a/cmd/dbshow.pl b/cmd/dbshow.pl index 967cb469..36879ff5 100644 --- a/cmd/dbshow.pl +++ b/cmd/dbshow.pl @@ -24,7 +24,7 @@ foreach $n (@db) { if ($db->remote) { # remote databases - unless (DXCluster->get_exact($db->remote) || DXChannel->get($db->remote)) { + unless (Route::Node::get($db->remote) || DXChannel->get($db->remote)) { push @out, $self->msg('db4', uc $name, $db->remote); last; } @@ -33,7 +33,7 @@ foreach $n (@db) { push @f, " " unless @f; for (@f) { my $n = DXDb::newstream($self->call); - DXProt::route(undef, $db->remote, DXProt::pc44($main::mycall, $db->remote, $n, uc $db->name,uc $_, $self->call)); + DXChannel::route(undef, $db->remote, DXProt::pc44($main::mycall, $db->remote, $n, uc $db->name,uc $_, $self->call)); } last; } else { @@ -41,11 +41,11 @@ foreach $n (@db) { # local databases can chain to remote ones my $count; push @out, $db->print('pre'); - push @out, "@f"; +# push @out, "@f"; for (@f) { - push @out, $db->name . " $_"; +# push @out, $db->name . " $_"; my $value = $db->getkey($_) || ""; - push @out, $db->name . ": $_ : $value"; + push @out, $db->name . ": $_ :"; if ($value) { push @out, split /\n/, $value; $count++;