mgmapi.cpp:

bug #6919
This commit is contained in:
tomas@poseidon.ndb.mysql.com 2004-12-02 09:34:27 +00:00
parent 015b6f4136
commit e02261feca

View file

@ -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"