From cf63e4cb9e1d08a7719d5d9f66f3d9799474b5e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Fri, 10 Feb 2017 18:49:22 +0200 Subject: [PATCH] Remove false debug assertion If MaxScale is started without the appropriate permissions to the paths pointed by default values, the debug assertion fails even though the parameter is valid but not usable. --- server/core/config.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/core/config.c b/server/core/config.c index 99953c2d8..ba614aa4b 100644 --- a/server/core/config.c +++ b/server/core/config.c @@ -2512,9 +2512,6 @@ void config_add_defaults(CONFIG_CONTEXT *ctx, const MXS_MODULE_PARAM *params) if (params[i].default_value && config_get_param(ctx->parameters, params[i].name) == NULL) { - ss_dassert(config_param_is_valid(params, params[i].name, - params[i].default_value, ctx)); - bool rv = config_add_param(ctx, params[i].name, params[i].default_value); MXS_ABORT_IF_FALSE(rv); }