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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c7944ddd
Commit
c7944ddd
authored
Apr 23, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
parents
aae07fd1
00ee136e
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 @
c7944ddd
...
@@ -27,15 +27,34 @@ public:
...
@@ -27,15 +27,34 @@ public:
int
getDbNodeId
(
int
_i
);
int
getDbNodeId
(
int
_i
);
enum
RestartFlags
{
NRRF_INITIAL
=
0x1
,
NRRF_NOSTART
=
0x2
,
NRRF_ABORT
=
0x4
};
int
restartOneDbNode
(
int
_nodeId
,
int
restartOneDbNode
(
int
_nodeId
,
bool
initial
=
false
,
bool
initial
=
false
,
bool
nostart
=
false
,
bool
nostart
=
false
,
bool
abort
=
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
,
int
restartAll
(
bool
initial
=
false
,
bool
nostart
=
false
,
bool
nostart
=
false
,
bool
abort
=
false
);
bool
abort
=
false
);
int
restartAll2
(
Uint32
flags
){
return
restartAll
(
flags
&
NRRF_INITIAL
,
flags
&
NRRF_NOSTART
,
flags
&
NRRF_ABORT
);
}
int
startAll
();
int
startAll
();
int
startNodes
(
const
int
*
_nodes
,
int
_num_nodes
);
int
startNodes
(
const
int
*
_nodes
,
int
_num_nodes
);
int
waitClusterStarted
(
unsigned
int
_timeout
=
120
);
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