Commit c903266a authored by unknown's avatar unknown

Merge mysql.com:/home/jonas/src/mysql-4.1

into mysql.com:/home/jonas/src/mysql-5.0

parents 7d0041e8 10176212
baseport: 16000 baseport: 14000
basedir: /home/ndbdev/autotest/run basedir: /home/ndbdev/autotest/run
mgm: CHOOSE_host1 mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3 ndb: CHOOSE_host2 CHOOSE_host3
......
baseport: 16000 baseport: 14000
basedir: /space/autotest basedir: /space/autotest
mgm: CHOOSE_host1 mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3 CHOOSE_host2 CHOOSE_host3 ndb: CHOOSE_host2 CHOOSE_host3 CHOOSE_host2 CHOOSE_host3
......
...@@ -14,6 +14,6 @@ DataDir: . ...@@ -14,6 +14,6 @@ DataDir: .
FileSystemPath: /space/autotest/run FileSystemPath: /space/autotest/run
[MGM DEFAULT] [MGM DEFAULT]
PortNumber: 14000 PortNumber: 16000
ArbitrationRank: 1 ArbitrationRank: 1
DataDir: . DataDir: .
...@@ -15,6 +15,6 @@ DataDir: . ...@@ -15,6 +15,6 @@ DataDir: .
FileSystemPath: /space/autotest/run FileSystemPath: /space/autotest/run
[MGM DEFAULT] [MGM DEFAULT]
PortNumber: 14000 PortNumber: 16000
ArbitrationRank: 1 ArbitrationRank: 1
DataDir: . DataDir: .
#!/bin/sh #!/bin/sh
save_args=$* save_args=$*
VERSION="ndb-autotest.sh version 1.03" VERSION="ndb-autotest.sh version 1.04"
DATE=`date '+%Y-%m-%d'` DATE=`date '+%Y-%m-%d'`
export DATE export DATE
...@@ -208,9 +208,10 @@ start(){ ...@@ -208,9 +208,10 @@ start(){
} }
count_hosts(){ count_hosts(){
grep "CHOOSE_host" $1 | cnt=`grep "CHOOSE_host" $1 |
awk '{for(i=1; i<=NF;i++) if(match($i, "CHOOSE_host") > 0) print $i;}' | awk '{for(i=1; i<=NF;i++) if(match($i, "CHOOSE_host") > 0) print $i;}' |
| sort | uniq | wc -l sort | uniq | wc -l`
echo $cnt
} }
p=`pwd` p=`pwd`
......
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