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
1a6a2322
Commit
1a6a2322
authored
Aug 19, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/cps/mysql/trees/mysql-5.0
parents
da9dd0e8
d539d713
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
241 additions
and
101 deletions
+241
-101
server-tools/instance-manager/instance.cc
server-tools/instance-manager/instance.cc
+237
-99
server-tools/instance-manager/instance.h
server-tools/instance-manager/instance.h
+2
-2
server-tools/instance-manager/instance_options.cc
server-tools/instance-manager/instance_options.cc
+2
-0
No files found.
server-tools/instance-manager/instance.cc
View file @
1a6a2322
This diff is collapsed.
Click to expand it.
server-tools/instance-manager/instance.h
View file @
1a6a2322
...
...
@@ -41,7 +41,8 @@ class Instance
/* send a signal to the instance */
void
kill_instance
(
int
signo
);
int
is_crashed
();
void
fork_and_monitor
();
void
set_crash_flag_n_wake_all
();
Instance_map
*
Instance
::
get_map
();
public:
enum
{
DEFAULT_SHUTDOWN_DELAY
=
35
};
...
...
@@ -63,7 +64,6 @@ class Instance
Instance_map
*
instance_map
;
void
remove_pid
();
int
launch_and_wait
();
};
#endif
/* INCLUDES_MYSQL_INSTANCE_MANAGER_INSTANCE_H */
server-tools/instance-manager/instance_options.cc
View file @
1a6a2322
...
...
@@ -130,6 +130,8 @@ int Instance_options::fill_instance_version()
version_option
,
sizeof
(
version_option
)))
goto
err
;
bzero
(
result
,
MAX_VERSION_STRING_LENGTH
);
rc
=
parse_output_and_get_value
(
cmd
.
buffer
,
mysqld_path
,
result
,
MAX_VERSION_STRING_LENGTH
,
GET_LINE
);
...
...
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