summaryrefslogtreecommitdiff
path: root/databases/mysql60-server/files
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-01-05 17:13:33 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-01-05 17:13:33 +0000
commitc2b1c5db7f49eee883728dbac3969581bee4e6ee (patch)
tree6d171102291a4eead120e6c00692fe92b2541698 /databases/mysql60-server/files
parentUpdate to 0.6.3. This compiles on FBSD 3.5.1 and similar with out a (diff)
Upgrade to 3.23.30.
Notes
Notes: svn path=/head/; revision=36826
Diffstat (limited to 'databases/mysql60-server/files')
-rw-r--r--databases/mysql60-server/files/patch-af14
1 files changed, 7 insertions, 7 deletions
diff --git a/databases/mysql60-server/files/patch-af b/databases/mysql60-server/files/patch-af
index a1e594c45b1d..ad1f5ae20877 100644
--- a/databases/mysql60-server/files/patch-af
+++ b/databases/mysql60-server/files/patch-af
@@ -1,6 +1,6 @@
---- scripts/safe_mysqld.sh.orig Wed Nov 22 12:58:59 2000
-+++ scripts/safe_mysqld.sh Fri Dec 1 00:53:26 2000
-@@ -61,26 +61,9 @@
+--- scripts/safe_mysqld.sh.orig Thu Jan 4 03:03:55 2001
++++ scripts/safe_mysqld.sh Fri Jan 5 14:05:04 2001
+@@ -64,26 +64,9 @@
done
}
@@ -30,7 +30,7 @@
MYSQL_UNIX_PORT=${MYSQL_UNIX_PORT:-@MYSQL_UNIX_ADDR@}
MYSQL_TCP_PORT=${MYSQL_TCP_PORT:-@MYSQL_TCP_PORT@}
-@@ -206,34 +189,6 @@
+@@ -220,34 +203,6 @@
if test ! -f $pid_file # This is removed if normal shutdown
then
break
@@ -43,12 +43,12 @@
- # but should work for the rest of the servers.
- # The only thing is ps x => redhat 5 gives warnings when using ps -x.
- # kill -9 is used or the process won't react on the kill.
-- numofproces=`ps xa | grep -v "grep" | grep -c $ledir/mysqld`
+- numofproces=`ps xa | grep -v "grep" | grep -c $ledir/$MYSQLD`
- echo -e "\nNumber of processes running now: $numofproces" | tee -a $err_log
- I=1
- while test "$I" -le "$numofproces"
- do
-- PROC=`ps xa | grep $ledir/mysqld | grep -v "grep" | tail -1`
+- PROC=`ps xa | grep $ledir/$MYSQLD | grep -v "grep" | tail -1`
- for T in $PROC
- do
- break
@@ -56,7 +56,7 @@
- # echo "TEST $I - $T **"
- if kill -9 $T
- then
-- echo "mysqld process hanging, pid $T - killed" | tee -a $err_log
+- echo "$MYSQLD process hanging, pid $T - killed" | tee -a $err_log
- else
- break
- fi