summaryrefslogtreecommitdiff
path: root/scripts/mysqld_multi.sh
diff options
context:
space:
mode:
authorunknown <df@kahlann.erinye.com>2007-01-22 16:34:22 +0100
committerunknown <df@kahlann.erinye.com>2007-01-22 16:34:22 +0100
commite2570e981178e43a53313112d11748b857500454 (patch)
tree21e9967a48eed27b308690a115ea0acd6f2a2c08 /scripts/mysqld_multi.sh
parent644e6c7fdd75b9e6e869927d956e38964eb95494 (diff)
parentae9549501bf601cb86e6530e4daaf1bca833e65b (diff)
downloadmariadb-git-e2570e981178e43a53313112d11748b857500454.tar.gz
Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work-24780
into kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work scripts/mysqld_multi.sh: Auto merged
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 91afe49b46b..a68ee7fed28 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++)
{