diff options
author | pekka@mysql.com <> | 2005-05-07 10:56:03 +0200 |
---|---|---|
committer | pekka@mysql.com <> | 2005-05-07 10:56:03 +0200 |
commit | 8ccd11182fff3698e56cc59fed82f2c7c775f0b1 (patch) | |
tree | 4ad486e78769dc37865e1ab50007d8661109c6f1 /ndb | |
parent | 7217b4e9a4e587b05c2f8049df8b23bd19f155bd (diff) | |
download | mariadb-git-8ccd11182fff3698e56cc59fed82f2c7c775f0b1.tar.gz |
ndb - bug#8928
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; |