mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
set correct lockmode in all reads...
move lockmode from scan operation to operation added read tuple with lock mode ndb/include/ndbapi/NdbIndexOperation.hpp: added read tuple with lock mode ndb/include/ndbapi/NdbOperation.hpp: move lockmode from scan operation to operation ndb/include/ndbapi/NdbScanOperation.hpp: move lockmode from scan operation to operation ndb/src/ndbapi/NdbIndexOperation.cpp: added read tuple with lock mode ndb/src/ndbapi/NdbOperationDefine.cpp: added read tuple with lock mode sql/ha_ndbcluster.cc: set correct lockmode in all reads... moved lockmode from scan operatoin to operation
This commit is contained in:
@ -53,18 +53,6 @@ public:
|
||||
IndexCursor = 2
|
||||
};
|
||||
|
||||
/**
|
||||
* Lock when performing scan
|
||||
*/
|
||||
enum LockMode {
|
||||
LM_Read = 0,
|
||||
LM_Exclusive = 1,
|
||||
LM_CommittedRead = 2,
|
||||
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
|
||||
LM_Dirty = 2
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
* Type of cursor
|
||||
*/
|
||||
|
Reference in New Issue
Block a user