diff options
author | unknown <stewart@flamingspork.com[stewart]> | 2007-06-13 23:34:36 +1000 |
---|---|---|
committer | unknown <stewart@flamingspork.com[stewart]> | 2007-06-13 23:34:36 +1000 |
commit | 42044a87abdc3212f87eacfbd57bfb9ad21a76c7 (patch) | |
tree | 16946d133098c3d5d25eacfdf4221a6ecd779172 /storage/ndb/tools | |
parent | 85525c4a544f80ee9c8721aae944e7b815baa194 (diff) | |
download | mariadb-git-42044a87abdc3212f87eacfbd57bfb9ad21a76c7.tar.gz |
[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
Diffstat (limited to 'storage/ndb/tools')
-rw-r--r-- | storage/ndb/tools/ndb_error_reporter | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/ndb/tools/ndb_error_reporter b/storage/ndb/tools/ndb_error_reporter index 2b5aadb6171..7ad7a2f478a 100644 --- a/storage/ndb/tools/ndb_error_reporter +++ b/storage/ndb/tools/ndb_error_reporter @@ -62,13 +62,13 @@ foreach my $node (@nodes) (($config_get_fs)?" with filesystem":""). "\n\n"; 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."* ". "$reportdir/\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 $outfile; |