Bug #47960 declared but not defined functions in NdbDictionary
Submitted: 9 Oct 2009 21:01 Modified: 20 Jan 2016 8:38
Reporter: Martin Zaun Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: NDB API Severity:S3 (Non-critical)
Version:mysql-5.1-telco-6.3 .. 7.1 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: cleanup, ndb

[9 Oct 2009 21:01] Martin Zaun
Description:
These functions are declared but nowhere defined and, hence, not available in libndbclient.

NdbDictionary::Datafile::getNode() const
NdbDictionary::Datafile::getFileNo() const
NdbDictionary::Datafile::setNode(unsigned int)

NdbDictionary::Undofile::getNode() const
NdbDictionary::Undofile::getFileNo() const
NdbDictionary::Undofile::setNode(unsigned int)

NdbDictionary::Table::getObjectType() const
NdbDictionary::Table::setObjectType(NdbDictionary::Object::Type) 

How to repeat:
$ nm storage/ndb/src/.libs/libndbclient.a | grep getFileNo

Suggested fix:
Remove these functions declarations from NdbDictionary.hpp, they cannot have been used so far, or implement them in NdbDictionary.cpp.
[16 Oct 2009 13:48] Magnus BlÄudd
The unimplemented "functions" should be removed.
[20 Jan 2016 8:38] Jon Stephens
Documented the removal in the NDB 7.5.0 changelog as follows:

    The following NDB API methods were not actually implemented and
    have been removed from the sources:

        [list of methods]

Also updated the API documentation for each of these methods. 

Closed.