Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
18bddf14
Commit
18bddf14
authored
Apr 04, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
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
7279edc7
ef217b88
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
0 deletions
+7
-0
storage/ndb/tools/delete_all.cpp
storage/ndb/tools/delete_all.cpp
+1
-0
storage/ndb/tools/desc.cpp
storage/ndb/tools/desc.cpp
+1
-0
storage/ndb/tools/drop_index.cpp
storage/ndb/tools/drop_index.cpp
+1
-0
storage/ndb/tools/drop_tab.cpp
storage/ndb/tools/drop_tab.cpp
+1
-0
storage/ndb/tools/listTables.cpp
storage/ndb/tools/listTables.cpp
+1
-0
storage/ndb/tools/select_all.cpp
storage/ndb/tools/select_all.cpp
+1
-0
storage/ndb/tools/select_count.cpp
storage/ndb/tools/select_count.cpp
+1
-0
No files found.
storage/ndb/tools/delete_all.cpp
View file @
18bddf14
...
@@ -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
;
...
...
storage/ndb/tools/desc.cpp
View file @
18bddf14
...
@@ -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
;
...
...
storage/ndb/tools/drop_index.cpp
View file @
18bddf14
...
@@ -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
);
...
...
storage/ndb/tools/drop_tab.cpp
View file @
18bddf14
...
@@ -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
;
...
...
storage/ndb/tools/listTables.cpp
View file @
18bddf14
...
@@ -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
)
...
...
storage/ndb/tools/select_all.cpp
View file @
18bddf14
...
@@ -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
;
...
...
storage/ndb/tools/select_count.cpp
View file @
18bddf14
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment