Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.25.15 NdbOperation::LockMode

Description.  This type describes the lock mode used when performing a read operation.

Enumeration values.  Possible values for this type are shown, along with descriptions, in the following table:

Value Description
LM_Read Read with shared lock
LM_Exclusive Read with exclusive lock
LM_CommittedRead Ignore locks; read last committed
LM_SimpleRead Read with shared lock, but release lock directly
Note

There is also support for dirty reads (LM_Dirty), but this is normally for internal purposes only, and should not be used for applications deployed in a production setting.


User Comments
Sign Up Login You must be logged in to post a comment.