List:Commits« Previous MessageNext Message »
From:lzhou Date:August 15 2006 6:13pm
Subject:bk commit into 5.1 tree (lzhou:1.2274)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of root. When root 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, 2006-08-15 18:13:04+00:00, lzhou@stripped +1 -0
  Merge lzhou@stripped:/home/bk/mysql-5.1-ndb
  into  dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.1/mysql-5.1-ndb-bj
  MERGE: 1.2255.1.21

  sql/ha_ndbcluster.cc@stripped, 2006-08-15 18:13:00+00:00, lzhou@stripped +0 -0
    Auto merged
    MERGE: 1.346.1.3

# 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:	lzhou
# Host:	dev3-138.dev.cn.tlan
# Root:	/home/zhl/mysql/mysql-5.1/mysql-5.1-ndb-bj/RESYNC

--- 1.348/sql/ha_ndbcluster.cc	2006-08-15 18:13:10 +00:00
+++ 1.349/sql/ha_ndbcluster.cc	2006-08-15 18:13:10 +00:00
@@ -168,8 +168,8 @@
 static const char * ndb_connected_host= 0;
 static long ndb_connected_port= 0;
 static long ndb_number_of_replicas= 0;
-long ndb_number_of_storage_nodes= 0;
-long ndb_number_of_ready_storage_nodes= 0;
+long ndb_number_of_data_nodes= 0;
+long ndb_number_of_ready_data_nodes= 0;
 long ndb_connect_count= 0;
 
 static int update_status_variables(Ndb_cluster_connection *c)
@@ -178,8 +178,8 @@
   ndb_connected_port=          c->get_connected_port();
   ndb_connected_host=          c->get_connected_host();
   ndb_number_of_replicas=      0;
-  ndb_number_of_storage_nodes= c->no_db_nodes();
-  ndb_number_of_ready_storage_nodes= c->get_no_ready();
+  ndb_number_of_ready_data_nodes= c->get_no_ready();
+  ndb_number_of_data_nodes=     c->no_db_nodes();
   ndb_connect_count= c->get_connect_count();
   return 0;
 }
@@ -189,7 +189,7 @@
   {"config_from_host",         (char*) &ndb_connected_host,      SHOW_CHAR_PTR},
   {"config_from_port",         (char*) &ndb_connected_port,          SHOW_LONG},
 //  {"number_of_replicas",     (char*) &ndb_number_of_replicas,      SHOW_LONG},
-  {"number_of_storage_nodes",(char*) &ndb_number_of_storage_nodes, SHOW_LONG},
+  {"number_of_data_nodes",(char*) &ndb_number_of_data_nodes, SHOW_LONG},
   {NullS, NullS, SHOW_LONG}
 };
 
@@ -9666,14 +9666,14 @@
                 "cluster_node_id=%u, "
                 "connected_host=%s, "
                 "connected_port=%u, "
-                "number_of_storage_nodes=%u, "
-                "number_of_ready_storage_nodes=%u, "
+                "number_of_data_nodes=%u, "
+                "number_of_ready_data_nodes=%u, "
                 "connect_count=%u",
                 ndb_cluster_node_id,
                 ndb_connected_host,
                 ndb_connected_port,
-                ndb_number_of_storage_nodes,
-                ndb_number_of_ready_storage_nodes,
+                ndb_number_of_data_nodes,
+                ndb_number_of_ready_data_nodes,
                 ndb_connect_count);
   if (stat_print(thd, ndbcluster_hton_name, ndbcluster_hton_name_length,
                  STRING_WITH_LEN("connection"), buf, buflen))
Thread
bk commit into 5.1 tree (lzhou:1.2274)lzhou15 Aug