Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual NdbBlob::ActiveHook


ActiveHook is a data type defined for use as a callback for the setActiveHook() method. (See Section, “NdbBlob::setActiveHook()”.)

Definition.  ActiveHook is a custom data type defined as shown here:

typedef int ActiveHook
      NdbBlob* me,
      void*    arg

Description.  This is a callback for NdbBlob::setActiveHook(), and is invoked immediately once the prepared operation has been executed (but not committed). Any calls to getValue() or setValue() are performed first. The BLOB handle is active so readData() or writeData() can be used to manipulate the BLOB value. A user-defined argument is passed along with the NdbBlob. setActiveHook() returns a nonzero value in the event of an error.

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.