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
8f8b396e
Commit
8f8b396e
authored
Jan 09, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add printouts when servers are restarted
Disable dynamic option switch
parent
af4bede6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+6
-1
No files found.
mysql-test/mysql-test-run.pl
View file @
8f8b396e
...
@@ -2822,6 +2822,9 @@ sub server_need_restart {
...
@@ -2822,6 +2822,9 @@ sub server_need_restart {
if
(
!
My::Options::
same
(
$started_opts
,
$extra_opts
)
)
if
(
!
My::Options::
same
(
$started_opts
,
$extra_opts
)
)
{
{
my
$use_dynamic_option_switch
=
0
;
return
1
if
(
!
$use_dynamic_option_switch
);
mtr_verbose
(
My::Options::
toStr
("
started_opts
",
@$started_opts
));
mtr_verbose
(
My::Options::
toStr
("
started_opts
",
@$started_opts
));
mtr_verbose
(
My::Options::
toStr
("
extra_opts
",
@$extra_opts
));
mtr_verbose
(
My::Options::
toStr
("
extra_opts
",
@$extra_opts
));
...
@@ -2907,7 +2910,7 @@ sub stop_servers($$) {
...
@@ -2907,7 +2910,7 @@ sub stop_servers($$) {
# All servers are going down, use some kind of order to
# All servers are going down, use some kind of order to
# avoid too many warnings in the log files
# avoid too many warnings in the log files
mtr_
verbose
("
All servers are going down
");
mtr_
report
("
Restarting all servers
");
# mysqld processes
# mysqld processes
My::SafeProcess::
shutdown
(
$opt_shutdown_timeout
,
started
(
mysqlds
())
);
My::SafeProcess::
shutdown
(
$opt_shutdown_timeout
,
started
(
mysqlds
())
);
...
@@ -2918,6 +2921,8 @@ sub stop_servers($$) {
...
@@ -2918,6 +2921,8 @@ sub stop_servers($$) {
}
}
else
else
{
{
mtr_report
("
Restarting
",
started
(
@servers
));
# Stop only some servers
# Stop only some servers
My::SafeProcess::
shutdown
(
$opt_shutdown_timeout
,
My::SafeProcess::
shutdown
(
$opt_shutdown_timeout
,
started
(
@servers
)
);
started
(
@servers
)
);
...
...
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