From: Date: May 7 2005 10:56am Subject: bk commit into 4.1 tree (pekka:1.2236) BUG#8928 List-Archive: http://lists.mysql.com/internals/24657 X-Bug: 8928 Message-Id: <200505070856.j478uFLx024780@tuna.ndb.mysql.com> Below is the list of changes that have just been committed into a local 4.1 repository of pekka. When pekka does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ndb/src/kernel/blocks/dbdict/Dbdict.cpp 1.33 05/05/07 11:05:22 pekka@stripped +2 -0 same number of lh3distrbits for all frags ChangeSet 1.2236 05/05/07 10:56:03 pekka@stripped +1 -0 ndb - bug#8928 # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: pekka # Host: tuna.ndb.mysql.com # Root: /orca/space/pekka/ndb/version/my41 --- 1.32/ndb/src/kernel/blocks/dbdict/Dbdict.cpp 2005-04-18 12:41:09 +02:00 +++ 1.33/ndb/src/kernel/blocks/dbdict/Dbdict.cpp 2005-05-07 11:05:22 +02:00 @@ -4043,12 +4043,14 @@ 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;