]> git.pld-linux.org Git - packages/mysql.git/blob - mysql-upgrade.patch
9a874d41fceb99c2386628d54bd60bbf9f431fa2
[packages/mysql.git] / mysql-upgrade.patch
1 --- mysql-5.1.14-beta/client/mysql_upgrade.c    2006-12-13 12:10:17.331321518 +0200
2 +++ mysql-5.1.17-beta/client/mysql_upgrade.c    2007-04-24 22:17:48.406948376 +0300
3 @@ -40,7 +40,7 @@
4  extern TYPELIB sql_protocol_typelib;
5  
6  static my_bool opt_force= 0, opt_verbose= 0, opt_compress= 0;
7 -static char *user= (char*) "root", *basedir= 0, *datadir= 0, *opt_password= 0;
8 +static char *user= (char*) "mysql", *basedir= 0, *datadir= 0, *opt_password= 0;
9  static char *current_host= 0;
10  static char *opt_default_charset= 0, *opt_charsets_dir= 0;
11  #ifdef HAVE_SMEM
12 @@ -563,7 +563,7 @@
13  
14    /* Find mysqlcheck */
15    if (find_file(mysqlcheck_name, basedir, MYF(0), path, sizeof(path),
16 -                "bin", EXTRA_CLIENT_PATHS, NullS))
17 +                "sbin", EXTRA_CLIENT_PATHS, NullS))
18    {
19       ret= 1;
20       fprintf(stderr,
This page took 0.026728 seconds and 3 git commands to generate.