User visible change - breaks some environments, per Paul DuBois. Reverting in 4.1 and 5.0.

parent b3f2b36a
...@@ -49,7 +49,6 @@ const char *default_directories[]= { ...@@ -49,7 +49,6 @@ const char *default_directories[]= {
"sys:/etc/", "sys:/etc/",
#else #else
"/etc/", "/etc/",
"/etc/mysql/",
#endif #endif
#ifdef DATADIR #ifdef DATADIR
DATADIR, DATADIR,
......
...@@ -437,14 +437,6 @@ sub find_groups ...@@ -437,14 +437,6 @@ sub find_groups
{ {
$data[$i] = $line; $data[$i] = $line;
} }
if (-f "/etc/mysql/my.cnf" && -r "/etc/mysql/my.cnf")
{
open(MY_CNF, "</etc/mysql/my.cnf") && (@tmp=<MY_CNF>) && close(MY_CNF);
}
for (; ($line = shift @tmp); $i++)
{
$data[$i] = $line;
}
if (-f "$homedir/.my.cnf" && -r "$homedir/.my.cnf") if (-f "$homedir/.my.cnf" && -r "$homedir/.my.cnf")
{ {
open(MY_CNF, "<$homedir/.my.cnf") && (@tmp=<MY_CNF>) && close(MY_CNF); open(MY_CNF, "<$homedir/.my.cnf") && (@tmp=<MY_CNF>) && close(MY_CNF);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment