diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-07-06 01:10:00 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-07-06 01:11:45 -0700 |
commit | 89dbf609d084eb353c048afa499aba953949f102 (patch) | |
tree | e064822e109ee3a077a475a647900a09ce3aa5b3 /04000_all_mysqld-safe-sh-4.0.27.patch | |
parent | Fix bug #271475, #elif not valid without an argument. Use #else instead. (diff) | |
download | mysql-extras-89dbf609d084eb353c048afa499aba953949f102.tar.gz mysql-extras-89dbf609d084eb353c048afa499aba953949f102.tar.bz2 mysql-extras-89dbf609d084eb353c048afa499aba953949f102.zip |
Need to use 5 digits of numbering now. LOTS of patches to track.
Diffstat (limited to '04000_all_mysqld-safe-sh-4.0.27.patch')
-rw-r--r-- | 04000_all_mysqld-safe-sh-4.0.27.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/04000_all_mysqld-safe-sh-4.0.27.patch b/04000_all_mysqld-safe-sh-4.0.27.patch new file mode 100644 index 0000000..1933254 --- /dev/null +++ b/04000_all_mysqld-safe-sh-4.0.27.patch @@ -0,0 +1,45 @@ +--- mysql-4.0.18/scripts/mysqld_safe.sh 2004-02-10 10:15:48.000000000 -0800 ++++ mysql-4.0.18/scripts/mysqld_safe.sh 2004-03-04 13:45:27.000000000 -0800 +@@ -89,42 +89,14 @@ + done + } + +- +-MY_PWD=`pwd` +-# Check if we are starting this relative (for the binary release) +-if test -d $MY_PWD/data/mysql -a -f ./share/mysql/english/errmsg.sys -a \ +- -x ./bin/mysqld +-then +- MY_BASEDIR_VERSION=$MY_PWD # Where bin, share and data are +- ledir=$MY_BASEDIR_VERSION/bin # Where mysqld is +- DATADIR=$MY_BASEDIR_VERSION/data +- if test -z "$defaults" +- then +- defaults="--defaults-extra-file=$MY_BASEDIR_VERSION/data/my.cnf" +- fi +-# Check if this is a 'moved install directory' +-elif test -f ./var/mysql/db.frm -a -f ./share/mysql/english/errmsg.sys -a \ +- -x ./libexec/mysqld +-then +- MY_BASEDIR_VERSION=$MY_PWD # Where libexec, share and var are +- ledir=$MY_BASEDIR_VERSION/libexec # Where mysqld is +- DATADIR=$MY_BASEDIR_VERSION/var +-else + MY_BASEDIR_VERSION=@prefix@ + DATADIR=@localstatedir@ + ledir=@libexecdir@ +-fi + + user=@MYSQLD_USER@ + niceness=0 + +-# Use the mysqld-max binary by default if the user doesn't specify a binary +-if test -x $ledir/mysqld-max +-then +- MYSQLD=mysqld-max +-else + MYSQLD=mysqld +-fi + + # these rely on $DATADIR by default, so we'll set them later on + pid_file= |