Merge lp:~laurynas-biveinis/percona-server/bug1387227 into lp:percona-server/5.6

Proposed by Laurynas Biveinis
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 689
Proposed branch: lp:~laurynas-biveinis/percona-server/bug1387227
Merge into: lp:percona-server/5.6
Diff against target: 11 lines (+1/-0)
1 file modified
mysql-test/mysql-test-run.pl (+1/-0)
To merge this branch: bzr merge lp:~laurynas-biveinis/percona-server/bug1387227
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+240031@code.launchpad.net

Description of the change

Fix bug 1387227 (MTR --mysqld=--default-storage-engine=foo
incompatible w/ dynamically-loaded foo with non default basedir).

After fixing bug 1318537, collect_mysqld_features adds any
--plugin-load options to the mysqld invocation that checks for the
server features. That works if the actual server installation basedir
matches its default value. If it's not, the added --plugin-load option
will fail to find any plugins they reference.

Fix by passing the --basedir option to the collect_mysqld_features
mysqld invocation too.

http://jenkins.percona.com/job/percona-server-5.6-param/747/ and local TokuDB MTR test

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'mysql-test/mysql-test-run.pl'
2--- mysql-test/mysql-test-run.pl 2014-09-25 07:10:58 +0000
3+++ mysql-test/mysql-test-run.pl 2014-10-29 18:01:09 +0000
4@@ -1845,6 +1845,7 @@
5 my $args;
6 mtr_init_args(\$args);
7 mtr_add_arg($args, "--no-defaults");
8+ mtr_add_arg($args, "--basedir=%s", $basedir);
9 mtr_add_arg($args, "--datadir=%s", mixed_path($tmpdir));
10 mtr_add_arg($args, "--lc-messages-dir=%s", $path_language);
11 mtr_add_arg($args, "--skip-grant-tables");

Subscribers

People subscribed via source and target branches