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.


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.