Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.30.23 NdbTransaction::releaseLockHandle()

Description.  This method is used to release a lock handle (see Section 2.3.25.5, “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.

Note

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

Signature. 

int releaseLockHandle
    (
      const NdbLockHandle* lockHandle
    )

Parameters.  The NdbLockHandle object to be released.

Return value.  0 on success.