Bug #23369 Embedded library can't be linked
Submitted: 17 Oct 2006 13:23 Modified: 20 Oct 2006 12:47
Reporter: Alexey Botchkov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S1 (Critical)
Version:5.1 OS:Solaris (Solaris)
Assigned to: Alexey Botchkov CPU Architecture:Any

[17 Oct 2006 13:23] Alexey Botchkov
Description:
Compilation stops reporting linker's error on embedded library

How to repeat:
Start building on Solaris
[17 Oct 2006 17:03] 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/13820

ChangeSet@1.2312, 2006-10-17 22:32:18+05:00, holyfoot@mysql.com +9 -0
  bug #23369 (Embedded library can't be linked)
  Problem is that some files moved to storage/*/ still keep
  dependencies to sql/ code (usually they uses THD structure)
  what can be compiled with different defines.
  So now we have to recompile that code for the embedded library.
[17 Oct 2006 17:50] 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/13823

ChangeSet@1.2313, 2006-10-17 23:19:47+05:00, holyfoot@mysql.com +2 -0
  bug #23369 (Embedded library can't be linked)
  Additional fix - we also need to set proper includes so these symlinked
  'storage' files can be compiled properly
[18 Oct 2006 9:24] 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/13846

ChangeSet@1.2324, 2006-10-18 14:53:43+05:00, holyfoot@mysql.com +7 -0
  bug #23369 (Embedded library can't be linked)
  Problem is that some files moved to storage/*/  still keep
  dependencies to sql/ code (usually uses members of THD structure)
  that can get different being compiled with different #defines
  Now we recompile these files for the embedded server
[18 Oct 2006 11:34] 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/13857

ChangeSet@1.2324, 2006-10-18 17:03:37+05:00, holyfoot@mysql.com +7 -0
  bug #23369 (Embedded library can't be linked)
  Problem is that some files moved to storage/*/ still are dependent
  on sql/ code (usually use members of THD structure)
  that can get different being compiled with another #define-s
  Code added to recompile these for the embedded server
[20 Oct 2006 12:47] Paul DuBois
No changelog entry needed.