Bug #46587 | archive storage engine headers don't include my_global.h first | ||
---|---|---|---|
Submitted: | 6 Aug 2009 17:53 | Modified: | 28 Apr 2010 1:57 |
Reporter: | Mark Callaghan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Archive storage engine | Severity: | S3 (Non-critical) |
Version: | 5.4, 5.5.3-m3 | OS: | Any |
Assigned to: | Sergey Vojtovich | CPU Architecture: | Any |
Tags: | archive, include |
[6 Aug 2009 17:53]
Mark Callaghan
[26 Aug 2009 18:11]
MySQL Verification Team
Thank you for the bug report. /* We currently allow this on all platforms */ #define AZIO_AIO #include <zlib.h> #include "my_global.h" #include "my_sys.h" #include <my_dir.h>
[22 Mar 2010 15:20]
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/104012 3126 Joerg Bruehe 2010-03-22 Fixes related to bug#46587: archive storage engine headers don't include my_global.h first During the build of 5.5.3-m3 on older Linux platforms (kernels 2.4 or early 2.6), the symptom described in the bug report occurred both in the "archive" and in the "innobase" storage engine. This change is the patch proposed in that bug report, and a similar one in innobase, that latter is aligned with Vasil Dimov of Innobase, the original author.
[22 Mar 2010 15:29]
Joerg Bruehe
This bug affected the release build of 5.5.3 on early Linux platforms (kernels 2.4 and early 2.6). Applying the proposed patch solved it. So this fix will be included in the 5.5.3 release. Please change status back to "patch pending" after documenting it for 5.5.3: This fix is not yet reviewed formally, it should be either accepted as proposed by the reported or improved.
[23 Mar 2010 15:50]
Paul DuBois
Not in any released version. Resetting report to Patch Pending per Joerg's comment.
[15 Apr 2010 9: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/105702 3118 Sergey Vojtovich 2010-04-15 BUG#46587 - archive storage engine headers don't include my_global.h first We may end up with a compilation failure on certain platforms because zlib.h is included before my_global.h. Fixed by moving zlib.h inclusion down after my_global.h. @ storage/archive/azlib.h zlib.h must be included after my_global.h.
[27 Apr 2010 9:44]
Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100427094135-5s49ecp3ckson6e2) (version source revid:alik@sun.com-20100427093843-uekr85qkd7orx12t) (merge vers: 6.0.14-alpha) (pib:16)
[27 Apr 2010 9:48]
Bugs System
Pushed into 5.5.5-m3 (revid:alik@sun.com-20100427093804-a2k3rrjpwu5jegu8) (version source revid:alik@sun.com-20100427093804-a2k3rrjpwu5jegu8) (merge vers: 5.5.5-m3) (pib:16)
[27 Apr 2010 9:51]
Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100427094036-38frbg3famdlvjup) (version source revid:alik@sun.com-20100427093825-92wc8b22d4yg34ju) (pib:16)
[28 Apr 2010 1:57]
Paul DuBois
Not in any released version. No changelog entry needed.