Commit eef0952b authored by lenz@mysql.com's avatar lenz@mysql.com

mysql.server.sh:

 - reverted some incompatible/non-portable modifications
parent 4575594e
...@@ -79,7 +79,7 @@ parse_arguments() { ...@@ -79,7 +79,7 @@ parse_arguments() {
done done
} }
# Get arguments from the my.cnf file, groups [mysqld] and [mysql.server] # Get arguments from the my.cnf file, groups [mysqld] and [mysql_server]
if test -x ./bin/my_print_defaults if test -x ./bin/my_print_defaults
then then
print_defaults="./bin/my_print_defaults" print_defaults="./bin/my_print_defaults"
...@@ -117,7 +117,7 @@ else ...@@ -117,7 +117,7 @@ else
test -z "$print_defaults" && print_defaults="my_print_defaults" test -z "$print_defaults" && print_defaults="my_print_defaults"
fi fi
parse_arguments `$print_defaults $defaults mysqld mysql.server` parse_arguments `$print_defaults $defaults mysqld mysql_server`
# Safeguard (relative paths, core dumps..) # Safeguard (relative paths, core dumps..)
cd $basedir cd $basedir
...@@ -154,7 +154,7 @@ case "$mode" in ...@@ -154,7 +154,7 @@ case "$mode" in
sleep 1 sleep 1
while [ -s $pid_file -a "$flags" != aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ] while [ -s $pid_file -a "$flags" != aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ]
do do
[ -z "$flags" ] && echo -n "Wait for mysqld to exit" || echo -n "." [ -z "$flags" ] && echo "Wait for mysqld to exit\c" || echo ".\c"
flags=a$flags flags=a$flags
sleep 1 sleep 1
done done
......
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