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
4f367b42
Commit
4f367b42
authored
Apr 14, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporary re-enable the "always restart slave"
parent
19b95c06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+11
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
4f367b42
...
...
@@ -3007,6 +3007,17 @@ sub server_need_restart {
}
}
# Temporary re-enable the "always restart slave" hack
# this should be removed asap, but will require that each rpl
# testcase cleanup better after itself - ie. stop and reset
# replication
# Use the "#!use-slave-opt" marker to detect that this is a "slave"
# server
if
(
$server
->
option
("
#!use-slave-opt
")
){
mtr_verbose_restart
(
$server
,
"
Always restart slave(s)
");
return
1
;
}
my
$is_mysqld
=
grep
(
$server
eq
$_
,
mysqlds
());
if
(
$is_mysqld
)
{
...
...
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