diff options
author | unknown <tulin@dl145b.mysql.com> | 2005-06-02 21:25:37 +0200 |
---|---|---|
committer | unknown <tulin@dl145b.mysql.com> | 2005-06-02 21:25:37 +0200 |
commit | 336d32b19ce9ad51c2c538b2ce161a7816eacccb (patch) | |
tree | 4d4f9527138c6f2bbef49e0325fe75d88583ba4a /ndb | |
parent | dd3225b22bf8b478361ac795b9f067f4993fd384 (diff) | |
parent | 28a467c6faeac2e33637ce9bff9670987257a300 (diff) | |
download | mariadb-git-336d32b19ce9ad51c2c538b2ce161a7816eacccb.tar.gz |
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into dl145b.mysql.com:/home/ndbdev/tomas/tmp
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/mgmclient/CommandInterpreter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/src/mgmclient/CommandInterpreter.cpp b/ndb/src/mgmclient/CommandInterpreter.cpp index c3b0ee7fe97..34fe57d1fca 100644 --- a/ndb/src/mgmclient/CommandInterpreter.cpp +++ b/ndb/src/mgmclient/CommandInterpreter.cpp @@ -1176,7 +1176,8 @@ CommandInterpreter::executeShow(char* parameters) 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; |