summaryrefslogtreecommitdiff
path: root/scripts/mysqld_multi.sh
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2007-01-31 16:23:05 -0500
committercmiller@zippy.cornsilk.net <>2007-01-31 16:23:05 -0500
commitad66e7a0dd8d28ccc9a2ab206de373ec6a5aebcc (patch)
tree310051f9adb743a7d4761e730eb5dc7f6124cf95 /scripts/mysqld_multi.sh
parent5a0ac8afe71044cada67f1bed9c9dcae72b37689 (diff)
parent45f61a06fbad3e41efcd4cd950a068e967a70bd3 (diff)
downloadmariadb-git-ad66e7a0dd8d28ccc9a2ab206de373ec6a5aebcc.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
Diffstat (limited to 'scripts/mysqld_multi.sh')
-rw-r--r--scripts/mysqld_multi.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mysqld_multi.sh b/scripts/mysqld_multi.sh
index 5f1b0e0571c..a664bcfd3ad 100644
--- a/scripts/mysqld_multi.sh
+++ b/scripts/mysqld_multi.sh
@@ -467,6 +467,9 @@ sub find_groups
if (-f "@sysconfdir@/my.cnf" && -r "@sysconfdir@/my.cnf")
{
open(MY_CNF, "<@sysconfdir@/my.cnf") && (@tmp=<MY_CNF>) && close(MY_CNF);
+ } elsif (-f "/etc/my.cnf" && -r "/etc/my.cnf")
+ {
+ open(MY_CNF, "</etc/my.cnf") && (@tmp=<MY_CNF>) && close(MY_CNF);
}
for ($i = 0; ($line = shift @tmp); $i++)
{