MySQL NDB Cluster API Developer Guide NdbEventOperation::execute()

Description.  Activates the NdbEventOperation, so that it can begin receiving events. Changed attribute values may be retrieved after Ndb::nextEvent() has returned a value other than NULL.

One of getValue(), getPreValue(), getBlobValue(), or getPreBlobValue() must be called before invoking execute().


Before attempting to use this method, you should have read the explanations provided in Section, “Ndb::nextEvent()”, and Section, “NdbEventOperation::getValue()”. Also see Section 2.3.21, “The NdbEventOperation Class”.


int execute

Parameters.  None.

Return value.  This method returns 0 on success and -1 on failure.