MXS-1384: Remove parameter length limitations
There is no reason to limit configuration parameter names or values to 256 characters.
This commit is contained in:
@ -1080,8 +1080,8 @@ MXS_CONFIG_PARAMETER* config_clone_param(const MXS_CONFIG_PARAMETER* param)
|
||||
|
||||
if (p2)
|
||||
{
|
||||
p2->name = MXS_STRNDUP_A(param->name, MAX_PARAM_LEN);
|
||||
p2->value = MXS_STRNDUP_A(param->value, MAX_PARAM_LEN);
|
||||
p2->name = MXS_STRDUP_A(param->name);
|
||||
p2->value = MXS_STRDUP_A(param->value);
|
||||
p2->next = NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user