From 58f686f985a4da3cb590fbd6776d238b35bfee55 Mon Sep 17 00:00:00 2001 From: "mskold@mysql.com" <> Date: Mon, 12 Jun 2006 10:22:32 +0200 Subject: Fix for Bug #18184 SELECT ... FOR UPDATE does not work..: Added missing parameter for readTuples in index scan --- sql/ha_ndbcluster.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/ha_ndbcluster.cc') 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 { -- cgit v1.2.1