From: Date: May 26 2008 11:22am Subject: bk commit into 5.1 tree (jonas:1.2603) BUG#36950 List-Archive: http://lists.mysql.com/commits/47041 X-Bug: 36950 Message-Id: <20080526092243.C30804DB87@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-26 11:22:39+02:00, jonas@stripped +1 -0 ndb - bug#36950 make sure to propaget pruning values to signal (as bounds are processed after signal is otherwise prepared) storage/ndb/src/ndbapi/NdbScanOperation.cpp@stripped, 2008-05-26 11:22:35+02:00, jonas@stripped +5 -0 make sure to propaget pruning values to signal (as bounds are processed after signal is otherwise prepared) diff -Nrup a/storage/ndb/src/ndbapi/NdbScanOperation.cpp b/storage/ndb/src/ndbapi/NdbScanOperation.cpp --- a/storage/ndb/src/ndbapi/NdbScanOperation.cpp 2008-04-28 16:27:18 +02:00 +++ b/storage/ndb/src/ndbapi/NdbScanOperation.cpp 2008-05-26 11:22:35 +02:00 @@ -534,6 +534,11 @@ NdbIndexScanOperation::setDistKeyFromRan { theDistributionKey= result_record->table->getPartitionId(hashValue); theDistrKeyIndicator_= 1; + + ScanTabReq *req= CAST_PTR(ScanTabReq, theSCAN_TABREQ->getDataPtrSend()); + ScanTabReq::setDistributionKeyFlag(req->requestInfo, 1); + req->distributionKey= theDistributionKey; + theSCAN_TABREQ->setLength(ScanTabReq::StaticLength + 1); } #ifdef VM_TRACE else