Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual NdbTransaction::releaseLockHandle()

Description.  This method is used to release a lock handle (see Section, “NdbOperation::getLockHandle”) when it is no longer required. For NdbRecord primary key read operations, this cannot be called until the associated read operation has been executed.


All lock handles associated with a given transaction are released when that transaction is closed.


int releaseLockHandle
      const NdbLockHandle* lockHandle

Parameters.  The NdbLockHandle object to be released.

Return value.  0 on success.