Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Dictionary::getEvent()

Description.  This method is used to obtain a new Event object representing an event, given the event's name.

getEvent() allocates memory each time it is successfully called. You should keep in mind that successive invocations of this method using the same event name return multiple, distinct objects.

The NDB API does not track allocated event objects, which means that the user must delete each Event created using getEvent(), after the object is no longer required.


const Event* getEvent
      const char* eventName

Parameters.  The eventName, a string (character pointer).

Return value.  A pointer to an Event object. See Section 2.3.6, “The Event Class”, for more information.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.