From: Date: May 27 2008 1:48pm Subject: bk commit into 5.1 tree (jonas:1.2605) BUG#36950 List-Archive: http://lists.mysql.com/commits/47078 X-Bug: 36950 Message-Id: <20080527114851.32D984E540@perch.localdomain> Below is the list of changes that have just been committed into a local 5.1 repository of jonas. When jonas 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 ChangeSet@stripped, 2008-05-27 13:48:47+02:00, jonas@stripped +1 -0 ndb - bug#36950 - patch 3 arg...bug in fix of long varsize keys (when datatype is short-varchar) storage/ndb/src/ndbapi/NdbScanOperation.cpp@stripped, 2008-05-27 13:48:44+02:00, jonas@stripped +1 -1 arg...bug in fix of long varsize keys (when datatype is short-varchar) diff -Nrup a/storage/ndb/src/ndbapi/NdbScanOperation.cpp b/storage/ndb/src/ndbapi/NdbScanOperation.cpp --- a/storage/ndb/src/ndbapi/NdbScanOperation.cpp 2008-05-26 18:41:13 +02:00 +++ b/storage/ndb/src/ndbapi/NdbScanOperation.cpp 2008-05-27 13:48:44 +02:00 @@ -556,7 +556,7 @@ NdbIndexScanOperation::setDistKeyFromRan Uint32 hashValue; int ret = Ndb::computeHash(&hashValue, result_record->table, - ptrs, tmp, sizeof(tmp)); + ptrs, tmpshrink, tmplen); if (ret == 0) { theDistributionKey= result_record->table->getPartitionId(hashValue);