Commit 7baf861b authored by mskold/marty@linux.site's avatar mskold/marty@linux.site

Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb

into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
parents 552d1086 6ec3cd98
...@@ -75,6 +75,7 @@ int main(int argc, char** argv){ ...@@ -75,6 +75,7 @@ int main(int argc, char** argv){
return NDBT_ProgramExit(NDBT_WRONGARGS); return NDBT_ProgramExit(NDBT_WRONGARGS);
Ndb_cluster_connection con(opt_connect_str); Ndb_cluster_connection con(opt_connect_str);
con.set_name("ndb_delete_all");
if(con.connect(12, 5, 1) != 0) if(con.connect(12, 5, 1) != 0)
{ {
ndbout << "Unable to connect to management server." << endl; ndbout << "Unable to connect to management server." << endl;
......
...@@ -81,6 +81,7 @@ int main(int argc, char** argv){ ...@@ -81,6 +81,7 @@ int main(int argc, char** argv){
return NDBT_ProgramExit(NDBT_WRONGARGS); return NDBT_ProgramExit(NDBT_WRONGARGS);
Ndb_cluster_connection con(opt_connect_str); Ndb_cluster_connection con(opt_connect_str);
con.set_name("ndb_desc");
if(con.connect(12, 5, 1) != 0) if(con.connect(12, 5, 1) != 0)
{ {
ndbout << "Unable to connect to management server." << endl; ndbout << "Unable to connect to management server." << endl;
......
...@@ -61,6 +61,7 @@ int main(int argc, char** argv){ ...@@ -61,6 +61,7 @@ int main(int argc, char** argv){
} }
Ndb_cluster_connection con(opt_connect_str); Ndb_cluster_connection con(opt_connect_str);
con.set_name("ndb_drop_index");
if(con.connect(12, 5, 1) != 0) if(con.connect(12, 5, 1) != 0)
{ {
return NDBT_ProgramExit(NDBT_FAILED); return NDBT_ProgramExit(NDBT_FAILED);
......
...@@ -61,6 +61,7 @@ int main(int argc, char** argv){ ...@@ -61,6 +61,7 @@ int main(int argc, char** argv){
} }
Ndb_cluster_connection con(opt_connect_str); Ndb_cluster_connection con(opt_connect_str);
con.set_name("ndb_drop_table");
if(con.connect(12, 5, 1) != 0) if(con.connect(12, 5, 1) != 0)
{ {
ndbout << "Unable to connect to management server." << endl; ndbout << "Unable to connect to management server." << endl;
......
...@@ -307,6 +307,7 @@ int main(int argc, char** argv){ ...@@ -307,6 +307,7 @@ int main(int argc, char** argv){
_tabname = argv[0]; _tabname = argv[0];
ndb_cluster_connection = new Ndb_cluster_connection(opt_connect_str); ndb_cluster_connection = new Ndb_cluster_connection(opt_connect_str);
ndb_cluster_connection->set_name("ndb_show_tables");
if (ndb_cluster_connection->connect(12,5,1)) if (ndb_cluster_connection->connect(12,5,1))
fatal("Unable to connect to management server."); fatal("Unable to connect to management server.");
if (ndb_cluster_connection->wait_until_ready(30,0) < 0) if (ndb_cluster_connection->wait_until_ready(30,0) < 0)
......
...@@ -129,6 +129,7 @@ int main(int argc, char** argv){ ...@@ -129,6 +129,7 @@ int main(int argc, char** argv){
} }
Ndb_cluster_connection con(opt_connect_str); Ndb_cluster_connection con(opt_connect_str);
con.set_name("ndb_select_all");
if(con.connect(12, 5, 1) != 0) if(con.connect(12, 5, 1) != 0)
{ {
ndbout << "Unable to connect to management server." << endl; ndbout << "Unable to connect to management server." << endl;
......
...@@ -83,6 +83,7 @@ int main(int argc, char** argv){ ...@@ -83,6 +83,7 @@ int main(int argc, char** argv){
} }
Ndb_cluster_connection con(opt_connect_str); Ndb_cluster_connection con(opt_connect_str);
con.set_name("ndb_select_count");
if(con.connect(12, 5, 1) != 0) if(con.connect(12, 5, 1) != 0)
{ {
ndbout << "Unable to connect to management server." << endl; ndbout << "Unable to connect to management server." << endl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment