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
60d51a7a
Commit
60d51a7a
authored
Jul 11, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/stewart/Documents/MySQL/5.0/main
parents
b76db069
a00d1357
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
ndb/include/mgmcommon/ConfigRetriever.hpp
ndb/include/mgmcommon/ConfigRetriever.hpp
+1
-0
ndb/src/common/mgmcommon/ConfigRetriever.cpp
ndb/src/common/mgmcommon/ConfigRetriever.cpp
+6
-0
ndb/src/mgmsrv/main.cpp
ndb/src/mgmsrv/main.cpp
+2
-1
No files found.
ndb/include/mgmcommon/ConfigRetriever.hpp
View file @
60d51a7a
...
@@ -32,6 +32,7 @@ public:
...
@@ -32,6 +32,7 @@ public:
~
ConfigRetriever
();
~
ConfigRetriever
();
int
do_connect
(
int
no_retries
,
int
retry_delay_in_seconds
,
int
verbose
);
int
do_connect
(
int
no_retries
,
int
retry_delay_in_seconds
,
int
verbose
);
int
disconnect
();
/**
/**
* Get configuration for current node.
* Get configuration for current node.
...
...
ndb/src/common/mgmcommon/ConfigRetriever.cpp
View file @
60d51a7a
...
@@ -107,6 +107,12 @@ ConfigRetriever::do_connect(int no_retries,
...
@@ -107,6 +107,12 @@ ConfigRetriever::do_connect(int no_retries,
0
:
-
1
;
0
:
-
1
;
}
}
int
ConfigRetriever
::
disconnect
()
{
return
ndb_mgm_disconnect
(
m_handle
);
}
//****************************************************************************
//****************************************************************************
//****************************************************************************
//****************************************************************************
//****************************************************************************
//****************************************************************************
...
...
ndb/src/mgmsrv/main.cpp
View file @
60d51a7a
...
@@ -353,7 +353,8 @@ int main(int argc, char** argv)
...
@@ -353,7 +353,8 @@ int main(int argc, char** argv)
g_eventLogger
.
info
(
"Shutting down server..."
);
g_eventLogger
.
info
(
"Shutting down server..."
);
glob
.
socketServer
->
stopServer
();
glob
.
socketServer
->
stopServer
();
glob
.
socketServer
->
stopSessions
();
glob
.
mgmObject
->
get_config_retriever
()
->
disconnect
();
glob
.
socketServer
->
stopSessions
(
true
);
g_eventLogger
.
info
(
"Shutdown complete"
);
g_eventLogger
.
info
(
"Shutdown complete"
);
return
0
;
return
0
;
error_end:
error_end:
...
...
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