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
2e4dc5a3
Commit
2e4dc5a3
authored
Mar 04, 2015
by
Kristian Nielsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after-merge fixes
parent
95d72088
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
sql/rpl_gtid.cc
sql/rpl_gtid.cc
+1
-1
sql/rpl_rli.cc
sql/rpl_rli.cc
+0
-1
sql/slave.cc
sql/slave.cc
+1
-1
sql/sql_repl.cc
sql/sql_repl.cc
+3
-3
No files found.
sql/rpl_gtid.cc
View file @
2e4dc5a3
...
...
@@ -1178,7 +1178,7 @@ rpl_binlog_state::load(rpl_slave_state *slave_pos)
mysql_mutex_lock
(
&
LOCK_binlog_state
);
reset_nolock
();
if
(
slave_pos
->
iterate
(
rpl_binlog_state_load_cb
,
this
,
NULL
,
0
))
if
(
slave_pos
->
iterate
(
rpl_binlog_state_load_cb
,
this
,
NULL
,
0
,
false
))
res
=
true
;
mysql_mutex_unlock
(
&
LOCK_binlog_state
);
return
res
;
...
...
sql/rpl_rli.cc
View file @
2e4dc5a3
...
...
@@ -1421,7 +1421,6 @@ void
Relay_log_info
::
free_inuse_relaylog
(
inuse_relaylog
*
ir
)
{
my_free
(
ir
->
relay_log_state
);
my_atomic_rwlock_destroy
(
&
ir
->
inuse_relaylog_atomic_lock
);
my_free
(
ir
);
}
...
...
sql/slave.cc
View file @
2e4dc5a3
...
...
@@ -4722,7 +4722,7 @@ log '%s' at position %s, relay log '%s' position: %s%s", RPL_LOG_NAME,
ulong
domain_count
;
flush_relay_log_info
(
rli
);
if
(
opt_slave_parallel_threads
>
0
)
if
(
mi
->
using_parallel
()
)
{
/*
In parallel replication GTID mode, we may stop with different domains
...
...
sql/sql_repl.cc
View file @
2e4dc5a3
...
...
@@ -2335,12 +2335,12 @@ static int send_format_descriptor_event(binlog_send_info *info,
slave connects at a position past this event, it means that it
already received and handled it in a previous connect).
*/
if
(
!
info
.
gtid_state
.
is_pos_reached
())
if
(
!
info
->
gtid_state
.
is_pos_reached
())
{
int4store
((
char
*
)
packet
->
ptr
()
+
LOG_EVENT_MINIMAL_HEADER_LEN
+
ST_CREATED_OFFSET
+
ev_offset
,
(
ulong
)
0
);
if
(
info
.
current_checksum_alg
!=
BINLOG_CHECKSUM_ALG_OFF
&&
info
.
current_checksum_alg
!=
BINLOG_CHECKSUM_ALG_UNDEF
)
if
(
info
->
current_checksum_alg
!=
BINLOG_CHECKSUM_ALG_OFF
&&
info
->
current_checksum_alg
!=
BINLOG_CHECKSUM_ALG_UNDEF
)
fix_checksum
(
packet
,
ev_offset
);
}
}
...
...
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