From: Date: August 11 2006 12:01pm Subject: bk commit into 5.1 tree (justin.he:1.2275) BUG#20848 List-Archive: http://lists.mysql.com/commits/10302 X-Bug: 20848 Message-Id: <200608111001.k7BA1xoB011022@qa3-104.qa.cn.tlan> Below is the list of changes that have just been committed into a local 5.1 repository of justin.he. When justin.he 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-11 18:01:46+08:00, justin.he@stripped +1 -0 BUG#20848 sql/ha_ndbcluster.cc@stripped, 2006-08-11 18:01:39+08:00, justin.he@stripped +5 -4 post merge fix # 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: justin.he # Host: qa3-104.qa.cn.tlan # Root: /mnt/sda7/justin.he/mysql/mysql-5.1-ndb-bj --- 1.348/sql/ha_ndbcluster.cc 2006-08-11 18:02:02 +08:00 +++ 1.349/sql/ha_ndbcluster.cc 2006-08-11 18:02:02 +08:00 @@ -179,6 +179,7 @@ ndb_connected_host= c->get_connected_host(); ndb_number_of_replicas= 0; 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; } @@ -9618,14 +9619,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))