Check configuration with declared parameters
The declared parameters are now used to check whether the configuration is valid. As the filters and monitors don't use the new declarations, the code needs to be commented out. Once the parameter processing has been migrated to the new system, the code can be enabled.
This commit is contained in:
@ -838,8 +838,14 @@ cleanup:
|
||||
return ret_code;
|
||||
}
|
||||
|
||||
const MXS_MODULE *get_module(const char *name)
|
||||
const MXS_MODULE *get_module(const char *name, const char *type)
|
||||
{
|
||||
LOADED_MODULE *mod = find_module(name);
|
||||
|
||||
if (mod == NULL && load_module(name, type))
|
||||
{
|
||||
mod = find_module(name);
|
||||
}
|
||||
|
||||
return mod ? mod->info : NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user