From: Date: June 2 2005 9:14pm Subject: bk commit into 4.1 tree (tulin:1.2295) BUG#11050 List-Archive: http://lists.mysql.com/internals/25534 X-Bug: 11050 Message-Id: <200506021914.j52JEIvh026949@dl145b.mysql.com> Below is the list of changes that have just been committed into a local 4.1 repository of ndbdev. When ndbdev 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/installing-source-tree.html ChangeSet 1.2295 05/06/02 21:14:14 tulin@stripped +1 -0 CommandInterpreter.cpp: Bug #11050 ndb_mgm "show" prints incorrectly after master data node fails ndb/src/mgmclient/CommandInterpreter.cpp 1.47 05/06/02 21:13:56 tulin@stripped +2 -1 Bug #11050 ndb_mgm "show" prints incorrectly after master data node fails # 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: tulin # Host: dl145b.mysql.com # Root: /home/ndbdev/tomas/mysql-4.1 --- 1.46/ndb/src/mgmclient/CommandInterpreter.cpp Wed Feb 16 21:54:31 2005 +++ 1.47/ndb/src/mgmclient/CommandInterpreter.cpp Thu Jun 2 21:13:56 2005 @@ -1176,7 +1176,8 @@ api_nodes++; break; case NDB_MGM_NODE_TYPE_NDB: - if (state->node_states[i].dynamic_id < master_id) + if (state->node_states[i].dynamic_id && + state->node_states[i].dynamic_id < master_id) master_id= state->node_states[i].dynamic_id; ndb_nodes++; break;