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

Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1

into mysql.com:/space/pekka/ndb/version/my41
parents 7e7ed0f6 8ccd1118
...@@ -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