Commit 3cfddc42 authored by unknown's avatar unknown

Bug in readTuples(LM_CommittedRead)

parent 9f1603d8
...@@ -106,11 +106,11 @@ NdbResultSet* NdbScanOperation::readTuples(Uint32 parallell, ...@@ -106,11 +106,11 @@ NdbResultSet* NdbScanOperation::readTuples(Uint32 parallell,
break; break;
case NdbCursorOperation::LM_Exclusive: case NdbCursorOperation::LM_Exclusive:
parallell = (parallell == 0 ? 1 : parallell); parallell = (parallell == 0 ? 1 : parallell);
res = openScan(parallell, true, /*irrelevant*/true, /*irrelevant*/false); res = openScan(parallell, true, true, false);
break; break;
case NdbCursorOperation::LM_Dirty: case NdbCursorOperation::LM_Dirty:
parallell = (parallell == 0 ? 240 : parallell); parallell = (parallell == 0 ? 240 : parallell);
res = openScan(parallell, true, /*irrelevant*/true, /*irrelevant*/false); res = openScan(parallell, false, false, true);
break; break;
default: default:
res = -1; 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