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

Bug #1318537 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Low
Laurynas Biveinis
5.1
Won't Fix
Undecided
Unassigned
5.5
Won't Fix
Undecided
Unassigned
5.6
Fix Released
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

tags: added: tokudb upstream
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2071

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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