Commit 42044a87 authored by unknown's avatar unknown

[PATCH] BUG#29074 preserve file timestamps in ndb_error_reporter

Index: ndb-work/storage/ndb/tools/ndb_error_reporter
===================================================================


storage/ndb/tools/ndb_error_reporter:
  BUG#29074 preserve file timestamps in ndb_error_reporter
parent 85525c4a
...@@ -62,13 +62,13 @@ foreach my $node (@nodes) ...@@ -62,13 +62,13 @@ foreach my $node (@nodes)
(($config_get_fs)?" with filesystem":""). (($config_get_fs)?" with filesystem":"").
"\n\n"; "\n\n";
my $recurse= ($config_get_fs)?'-r ':''; my $recurse= ($config_get_fs)?'-r ':'';
system 'scp '.$recurse.$config_username.config($node,'host'). system 'scp -p '.$recurse.$config_username.config($node,'host').
':'.config($node,'datadir')."/ndb_".$node."* ". ':'.config($node,'datadir')."/ndb_".$node."* ".
"$reportdir/\n"; "$reportdir/\n";
} }
print "\n\n Copying configuration file...\n\n\t$config_file\n\n"; print "\n\n Copying configuration file...\n\n\t$config_file\n\n";
system "cp $config_file $reportdir/"; system "cp -p $config_file $reportdir/";
my $r = system 'bzip2 2>&1 > /dev/null < /dev/null'; my $r = system 'bzip2 2>&1 > /dev/null < /dev/null';
my $outfile; my $outfile;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment