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

Added search for example plugin in lib/mysql/plugin
This commit is contained in:
Bjorn Munch 2009-06-16 15:26:17 +02:00
parent 92773bfc11
commit 54dcbf2cbe

View file

@ -1763,7 +1763,8 @@ sub environment_setup {
if ($mysql_version_id >= 50100) {
my $lib_example_plugin=
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'}=
($lib_example_plugin ? basename($lib_example_plugin) : "");
$ENV{'EXAMPLE_PLUGIN_OPT'}= "--plugin-dir=".