diff options
author | unknown <lenz@mysql.com> | 2002-11-29 17:36:36 +0100 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2002-11-29 17:36:36 +0100 |
commit | 2f4a98912e1884fbed89c65bba0b1e0cd16f36f8 (patch) | |
tree | e83c542abfe2d907e7071bb0d91027ba0b34608d | |
parent | 931437252ff5ba967e8916e1fbca2ba537f0db5c (diff) | |
download | mariadb-git-2f4a98912e1884fbed89c65bba0b1e0cd16f36f8.tar.gz |
- removed unused variable $defaults
- parse mysql.server section in my.cnf as well
-rw-r--r-- | support-files/mysql.server.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index 6c3fa9f1127..f438899b3bf 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -79,7 +79,8 @@ parse_arguments() { done } -# Get arguments from the my.cnf file, groups [mysqld] and [mysql_server] +# Get arguments from the my.cnf file, +# groups [mysqld] [mysql_server] and [mysql.server] if test -x ./bin/my_print_defaults then print_defaults="./bin/my_print_defaults" @@ -117,7 +118,7 @@ else test -z "$print_defaults" && print_defaults="my_print_defaults" fi -parse_arguments `$print_defaults $defaults mysqld mysql_server` +parse_arguments `$print_defaults mysqld mysql_server mysql.server` # Safeguard (relative paths, core dumps..) cd $basedir |