diff options
author | unknown <mskold@mysql.com> | 2006-06-08 16:12:38 +0200 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2006-06-08 16:12:38 +0200 |
commit | 20e54ae6c579167c38ae9183e465f19ef0e60169 (patch) | |
tree | 1691889ea4d2b9b2210bdc28239c30042ad3df27 /ndb/include/ndbapi/NdbScanOperation.hpp | |
parent | 22e3b0c66f695e18269e2fc221461611fa5132c3 (diff) | |
download | mariadb-git-20e54ae6c579167c38ae9183e465f19ef0e60169.tar.gz |
Fix for Bug #18184 SELECT ... FOR UPDATE does not work..: implemented ha_ndblcuster::unlock_row() and explicitly lock all rows that are not being unlocked
Diffstat (limited to 'ndb/include/ndbapi/NdbScanOperation.hpp')
-rw-r--r-- | ndb/include/ndbapi/NdbScanOperation.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ndb/include/ndbapi/NdbScanOperation.hpp b/ndb/include/ndbapi/NdbScanOperation.hpp index f6e68dd4abe..af656720efb 100644 --- a/ndb/include/ndbapi/NdbScanOperation.hpp +++ b/ndb/include/ndbapi/NdbScanOperation.hpp @@ -64,14 +64,16 @@ public: * Tuples are not stored in NdbResultSet until execute(NoCommit) * has been executed and nextResult has been called. * + * @param keyinfo Return primary key, needed to be able to call lockTuple * @param parallel Scan parallelism * @param batch No of rows to fetch from each fragment at a time * @param LockMode Scan lock handling * @returns NdbResultSet. - * @note specifying 0 for batch and parallall means max performance + * @note specifying 0 for batch and parallell means max performance */ NdbResultSet* readTuples(LockMode = LM_Read, - Uint32 batch = 0, Uint32 parallel = 0); + Uint32 batch = 0, Uint32 parallel = 0, + bool keyinfo = false); inline NdbResultSet* readTuples(int parallell){ return readTuples(LM_Read, 0, parallell); |