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.