Commit c1bb298e authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix mtr errors with Windows/embedded/plugins.

Plugins do not work on Windows/embedded,
thus do not set plugin environment variables.
parent 1fa5900f
......@@ -2424,7 +2424,7 @@ sub setup_vardir() {
$plugindir="$opt_vardir/plugins";
unshift (@opt_extra_mysqld_opt, "--plugin-dir=$plugindir");
mkpath($plugindir);
if (IS_WINDOWS)
if (IS_WINDOWS && !$opt_embedded_server)
{
for (<../storage/*$opt_vs_config/*.dll>,
<../plugin/*$opt_vs_config/*.dll>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment