MySQL NDB Cluster API Developer Guide Ndb::setNdbObjectName()

Description.  Starting with 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.