SOURCES: mysql-upgrade.patch - possible fix for not finding mysqlc...

glen glen at pld-linux.org
Tue Apr 24 21:52:17 CEST 2007


Author: glen                         Date: Tue Apr 24 19:52:15 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- possible fix for not finding mysqlcheck (doesn't compile on ac)

---- Files affected:
SOURCES:
   mysql-upgrade.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/mysql-upgrade.patch
diff -u SOURCES/mysql-upgrade.patch:1.2 SOURCES/mysql-upgrade.patch:1.3
--- SOURCES/mysql-upgrade.patch:1.2	Wed Dec 13 11:11:12 2006
+++ SOURCES/mysql-upgrade.patch	Tue Apr 24 21:52:10 2007
@@ -1,5 +1,5 @@
---- mysql-5.1.14-beta/client/mysql_upgrade.c~	2006-12-13 12:09:28.860238973 +0200
-+++ mysql-5.1.14-beta/client/mysql_upgrade.c	2006-12-13 12:10:17.331321518 +0200
+--- mysql-5.1.14-beta/client/mysql_upgrade.c	2006-12-13 12:10:17.331321518 +0200
++++ mysql-5.1.17-beta/client/mysql_upgrade.c	2007-04-24 22:17:48.406948376 +0300
 @@ -40,7 +40,7 @@
  extern TYPELIB sql_protocol_typelib;
  
@@ -9,3 +9,12 @@
  static char *current_host= 0;
  static char *opt_default_charset= 0, *opt_charsets_dir= 0;
  #ifdef HAVE_SMEM
+@@ -563,7 +563,7 @@
+ 
+   /* Find mysqlcheck */
+   if (find_file(mysqlcheck_name, basedir, MYF(0), path, sizeof(path),
+-                "bin", EXTRA_CLIENT_PATHS, NullS))
++                "sbin", EXTRA_CLIENT_PATHS, NullS))
+   {
+      ret= 1;
+      fprintf(stderr,
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mysql-upgrade.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list