Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.6.20 Event::setReport()

Description.  This method is used to set a reporting option for an event. Possible option values may be found in Section 2.3.6.6, “Event::EventReport”.

Reporting of DDL events.  You must call setReport() using the EventReport value ER_DDL (added in the same NDB Cluster versions).

For example, to enable DDL event reporting on an Event object named myEvent, you must invoke this method as shown here:

myEvent.setReport(NdbDictionary::Event::ER_DDL);

Signature. 

void setReport
    (
      EventReport er
    )

Parameters.  An EventReport option value.

Return value.  None.


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