projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
put it back as it was
[spider.git]
/
cmd
/
dbshow.pl
diff --git
a/cmd/dbshow.pl
b/cmd/dbshow.pl
index 967cb469e90ff6b3e3112593a78d07b96799fb69..1835ed396afe3469306b209c387acc376645483c 100644
(file)
--- a/
cmd/dbshow.pl
+++ b/
cmd/dbshow.pl
@@
-24,7
+24,7
@@
foreach $n (@db) {
if ($db->remote) {
# remote databases
if ($db->remote) {
# remote databases
- unless (
DXCluster->get_exac
t($db->remote) || DXChannel->get($db->remote)) {
+ unless (
Route::Node::ge
t($db->remote) || DXChannel->get($db->remote)) {
push @out, $self->msg('db4', uc $name, $db->remote);
last;
}
push @out, $self->msg('db4', uc $name, $db->remote);
last;
}
@@
-41,11
+41,11
@@
foreach $n (@db) {
# local databases can chain to remote ones
my $count;
push @out, $db->print('pre');
# local databases can chain to remote ones
my $count;
push @out, $db->print('pre');
-
push @out, "@f";
+
#
push @out, "@f";
for (@f) {
for (@f) {
-
push @out, $db->name . " $_";
+
#
push @out, $db->name . " $_";
my $value = $db->getkey($_) || "";
my $value = $db->getkey($_) || "";
- push @out, $db->name . ": $_ :
$value
";
+ push @out, $db->name . ": $_ :";
if ($value) {
push @out, split /\n/, $value;
$count++;
if ($value) {
push @out, split /\n/, $value;
$count++;