List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:August 27 2008 7:08pm
Subject:bzr commit into mysql-5.1 branch (jonas:2669)
View as plain text  
#At file:///home/jonas/src/telco-6.2/

 2669 Jonas Oreland	2008-08-27
      ndb - Fix bug in previous transporter-fix
modified:
  storage/ndb/src/common/transporter/TransporterRegistry.cpp

=== modified file 'storage/ndb/src/common/transporter/TransporterRegistry.cpp'
--- a/storage/ndb/src/common/transporter/TransporterRegistry.cpp	2008-08-27 12:12:57 +0000
+++ b/storage/ndb/src/common/transporter/TransporterRegistry.cpp	2008-08-27 17:08:47 +0000
@@ -1388,7 +1388,12 @@ bool TransporterRegistry::connect_client
   bool res = t->connect_client(connect_ndb_mgmd(h));
   if (res == true)
   {
-    performStates[mgm_nodeid] = TransporterRegistry::CONNECTED;
+    /**
+     * Set state to CONNECTING
+     *   so update_connections will pick it up
+     *   and reportConnected
+     */
+    performStates[mgm_nodeid] = TransporterRegistry::CONNECTING;
   }
   DBUG_RETURN(res);
 }

Thread
bzr commit into mysql-5.1 branch (jonas:2669) Jonas Oreland27 Aug