Commit 068fee5f authored by joreland@mysql.com's avatar joreland@mysql.com

Bug in readTuples(LM_CommittedRead)

parent f62b63dc
......@@ -106,11 +106,11 @@ NdbResultSet* NdbScanOperation::readTuples(Uint32 parallell,
break;
case NdbCursorOperation::LM_Exclusive:
parallell = (parallell == 0 ? 1 : parallell);
res = openScan(parallell, true, /*irrelevant*/true, /*irrelevant*/false);
res = openScan(parallell, true, true, false);
break;
case NdbCursorOperation::LM_Dirty:
parallell = (parallell == 0 ? 240 : parallell);
res = openScan(parallell, true, /*irrelevant*/true, /*irrelevant*/false);
res = openScan(parallell, false, false, true);
break;
default:
res = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment