Bug #35853 NdbInterpretedCode.hpp includes ndb_global.h
Submitted: 5 Apr 2008 18:20 Modified: 10 Jul 2008 10:41
Reporter: Monty Taylor Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: NDB API Severity:S2 (Serious)
Version:CGE-6.3.11 OS:Any
Assigned to: Frazer Clement CPU Architecture:Any

[5 Apr 2008 18:20] Monty Taylor
Description:
NdbApi.hpp includes NdbInterpretedCode.hpp now, which includes ndb_global.h. ndb_global.h is a noinst_HEADERS, so it doesn't get installed. This means that now programs that try to compile against NdbApi.hpp will fail. 

How to repeat:
Try to compile an NdbApi program against an _installed_ version of CGE 6.3.11 or later. 

Suggested fix:
Either - don't include NdbInterpretedCode.hpp in NdbApi.hpp, or install ndb_global
[7 Apr 2008 9:53] 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/44981

ChangeSet@1.2542, 2008-04-07 10:52:25+01:00, frazer@forth.ndb.mysql.com +2 -0
  Bug#35853 NdbInterpretedCode.hpp includes ndb_global.h
  
  Moving include of non delivered header file to implementation class
[12 Apr 2008 14:46] Jon Stephens
Documented bugfix in the 5.1.24-ndb-6.1.13 changelog as follows:

        NdbApi.hpp depended on ndb_global.h, which was not actually installed,
        causing the compilation of programs that used NdbApi.hpp to fail.

Left bug in Patch Pending status, pending additional merges.
[9 Jul 2008 8:59] Jon Stephens
Need to know which telco-6.2/6.3 versions this was fixed in. Thanks.
[9 Jul 2008 10:11] Frazer Clement
Pushed to 6.2.15, 6.3.15, 6.4.0
[9 Jul 2008 10:11] Frazer Clement
Pushed to 6.2.15, 6.3.15, 6.4.0
[10 Jul 2008 10:41] Jon Stephens
Documented bugfix in NDB 6.1.13, 6.2.16, 6.3.15 changelogs. (Fixed wrong tag in changelog entry.) Closed.
[12 Dec 2008 23:26] Bugs System
Pushed into 6.0.6-alpha  (revid:sp1r-frazer@forth.ndb.mysql.com-20080407095225-35225) (version source revid:sp1r-tomas@poseidon.ndb.mysql.com-20080516085603-30848) (pib:5)