Belatedly update xdump.pl not to use "xdump ver"

"version" is a normal table since commit da8a1dae, v4.3.12.  xdump.pl
wasn't updated for that, and queried the version table twice.  When
the deprecated special "xdump ver" was removed in commit 78b3af20
(v4.3.27), the extra query broke.  Remove it.
This commit is contained in:
Markus Armbruster 2011-06-15 11:36:45 +02:00
parent 2abe2baeef
commit 84a285e9b1

14
scripts/xdump.pl Normal file → Executable file
View file

@ -122,20 +122,6 @@ for my $tab (@{$table_by_name{table}}) {
parse_xdump(send_cmd("xdump $tab->{uid} *"), $tab->{uid});
}
# xdump ver
{
# pick an unused tuid:
my $tuid = $#meta_by_uid + 1;
# hack the table of tables:
push @{$table_by_name{table}}, {uid => $tuid, name => 'version'};
# xdump meta ver
$meta_by_uid[$tuid] = $meta_by_name{version} = [];
parse_xdump(send_cmd('xdump meta ver'), $tuid);
# xdump ver
$table_by_uid[$tuid] = $table_by_name{version} = [];
parse_xdump(send_cmd('xdump ver'), $tuid);
}
$dumper->dumpValue(\@table_by_uid);