List:Commits« Previous MessageNext Message »
From:jonas oreland Date:February 16 2011 10:09am
Subject:bzr commit into mysql-5.1-telco-7.1-coord branch (jonas:4033)
View as plain text  
#At file:///home/jonas/src/71-coord/ based on revid:jonas@stripped

 4033 jonas oreland	2011-02-16
      ndb coord - fix user defined partitioning

    modified:
      storage/ndb/src/ndbapi/NdbOperationExec.cpp
=== modified file 'storage/ndb/src/ndbapi/NdbOperationExec.cpp'
--- a/storage/ndb/src/ndbapi/NdbOperationExec.cpp	2010-12-15 23:08:15 +0000
+++ b/storage/ndb/src/ndbapi/NdbOperationExec.cpp	2011-02-16 10:09:24 +0000
@@ -530,7 +530,10 @@ NdbOperation::prepareSend(Uint32 aTC_Con
 
   tOptionalDataPtr[0] = tScanInfo;
   tOptionalDataPtr[tDistrKeyIndex] = tDistrKey;
-  tOptionalDataPtr[tCoordinatedIndex] = coordinatedConnectPtr;
+  if (tCoordinatedIndicator)
+  {
+    tOptionalDataPtr[tCoordinatedIndex] = coordinatedConnectPtr;
+  }
   theTCREQ->setLength(TcKeyReq::StaticLength + 
                       tDistrKeyIndex +         // 1 for scan info present
                       theDistrKeyIndicator_ +  // 1 for distr key present


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20110216100924-qowb4syekz9zngv0.bundle
Thread
bzr commit into mysql-5.1-telco-7.1-coord branch (jonas:4033) jonas oreland16 Feb