]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- bugfix which prevented two character lenght databases beingbackuped
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 21 Jun 2007 11:38:53 +0000 (11:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql-bug-29082.patch -> 1.1

mysql-bug-29082.patch [new file with mode: 0644]

diff --git a/mysql-bug-29082.patch b/mysql-bug-29082.patch
new file mode 100644 (file)
index 0000000..0cb62d9
--- /dev/null
@@ -0,0 +1,16 @@
+--- mysql-5.0.41/scripts/mysqlhotcopy.sh~      2007-06-21 14:37:22.000000000 +0300
++++ mysql-5.0.41/scripts/mysqlhotcopy.sh       2007-06-21 14:37:24.924257114 +0300
+@@ -605,7 +605,12 @@
+       # add recursive option for scp
+       $cp.= " -r" if $^O =~ /m^(solaris|linux|freebsd|darwin)$/ && $method =~ /^scp\b/;
+-      my @non_raid = map { "'$_'" } grep { ! m:/$raid_dir_regex/[^/]+$: } @$files;
++      my @non_raid;
++      if (@$raid_dirs) {
++          @non_raid = map { "'$_'" } grep { ! m:/$raid_dir_regex/[^/]+$: } @$files;
++      } else {
++          @non_raid = @$files;
++      }
+       # add files to copy and the destination directory
+       safe_system( $cp, @non_raid, "'$target'" ) if (@non_raid);
This page took 0.057128 seconds and 4 git commands to generate.