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:
@ -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
|
* We have completed the creation of the instance data, so now
|
||||||
* insert this router instance into the linked list of routers
|
* insert this router instance into the linked list of routers
|
||||||
|
Reference in New Issue
Block a user