summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authormskold@mysql.com <>2006-06-12 10:22:32 +0200
committermskold@mysql.com <>2006-06-12 10:22:32 +0200
commit58f686f985a4da3cb590fbd6776d238b35bfee55 (patch)
tree565029b4e69b58a278aaa12cd41998213b6c5095 /sql/ha_ndbcluster.cc
parentb93ba41e68ca2dd6af6eb60bdd79da15ac75b364 (diff)
downloadmariadb-git-58f686f985a4da3cb590fbd6776d238b35bfee55.tar.gz
Fix for Bug #18184 SELECT ... FOR UPDATE does not work..: Added missing parameter for readTuples in index scan
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index 31a33aab5c0..e2d82d9f559 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -2028,7 +2028,7 @@ int ha_ndbcluster::ordered_index_scan(const key_range *start_key,
if (!(op= trans->getNdbIndexScanOperation((NDBINDEX *)
m_index[active_index].index,
(const NDBTAB *) m_table)) ||
- op->readTuples(lm, 0, parallelism, sorted, descending, need_pk))
+ op->readTuples(lm, 0, parallelism, sorted, descending, false, need_pk))
ERR_RETURN(trans->getNdbError());
m_active_cursor= op;
} else {