]> git.pld-linux.org Git - packages/mysql.git/blame - mysql-bug-29082.patch
- release 2
[packages/mysql.git] / mysql-bug-29082.patch
CommitLineData
85beda0e 1--- mysql-5.0.41/scripts/mysqlhotcopy.sh~ 2007-06-21 14:37:22.000000000 +0300
2+++ mysql-5.0.41/scripts/mysqlhotcopy.sh 2007-06-21 14:37:24.924257114 +0300
3@@ -605,7 +605,12 @@
4 # add recursive option for scp
5 $cp.= " -r" if $^O =~ /m^(solaris|linux|freebsd|darwin)$/ && $method =~ /^scp\b/;
6
7- my @non_raid = map { "'$_'" } grep { ! m:/$raid_dir_regex/[^/]+$: } @$files;
8+ my @non_raid;
9+ if (@$raid_dirs) {
10+ @non_raid = map { "'$_'" } grep { ! m:/$raid_dir_regex/[^/]+$: } @$files;
11+ } else {
12+ @non_raid = @$files;
13+ }
14
15 # add files to copy and the destination directory
16 safe_system( $cp, @non_raid, "'$target'" ) if (@non_raid);
This page took 0.023569 seconds and 4 git commands to generate.