MySQL NDB Cluster API Developer Guide Dictionary::createEvent()

Description.  Creates an event, given a reference to an Event object.

You should keep in mind that the NDB API does not track allocated event objects, which means that the user must delete the Event that was obtained using createEvent(), after this object is no longer required.


int createEvent
      const Event& event

Parameters.  A reference event to an Event object.

Return value.  0 on success, -1 on failure.