mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
parent
015b6f4136
commit
e02261feca
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue