diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-06-06 16:41:13 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-06-06 16:41:13 +0200 |
commit | 1838938671197b0ae40bed0a99ea62dbf4be2595 (patch) | |
tree | 2e50fa8c26bc2290f757b93ce7ac8da8df5915a5 /mysql-test/mysql-test-run.pl | |
parent | 38c4ef63b862fd59b4285fc3bfd9f5dff536649d (diff) | |
download | mariadb-git-1838938671197b0ae40bed0a99ea62dbf4be2595.tar.gz |
fixes for bintar mtr failures:
look for plugins in the correct path.
skip --plugin-load if it has the empty soname part, not only if the whole argument is empty.
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index ebe7af3641d..0f9006cad69 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -2717,6 +2717,7 @@ sub setup_vardir() { # hm, what paths work for debs and for rpms ? for (<$bindir/lib64/mysql/plugin/*.so>, <$bindir/lib/mysql/plugin/*.so>, + <$bindir/lib/plugin/*.so>, # bintar <$bindir/lib/plugin/*.dll>) { my $pname=basename($_); @@ -5292,6 +5293,7 @@ sub mysqld_arguments ($$$) { } elsif ($plugin = mtr_match_prefix($arg, "--plugin-load=")) { + next if $plugin =~ /=$/; push @plugins, $plugin unless $seen{$plugin}; $seen{$plugin} = 1; } |