Commit 8ccd1118 authored by pekka@mysql.com's avatar pekka@mysql.com

ndb - bug#8928

parent 7217b4e9
...@@ -4043,12 +4043,14 @@ calcLHbits(Uint32 * lhPageBits, Uint32 * lhDistrBits, ...@@ -4043,12 +4043,14 @@ calcLHbits(Uint32 * lhPageBits, Uint32 * lhDistrBits,
tmp <<= 1; tmp <<= 1;
distrBits++; distrBits++;
}//while }//while
#ifdef ndb_classical_lhdistrbits
if (tmp != totalFragments) { if (tmp != totalFragments) {
tmp >>= 1; tmp >>= 1;
if ((fid >= (totalFragments - tmp)) && (fid < (tmp - 1))) { if ((fid >= (totalFragments - tmp)) && (fid < (tmp - 1))) {
distrBits--; distrBits--;
}//if }//if
}//if }//if
#endif
* lhPageBits = pageBits; * lhPageBits = pageBits;
* lhDistrBits = distrBits; * lhDistrBits = distrBits;
......
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