Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Ndb::dropEventOperation()

Description.  This method drops a subscription to a database event represented by an NdbEventOperation object.


Memory used by an event operation which has been dropped is not freed until the event buffer has been completely read. This means you must continue to call pollEvents() and nextEvent() in such cases until these methods return 0 and NULL, respectively in order for this memory to be freed.


int dropEventOperation
      NdbEventOperation *eventOp

Parameters.  This method requires a single input parameter, a pointer to an instance of NdbEventOperation.

Return value.  0 on success; any other result indicates failure.