MXS-2304 Config string handling cleanup
Using correct functions in most cases.
This commit is contained in:
@ -61,7 +61,7 @@ HintRouter* HintRouter::create(SERVICE* pService, MXS_CONFIG_PARAMETER* params)
|
||||
HR_ENTRY();
|
||||
|
||||
HINT_TYPE default_action = (HINT_TYPE)params->get_enum(DEFAULT_ACTION, default_action_values);
|
||||
string default_server(config_get_string(params, DEFAULT_SERVER));
|
||||
string default_server = params->get_string(DEFAULT_SERVER);
|
||||
int max_slaves = params->get_integer(MAX_SLAVES);
|
||||
return new HintRouter(pService, default_action, default_server, max_slaves);
|
||||
}
|
||||
|
Reference in New Issue
Block a user