Commit 54dcbf2c authored by Bjorn Munch's avatar Bjorn Munch

Bug #45298 plugin.test is skipped in PB2 on UNIX platforms

Added search for example plugin in lib/mysql/plugin
parent 92773bfc
...@@ -1763,7 +1763,8 @@ sub environment_setup { ...@@ -1763,7 +1763,8 @@ sub environment_setup {
if ($mysql_version_id >= 50100) { if ($mysql_version_id >= 50100) {
my $lib_example_plugin= my $lib_example_plugin=
mtr_file_exists(vs_config_dirs('storage/example', 'ha_example.dll'), mtr_file_exists(vs_config_dirs('storage/example', 'ha_example.dll'),
"$basedir/storage/example/.libs/ha_example.so",); "$basedir/storage/example/.libs/ha_example.so",
"$basedir/lib/mysql/plugin/ha_example.so",);
$ENV{'EXAMPLE_PLUGIN'}= $ENV{'EXAMPLE_PLUGIN'}=
($lib_example_plugin ? basename($lib_example_plugin) : ""); ($lib_example_plugin ? basename($lib_example_plugin) : "");
$ENV{'EXAMPLE_PLUGIN_OPT'}= "--plugin-dir=". $ENV{'EXAMPLE_PLUGIN_OPT'}= "--plugin-dir=".
......
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