Disabled C99.
This commit is contained in:
parent
40f4d8ee8f
commit
96edaca90c
@ -21,7 +21,7 @@ endmacro()
|
||||
macro(set_variables)
|
||||
|
||||
# Use C99
|
||||
set(USE_C99 TRUE CACHE BOOL "Use C99 standard")
|
||||
set(USE_C99 FALSE CACHE BOOL "Use C99 standard")
|
||||
|
||||
# Install the template maxscale.cnf file
|
||||
set(WITH_MAXSCALE_CNF TRUE CACHE BOOL "Install the template maxscale.cnf file")
|
||||
|
@ -525,7 +525,7 @@ static MONITOR_SERVERS *build_mysql51_replication_tree(MONITOR *mon)
|
||||
{
|
||||
MONITOR_SERVERS* database = mon->databases;
|
||||
MONITOR_SERVERS *ptr,*rval = NULL;
|
||||
|
||||
int i;
|
||||
while(database)
|
||||
{
|
||||
bool ismaster = false;
|
||||
@ -587,7 +587,7 @@ static MONITOR_SERVERS *build_mysql51_replication_tree(MONITOR *mon)
|
||||
|
||||
while(ptr)
|
||||
{
|
||||
for(int i = 0;ptr->server->slaves[i];i++)
|
||||
for(i = 0;ptr->server->slaves[i];i++)
|
||||
{
|
||||
if(ptr->server->slaves[i] == database->server->node_id)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user