MXS-2550: Fix default module parameters

The parameters weren't processed when they were added from the module
defaults.
This commit is contained in:
Markus Mäkelä 2019-06-18 07:06:51 +03:00
parent 372c9a8350
commit 6cbe9d1258
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -3638,6 +3638,7 @@ void config_add_defaults(CONFIG_CONTEXT* ctx, const MXS_MODULE_PARAM* params)
{
bool rv = config_add_param(ctx, params[i].name, params[i].default_value);
MXS_ABORT_IF_FALSE(rv);
config_fix_param(params, config_get_param(ctx->parameters, params[i].name));
}
}
}