Bug #55706 storage/ndb/include rebuilt too late
Submitted: 3 Aug 2010 7:38 Modified: 14 Aug 2010 5:50
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:6.2.19 OS:Any
Assigned to: Magnus Blåudd CPU Architecture:Any

[3 Aug 2010 7:38] Magnus Blåudd
Description:
The storage/ndb/include/ directory is rebuilt too late (i.e after src/) and thus causing build failures when someone has changed one of the generated header files in include.

How to repeat:
Modify for example version.h.in and rebuild. Build will fail if new things were added in ndb_version.h.in that is needed in src/

Suggested fix:
Move include first in the list of sub directories in storage/ndb/Makefile.am

CMakeLists.txt is already doing it this way.
[3 Aug 2010 8: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/114898
[3 Aug 2010 9:01] Bugs System
Pushed into mysql-5.1-telco-7.0 5.1.47-ndb-7.0.17 (revid:magnus.blaudd@sun.com-20100803080534-ldcog3po0iyrn5st) (version source revid:magnus.blaudd@sun.com-20100803080534-ldcog3po0iyrn5st) (merge vers: 5.1.47-ndb-7.0.17) (pib:18)
[4 Aug 2010 8:58] Magnus Blåudd
Pushed to 6.2.19, 6.3.36, 7.0.17 and 7.1.6
[14 Aug 2010 5:50] Jon Stephens
Development issue only -- no changes for end-users. Closed without further action.