MXS-2220 Move most remaining functions inside class
Most of the ones still remaining outside are special cases. Also, removed locking from status manipulation functions as it has not been required for quite some time.
This commit is contained in:
@ -3760,7 +3760,7 @@ int create_new_server(CONFIG_CONTEXT* obj)
|
||||
const char* disk_space_threshold = config_get_value(obj->parameters, CN_DISK_SPACE_THRESHOLD);
|
||||
if (disk_space_threshold)
|
||||
{
|
||||
if (!server->server_set_disk_space_threshold(disk_space_threshold))
|
||||
if (!server->set_disk_space_threshold(disk_space_threshold))
|
||||
{
|
||||
MXS_ERROR("Invalid value for '%s' for server %s: %s",
|
||||
CN_DISK_SPACE_THRESHOLD,
|
||||
|
||||
Reference in New Issue
Block a user