From 84a285e9b1b827609ead51ee513f79fe0d6e2f29 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 15 Jun 2011 11:36:45 +0200 Subject: [PATCH] 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. --- scripts/xdump.pl | 14 -------------- 1 file changed, 14 deletions(-) mode change 100644 => 100755 scripts/xdump.pl 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); -- 2.43.0