Bug #47945 support multiple paths for plugin-dir

Submitted: 9 Oct 2009 13:01 Modified: 9 Oct 2009 16:57
Reporter: Zhenxing He Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: General Severity:S4 (Feature request)
Version:6.0 OS:Any
Assigned to: CPU Architecture:Any

[9 Oct 2009 13:01] Zhenxing He
Description:
MySQL only support one path for --plugin-dir, so we can not load two or more plugins that are located in different directories.

How to repeat:
check out mysql-5.1-rep+2, build and run:
  ./mtr rpl_semi_sync
it will fail when testing with InnoDB plugin like this:

rpl.rpl_semi_sync 'row + InnoDB plugin'  [ fail ]
        Test ended at 2009-10-09 20:58:02

CURRENT_TEST: rpl.rpl_semi_sync
mysqltest: At line 59: query 'INSTALL PLUGIN rpl_semi_sync_master SONAME 'libsemisync_master.so'' failed: 1126: Can't open shared library '/media/sdb2/hezx/work/mysql/bzrwork/semisync/5.1-rep+2/storage/innodb_plugin/.libs/libsemisync_master.so' (errno: 22 cannot open shared object file: No such file or directory)

Suggested fix:
Make --plugin-dir to support multiple paths.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.