Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.4.4 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.

Signature. 

int createEvent
    (
      const Event& event
    )

Parameters.  A reference event to an Event object.

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


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