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