mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 ndb/src/mgmapi/mgmapi.cpp: Auto merged ndb/tools/waiter.cpp: Auto merged
This commit is contained in:
commit
6ee68c82fb
2 changed files with 9 additions and 0 deletions
|
|
@ -124,6 +124,12 @@ getStatus(){
|
|||
ndbout << "status==NULL, retries="<<retries<<endl;
|
||||
MGMERR(handle);
|
||||
retries++;
|
||||
ndb_mgm_disconnect(handle);
|
||||
if (ndb_mgm_connect(handle,0,0,1)) {
|
||||
MGMERR(handle);
|
||||
g_err << "Reconnect failed" << endl;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
int count = status->no_of_nodes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue