Support for MySQL Cluster

Support for MySQL Cluster with ndbcluster monitor and readconnroute
with router_option=ndb
This commit is contained in:
MassimilianoPinto
2014-07-30 09:41:03 +02:00
parent 40546fc689
commit 744892e47c
5 changed files with 12 additions and 4 deletions

View File

@ -381,10 +381,10 @@ char *server_string;
}
if (isjoined) {
server_set_status(database->server, SERVER_JOINED);
server_set_status(database->server, SERVER_NDB);
database->server->depth = 0;
} else {
server_clear_status(database->server, SERVER_JOINED);
server_clear_status(database->server, SERVER_NDB);
database->server->depth = -1;
}
}