MTR --mysqld=--default-storage-engine=foo incompatible w/ dynamically-loaded foo

Bug #1318537 reported by Laurynas Biveinis on 2014-05-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server
Status tracked in 5.6
5.1
Undecided
Unassigned
5.5
Undecided
Unassigned
5.6
Low
Laurynas Biveinis

Bug Description

Copy of http://bugs.mysql.com/bug.php?id=72615:

[12 May 8:29] Laurynas Biveinis
Description:
Credit goes to Rich Prohaska, https://github.com/Tokutek/percona-server-5.6/issues/8

MTR checks for the presence of default-storage-engine and default-tmp-storage-engine mysqld options (command_line_setup, optimize_cases) and then tests whether the specified engine is actually supported by the server (optimize_cases).

The test for support is performed by using server variables saved from an initial mysqld --help run (collect_mysqld_features). mysqld --help does not add any --plugin-load options there. Now, if the storage engine is dynamically loaded, and MTR is invoked with --mysqld=--default-storage-engine=foo --mysqld=--plugin-load=foo=foo.so, its presence won't be registered by collect_mysqld_features and the testcases will be skipped although they shouldn't.

How to repeat:
See above.

Suggested fix:
Pass any specified plugin-load options to collect_mysqld_features.

Related branches

lp:~laurynas-biveinis/percona-server/bug1318537
Merged into lp:percona-server at revision 587
Alexey Kopytov (community): Approve on 2014-05-13
tags: added: tokudb upstream
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.