Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Ndb::setNdbObjectName()

Description.  Starting with NDB 7.2.17 and NDB 7.3.6, you can set an arbitrary, human-readable name to identify an Ndb object for debugging purposes. This name can then be retrieved using getNdbObjectName(). (Bug #18419907) This must be done prior to calling init() for this object; trying to set a name after initialization fails with an error.

You can set a name only once for a given Ndb object; subsequent attempts after the name has already been set fail with an error.


int setNdbObjectName
      const char* name

Parameters.  A name that is intended to be human-readable.

Return value.  0 on success.

User Comments
Sign Up Login You must be logged in to post a comment.