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:

Table 2.51 NdbOperation::LockMode type values and descriptions

Name 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
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.