Commit cd4d340b authored by unknown's avatar unknown

Merge mysql.com:/home/jimw/my/mysql-5.0-12550

into  mysql.com:/home/jimw/my/mysql-5.0-clean

parents 5ae2ca21 7ac71fe4
...@@ -39,7 +39,8 @@ ...@@ -39,7 +39,8 @@
# If you want to affect other MySQL variables, you should make your changes # If you want to affect other MySQL variables, you should make your changes
# in the /etc/my.cnf, ~/.my.cnf or other MySQL configuration files. # in the /etc/my.cnf, ~/.my.cnf or other MySQL configuration files.
# If you change base dir, you must also change datadir # If you change base dir, you must also change datadir. These may get
# overwritten by settings in the MySQL configuration files.
basedir= basedir=
datadir= datadir=
...@@ -61,8 +62,8 @@ then ...@@ -61,8 +62,8 @@ then
else else
bindir="$basedir/bin" bindir="$basedir/bin"
datadir="$basedir/data" datadir="$basedir/data"
sbindir="$basedir/bin" sbindir="$basedir/sbin"
libexecdir="$basedir/bin" libexecdir="$basedir/libexec"
fi fi
# #
...@@ -99,8 +100,8 @@ parse_server_arguments() { ...@@ -99,8 +100,8 @@ parse_server_arguments() {
--basedir=*) basedir=`echo "$arg" | sed -e 's/^[^=]*=//'` --basedir=*) basedir=`echo "$arg" | sed -e 's/^[^=]*=//'`
bindir="$basedir/bin" bindir="$basedir/bin"
datadir="$basedir/data" datadir="$basedir/data"
sbindir="$basedir/bin" sbindir="$basedir/sbin"
libexecdir="$basedir/bin" libexecdir="$basedir/libexec"
;; ;;
--datadir=*) datadir=`echo "$arg" | sed -e 's/^[^=]*=//'` ;; --datadir=*) datadir=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
--user=*) user=`echo "$arg" | sed -e 's/^[^=]*=//'` ;; --user=*) user=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
...@@ -240,7 +241,7 @@ case "$mode" in ...@@ -240,7 +241,7 @@ case "$mode" in
if test -x $libexecdir/mysqlmanager if test -x $libexecdir/mysqlmanager
then then
manager=$libexecdir/mysqlmanager manager=$libexecdir/mysqlmanager
elif test -x $bindir/mysqlmanager elif test -x $sbindir/mysqlmanager
then then
manager=$sbindir/mysqlmanager manager=$sbindir/mysqlmanager
fi fi
......
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