Bug #47759 Unexpected error when loading federated plugin with dtrace on Solaris.
Submitted: 1 Oct 2009 9:50 Modified: 10 Jan 2013 11:29
Reporter: Horst Hunger Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Federated storage engine Severity:S3 (Non-critical)
Version:next OS:Solaris (SunOS 5.10 Generic_127128-11 i86pc i386 i86pc)
Assigned to: Assigned Account CPU Architecture:Any
Tags: DTrace, federated, plugin

[1 Oct 2009 9:50] Horst Hunger
Description:
The following error occurs when trying to load federated dynamically:

mysqltest: At line 6: query 'INSTALL PLUGIN federated SONAME 'ha_federated.so'' failed: 1126: Can't open shared library '/home/hh221802/bzr/mysql-47146/mysql-test/../storage/federated/.libs/ha_federated.so' (errno: 2 ld.so.1: mysqld: fatal: relocation error: file /home/hh221802/bzr/mysql-47146/mysql-test/../storage/federated/.libs/ha_federated)
Failed to read from '/home/hh221802/bzr/mysql-47146/mysql-test/var/log/federated_plugin.log', errno: 22

How to repeat:
execute the INSTALL statement mentioned in the error above after having made federated as a plugin. 

Suggested fix:
probably like in bug#47146.
[23 Nov 2009 7:27] Sveta Smirnova
See also bug #48960
[9 Feb 2010 9:49] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/99662

2977 Horst.Hunger	2010-02-09
      Patch for bug#47759 including a test for federated as plugin.
[9 Feb 2010 9:50] Horst Hunger
The test fails due to bug#40942.
[18 Feb 2010 11:55] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/100737

2977 Horst.Hunger	2010-02-18
      Revised patch for bug#47759 including a test for federated as plugin (missing DTRACESHAREDFILES and DTRACEFILES had wrong value).
[30 Mar 2010 7:02] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/104592

2977 Horst.Hunger	2010-03-30
      Revised patch for bug#47759 including a test for federated as plugin (missing DTRACESHAREDFILES and DTRACEFILES had wrong value).
[21 Apr 2010 8:11] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/106194

3143 Horst.Hunger	2010-04-21
      Patch for bug#47759 after review including a test.
[21 Apr 2010 9:10] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/106202

3143 Horst.Hunger	2010-04-21
      Patch for bug#47759 after review including a test. The result file is empty as the test failed due to bug#40942. The plugin test needs to be completed after this bug will be fixed.
[17 May 2010 11:31] Horst Hunger
Pushed the patch into trunk-bugfixing, next-mr-bugfixing and 6.0-codebase-bugfixing.,