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:
@ -49,6 +49,15 @@ public:
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* Define the NdbIndexOperation to be a standard operation of type readTuple.
|
||||
* When calling NdbConnection::execute, this operation
|
||||
* reads a tuple.
|
||||
*
|
||||
* @return 0 if successful otherwise -1.
|
||||
*/
|
||||
int readTuple(LockMode);
|
||||
|
||||
/**
|
||||
* Define the NdbIndexOperation to be a standard operation of type readTuple.
|
||||
* When calling NdbConnection::execute, this operation
|
||||
|
Reference in New Issue
Block a user