diff options
author | unknown <mskold@mysql.com> | 2005-02-14 15:54:37 +0100 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2005-02-14 15:54:37 +0100 |
commit | 88bab66ffad2de6ac8f9b08ab95a212a4c62ff9b (patch) | |
tree | 709c3ff65366f1805c7cec7615941bd7abe632bc /ndb/src/ndbapi | |
parent | 513655cede284b91e93bab13a2fe0a4fae41cd53 (diff) | |
parent | 114487dd0844e728406b4b0872202ddb95863582 (diff) | |
download | mariadb-git-88bab66ffad2de6ac8f9b08ab95a212a4c62ff9b.tar.gz |
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-5.0-ndb
Diffstat (limited to 'ndb/src/ndbapi')
-rw-r--r-- | ndb/src/ndbapi/ClusterMgr.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ndb/src/ndbapi/ClusterMgr.cpp b/ndb/src/ndbapi/ClusterMgr.cpp index 41ae532164b..183cb6488f8 100644 --- a/ndb/src/ndbapi/ClusterMgr.cpp +++ b/ndb/src/ndbapi/ClusterMgr.cpp @@ -410,7 +410,13 @@ ClusterMgr::reportConnected(NodeId nodeId){ theNode.connected = true; theNode.hbSent = 0; theNode.hbCounter = 0; - + + /** + * make sure the node itself is marked connected even + * if first API_REGCONF has not arrived + */ + theNode.m_state.m_connected_nodes.set(nodeId); + if (theNode.m_info.m_type != NodeInfo::REP) { theNode.hbFrequency = 0; } |