[packages/mysql] adjust for 5.6.14

glen glen at pld-linux.org
Sun Dec 22 16:29:44 CET 2013


commit 3d372896b191f01bb203cdb4ac4c079944e43bb8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Dec 20 15:01:21 2013 +0200

    adjust for 5.6.14

 bug-44278.patch | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/bug-44278.patch b/bug-44278.patch
index f8371b0..b5d680c 100644
--- a/bug-44278.patch
+++ b/bug-44278.patch
@@ -25,8 +25,8 @@ Content-Disposition: inline
     modified:
       scripts/mysqlhotcopy.sh
 === modified file 'scripts/mysqlhotcopy.sh'
---- a/scripts/mysqlhotcopy.sh	2009-04-28 16:16:17 +0000
-+++ b/scripts/mysqlhotcopy.sh	2009-08-04 18:57:34 +0000
+--- Percona-Server-5.6.14-rel62.0/scripts/mysqlhotcopy.sh~	2013-12-20 14:56:59.000000000 +0200
++++ Percona-Server-5.6.14-rel62.0/scripts/mysqlhotcopy.sh	2013-12-20 14:58:39.183005974 +0200
 @@ -222,7 +222,7 @@ my ($tgt_dirname, $to_other_database);
  $to_other_database=0;
  if (defined($tgt_name) && $tgt_name =~ m:^\w+$: && @db_desc <= 1)
@@ -75,16 +75,16 @@ Content-Disposition: inline
    }
  }
  
-@@ -414,7 +417,8 @@ foreach my $rdb ( @db_desc ) {
+@@ -464,7 +464,8 @@
+     else {
+         mkdir($tgt_dirpath, 0750) or die "Can't create '$tgt_dirpath': $!\n"
              unless -d $tgt_dirpath;
-         if ($^O !~ m/^(NetWare)$/)  
-         {
--            my @f_info= stat "$datadir/$rdb->{src}";
-+            my @f_info= stat "$datadir/" .
-+                             encode_identifier_as_filename($rdb->{src});
-             chown $f_info[4], $f_info[5], $tgt_dirpath;
-         }
+-        my @f_info= stat "$datadir/$rdb->{src}";
++        my @f_info= stat "$datadir/" .
++                         encode_identifier_as_filename($rdb->{src});
+         chown $f_info[4], $f_info[5], $tgt_dirpath;
      }
+ }
 @@ -471,7 +475,9 @@ my @failed = ();
  
  foreach my $rdb ( @db_desc )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/d2ba42194432d386b7af84a84b2f5fde74752e7d



More information about the pld-cvs-commit mailing list