From: Markus Armbruster Date: Wed, 15 Jun 2011 09:36:45 +0000 (+0200) Subject: Belatedly update xdump.pl not to use "xdump ver" X-Git-Tag: v4.3.28~35 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=84a285e9b1b827609ead51ee513f79fe0d6e2f29 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. --- diff --git a/scripts/xdump.pl b/scripts/xdump.pl old mode 100644 new mode 100755 index ee2e2f5a7..db4e8702f --- a/scripts/xdump.pl +++ b/scripts/xdump.pl @@ -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);