bk commit into 4.1 tree (joerg:1.2166) -
03-30-2005
, 11:39 AM
Below is the list of changes that have just been committed into a local
4.1 repository of joerg. When joerg does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/in...urce-tree.html
ChangeSet
1.2166 05/03/30 18:38:54 joerg (AT) mysql (DOT) com +1 -0
Portability fix (avoid bash-ism).
support-files/mysql.server.sh
1.36 05/03/30 18:38:50 joerg (AT) mysql (DOT) com +3 -1
Replace a non-portable "for" loop (bash style, fails on BSD) by an equivalent "while" loop.
Note that the "stop" method is still wrong, as it does not wait for file removal.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: joerg
# Host: trift2.
# Root: /M41/push-4.1
--- 1.35/support-files/mysql.server.sh Tue Mar 15 12:23:09 2005
+++ 1.36/support-files/mysql.server.sh Wed Mar 30 18:38:50 2005
@@ -87,10 +87,12 @@
}
wait_for_pid () {
- for((i=0; i<35; i++)); do
+ i=0
+ while test $i -lt 35 ; do
sleep 1
test -s $pid_file && i='' && break
echo $echo_n ".$echo_c"
+ i=`expr $i + 1`
done
if test -z "$i" ; then
--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw |