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
92222add
Commit
92222add
authored
Oct 17, 2013
by
Luis Soares
Browse files
Options
Browse Files
Download
Plain Diff
BUG#17508351
Merging mysql-5.5 bug branch into latest mysql-5.5.
parents
4c78a6db
e77f6072
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
plugin/semisync/semisync_master.cc
plugin/semisync/semisync_master.cc
+2
-8
No files found.
plugin/semisync/semisync_master.cc
View file @
92222add
...
...
@@ -894,10 +894,7 @@ int ReplSemiSyncMaster::updateSyncHeader(unsigned char *packet,
* target, do not request replies from the slave.
*/
if
(
!
getMasterEnabled
()
||
!
is_semi_sync_slave
())
{
sync
=
false
;
return
0
;
}
function_enter
(
kWho
);
...
...
@@ -905,15 +902,12 @@ int ReplSemiSyncMaster::updateSyncHeader(unsigned char *packet,
/* This is the real check inside the mutex. */
if
(
!
getMasterEnabled
())
{
sync
=
false
;
goto
l_end
;
}
goto
l_end
;
// sync= false at this point in time
if
(
is_on
())
{
/* semi-sync is ON */
sync
=
false
;
/*
No sync unless a transaction is involved. */
/* sync= false;
No sync unless a transaction is involved. */
if
(
reply_file_name_inited_
)
{
...
...
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