mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
This commit is contained in:
commit
7baf861b63
7 changed files with 7 additions and 0 deletions
|
@ -75,6 +75,7 @@ int main(int argc, char** argv){
|
|||
return NDBT_ProgramExit(NDBT_WRONGARGS);
|
||||
|
||||
Ndb_cluster_connection con(opt_connect_str);
|
||||
con.set_name("ndb_delete_all");
|
||||
if(con.connect(12, 5, 1) != 0)
|
||||
{
|
||||
ndbout << "Unable to connect to management server." << endl;
|
||||
|
|
|
@ -81,6 +81,7 @@ int main(int argc, char** argv){
|
|||
return NDBT_ProgramExit(NDBT_WRONGARGS);
|
||||
|
||||
Ndb_cluster_connection con(opt_connect_str);
|
||||
con.set_name("ndb_desc");
|
||||
if(con.connect(12, 5, 1) != 0)
|
||||
{
|
||||
ndbout << "Unable to connect to management server." << endl;
|
||||
|
|
|
@ -61,6 +61,7 @@ int main(int argc, char** argv){
|
|||
}
|
||||
|
||||
Ndb_cluster_connection con(opt_connect_str);
|
||||
con.set_name("ndb_drop_index");
|
||||
if(con.connect(12, 5, 1) != 0)
|
||||
{
|
||||
return NDBT_ProgramExit(NDBT_FAILED);
|
||||
|
|
|
@ -61,6 +61,7 @@ int main(int argc, char** argv){
|
|||
}
|
||||
|
||||
Ndb_cluster_connection con(opt_connect_str);
|
||||
con.set_name("ndb_drop_table");
|
||||
if(con.connect(12, 5, 1) != 0)
|
||||
{
|
||||
ndbout << "Unable to connect to management server." << endl;
|
||||
|
|
|
@ -307,6 +307,7 @@ int main(int argc, char** argv){
|
|||
_tabname = argv[0];
|
||||
|
||||
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))
|
||||
fatal("Unable to connect to management server.");
|
||||
if (ndb_cluster_connection->wait_until_ready(30,0) < 0)
|
||||
|
|
|
@ -129,6 +129,7 @@ int main(int argc, char** argv){
|
|||
}
|
||||
|
||||
Ndb_cluster_connection con(opt_connect_str);
|
||||
con.set_name("ndb_select_all");
|
||||
if(con.connect(12, 5, 1) != 0)
|
||||
{
|
||||
ndbout << "Unable to connect to management server." << endl;
|
||||
|
|
|
@ -83,6 +83,7 @@ int main(int argc, char** argv){
|
|||
}
|
||||
|
||||
Ndb_cluster_connection con(opt_connect_str);
|
||||
con.set_name("ndb_select_count");
|
||||
if(con.connect(12, 5, 1) != 0)
|
||||
{
|
||||
ndbout << "Unable to connect to management server." << endl;
|
||||
|
|
Loading…
Add table
Reference in a new issue