MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Nirbhay Choubey Date:March 4 2011 3:38pm
Subject:bzr commit into mysql-trunk branch (nirbhay.choubey:3727) Bug#11766219
View as plain text  
#At file:///home/nirbhay/Project/mysql/repo/bugs/source/mysql-trunk/ based on revid:jorgen.loland@stripped

 3727 Nirbhay Choubey	2011-03-04 [merge]
      Merge of fix for bug#11766219 from mysql-5.5 -> mysql-trunk.

    modified:
      mysys/default.c
=== modified file 'mysys/default.c'
--- a/mysys/default.c	2011-02-09 22:34:20 +0000
+++ b/mysys/default.c	2011-03-04 15:38:00 +0000
@@ -140,7 +140,7 @@ static int search_default_file_with_ext(
   - Unix:        /etc/
   - Unix:        /etc/mysql/
   - Unix:        --sysconfdir=<path> (compile-time option)
-  - ALL:         getenv(DEFAULT_HOME_ENV)
+  - ALL:         getenv("MYSQL_HOME")
   - ALL:         --defaults-extra-file=<path> (run-time option)
   - Unix:        ~/
 
@@ -1234,7 +1234,7 @@ static const char **init_default_directo
 
 #endif
 
-  if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV))))
+  if ((env= getenv("MYSQL_HOME")))
     errors += add_directory(alloc, env, dirs);
 
   /* Placeholder for --defaults-extra-file=<path> */


Attachment: [text/bzr-bundle]
Thread
bzr commit into mysql-trunk branch (nirbhay.choubey:3727) Bug#11766219Nirbhay Choubey4 Mar