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
00ee136e
Commit
00ee136e
authored
Apr 23, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb -
add new functions for (easier) using NdbRestarter
parent
8fa46718
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
storage/ndb/test/include/NdbRestarter.hpp
storage/ndb/test/include/NdbRestarter.hpp
+19
-0
No files found.
storage/ndb/test/include/NdbRestarter.hpp
View file @
00ee136e
...
...
@@ -27,15 +27,34 @@ public:
int
getDbNodeId
(
int
_i
);
enum
RestartFlags
{
NRRF_INITIAL
=
0x1
,
NRRF_NOSTART
=
0x2
,
NRRF_ABORT
=
0x4
};
int
restartOneDbNode
(
int
_nodeId
,
bool
initial
=
false
,
bool
nostart
=
false
,
bool
abort
=
false
);
int
restartOneDbNode2
(
int
_nodeId
,
Uint32
flags
){
return
restartOneDbNode
(
_nodeId
,
flags
&
NRRF_INITIAL
,
flags
&
NRRF_NOSTART
,
flags
&
NRRF_ABORT
);
}
int
restartAll
(
bool
initial
=
false
,
bool
nostart
=
false
,
bool
abort
=
false
);
int
restartAll2
(
Uint32
flags
){
return
restartAll
(
flags
&
NRRF_INITIAL
,
flags
&
NRRF_NOSTART
,
flags
&
NRRF_ABORT
);
}
int
startAll
();
int
startNodes
(
const
int
*
_nodes
,
int
_num_nodes
);
int
waitClusterStarted
(
unsigned
int
_timeout
=
120
);
...
...
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