diff options
author | unknown <pekka@mysql.com> | 2005-05-07 10:56:03 +0200 |
---|---|---|
committer | unknown <pekka@mysql.com> | 2005-05-07 10:56:03 +0200 |
commit | aa0c40a33bffc2a82bf200e54c5d8b1234d59acf (patch) | |
tree | 4ad486e78769dc37865e1ab50007d8661109c6f1 /ndb | |
parent | a3a9677ab240b12fa7cc26e60251e562bd979d81 (diff) | |
download | mariadb-git-aa0c40a33bffc2a82bf200e54c5d8b1234d59acf.tar.gz |
ndb - bug#8928
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
same number of lh3distrbits for all frags
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/kernel/blocks/dbdict/Dbdict.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ndb/src/kernel/blocks/dbdict/Dbdict.cpp b/ndb/src/kernel/blocks/dbdict/Dbdict.cpp index 184db794057..0c4d20ca248 100644 --- a/ndb/src/kernel/blocks/dbdict/Dbdict.cpp +++ b/ndb/src/kernel/blocks/dbdict/Dbdict.cpp @@ -4043,12 +4043,14 @@ calcLHbits(Uint32 * lhPageBits, Uint32 * lhDistrBits, tmp <<= 1; distrBits++; }//while +#ifdef ndb_classical_lhdistrbits if (tmp != totalFragments) { tmp >>= 1; if ((fid >= (totalFragments - tmp)) && (fid < (tmp - 1))) { distrBits--; }//if }//if +#endif * lhPageBits = pageBits; * lhDistrBits = distrBits; |