Allow module specific monitor parameters to be altered

Module specific parameters can now be altered at runtime. This allows both
the removal and addition of arbitrary monitor parameters.
This commit is contained in:
Markus Makela
2016-11-29 16:25:45 +02:00
parent 24af4b3225
commit 4c4bd24a40
7 changed files with 71 additions and 11 deletions

View File

@ -1070,7 +1070,7 @@ return_p2:
* Free a configuration parameter
* @param p1 Parameter to free
*/
void free_config_parameter(CONFIG_PARAMETER* p1)
void config_parameter_free(CONFIG_PARAMETER* p1)
{
while (p1)
{
@ -1089,7 +1089,7 @@ void config_context_free(CONFIG_CONTEXT *context)
while (context)
{
obj = context->next;
free_config_parameter(context->parameters);
config_parameter_free(context->parameters);
MXS_FREE(context->object);
MXS_FREE(context);
context = obj;