diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2004-12-02 09:34:27 +0000 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2004-12-02 09:34:27 +0000 |
commit | 39d62ccc93c23f31db81459c4844133a49e19047 (patch) | |
tree | c3edc8a955caabe914508e63380b36e0b440d200 /ndb/src/mgmapi/mgmapi.cpp | |
parent | ef13523dbc01c5be7587f62c311d762bbd4c3aed (diff) | |
download | mariadb-git-39d62ccc93c23f31db81459c4844133a49e19047.tar.gz |
mgmapi.cpp:
bug #6919
ndb/src/mgmapi/mgmapi.cpp:
bug #6919
Diffstat (limited to 'ndb/src/mgmapi/mgmapi.cpp')
-rw-r--r-- | ndb/src/mgmapi/mgmapi.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ndb/src/mgmapi/mgmapi.cpp b/ndb/src/mgmapi/mgmapi.cpp index 651a4a8a725..e22ceffe773 100644 --- a/ndb/src/mgmapi/mgmapi.cpp +++ b/ndb/src/mgmapi/mgmapi.cpp @@ -574,7 +574,9 @@ cmp_state(const void *_a, const void *_b) a = (struct ndb_mgm_node_state *)_a; b = (struct ndb_mgm_node_state *)_b; - return a->node_id > b->node_id; + if (a->node_id > b->node_id) + return 1; + return -1; } extern "C" |