Bug #27042 mysql-test-run sets plugin_dir incorrectly
Submitted: 12 Mar 2007 9:26 Modified: 11 Aug 2011 11:56
Reporter: Paul McCullagh (Basic Quality Contributor) (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S7 (Test Cases)
Version:5.1.16 OS:Linux (Linux)
Assigned to: Bjørn Munch CPU Architecture:Any
Tags: plugin_dir mysql-test-run, qc

[12 Mar 2007 9:26] Paul McCullagh
Description:
mysql-test-run set the plug-in directory as follows:

--plugin_dir=/.../storage/example/.libs

This location is impractical for 3rd party storage engines like PBXT.

Previously the plug-in directory was set to 'mysql-test/lib/mysql'.

How to repeat:
Start mysql-test-run as follows:

./mysql-test-run --manual-gdb

Then dump the content of the 'var/tmp/gdbinit.master_0' file to observe what parameters are set.

Suggested fix:
mysql-test-run should probably retrieve dynamic plug-in from the storage directory (such as 'storage/example/.libs/ha_example.so'), and copy them to the 'mysql-test/lib/mysql' directory.
[12 Mar 2007 11:25] Sveta Smirnova
Thank you for the report.

Verified as described.
[11 Aug 2011 11:56] Bjørn Munch
This referred to now obsolete behavior of v1 of mysql-test-run. There is no default setting of --plugin_dir now.