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
6f43d3ca
Commit
6f43d3ca
authored
Oct 18, 2013
by
Luis Soares
Browse files
Options
Browse Files
Download
Plain Diff
BUG#17460821
Automerged from mysql-5.5 bug branch into latest mysql-5.5.
parents
2ba0a24e
62e39c39
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
plugin/semisync/semisync_master.cc
plugin/semisync/semisync_master.cc
+11
-7
No files found.
plugin/semisync/semisync_master.cc
View file @
6f43d3ca
...
...
@@ -482,6 +482,9 @@ void ReplSemiSyncMaster::remove_slave()
lock
();
rpl_semi_sync_master_clients
--
;
/* Only switch off if semi-sync is enabled and is on */
if
(
getMasterEnabled
()
&&
is_on
())
{
/* If user has chosen not to wait if no semi-sync slave available
and the last semi-sync slave exits, turn off semi-sync on master
immediately.
...
...
@@ -489,6 +492,7 @@ void ReplSemiSyncMaster::remove_slave()
if
(
!
rpl_semi_sync_master_wait_no_slave
&&
rpl_semi_sync_master_clients
==
0
)
switch_off
();
}
unlock
();
}
...
...
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