Fix connector_plugindir usage with basedir

The connector_plugindir wasn't set correctly when basedir was used.
This commit is contained in:
Markus Mäkelä 2017-03-15 11:04:30 +02:00
parent c4d08a6936
commit 67590d59ac

View File

@ -1256,6 +1256,12 @@ bool set_dirs(const char *basedir)
set_config_persistdir(path);
}
if (rv && (rv = handle_path_arg(&path, basedir,
"var/" MXS_DEFAULT_CONNECTOR_PLUGIN_SUBPATH, true, true)))
{
set_connector_plugindir(path);
}
return rv;
}