Fix to MXS-32: https://mariadb.atlassian.net/browse/MXS-32
readconnroute now accepts RUNNING as server status when no router_options are given.
This commit is contained in:
parent
23bcabe5e3
commit
b4f5a4eb9f
@ -333,7 +333,12 @@ char *weightby;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(inst->bitmask == 0 && inst->bitvalue == 0)
|
||||
{
|
||||
/** No parameters given, use RUNNING as a valid server */
|
||||
inst->bitmask |= (SERVER_RUNNING);
|
||||
inst->bitvalue |= SERVER_RUNNING;
|
||||
}
|
||||
/*
|
||||
* We have completed the creation of the instance data, so now
|
||||
* insert this router instance into the linked list of routers
|
||||
|
Loading…
x
Reference in New Issue
Block a user