Bug #47960 declared but not defined functions in NdbDictionary
Submitted: 9 Oct 23:01 Modified: 16 Oct 15:48
Reporter: Martin Zaun
Status: Verified
Category:Server: NDBAPI Severity:S3 (Non-critical)
Version:mysql-5.1-telco-6.3 .. 7.1 OS:Any
Assigned to: Martin Zaun Target Version:
Tags: cleanup, ndb

[9 Oct 23: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 15:48] Magnus Blaudd
The unimplemented "functions" should be removed.