Belatedly update xdump.pl not to use "xdump ver"
"version" is a normal table since commitda8a1dae
, 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 commit78b3af20
(v4.3.27), the extra query broke. Remove it.
This commit is contained in:
parent
2abe2baeef
commit
84a285e9b1
1 changed files with 0 additions and 14 deletions
14
scripts/xdump.pl
Normal file → Executable file
14
scripts/xdump.pl
Normal file → Executable file
|
@ -122,20 +122,6 @@ for my $tab (@{$table_by_name{table}}) {
|
||||||
parse_xdump(send_cmd("xdump $tab->{uid} *"), $tab->{uid});
|
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);
|
$dumper->dumpValue(\@table_by_uid);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue