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
64e53a0f
Commit
64e53a0f
authored
Jun 05, 2013
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix two small problems in previous push.
parent
5cb486d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sql/slave.cc
sql/slave.cc
+2
-2
sql/sql_repl.h
sql/sql_repl.h
+1
-1
No files found.
sql/slave.cc
View file @
64e53a0f
...
...
@@ -4970,9 +4970,9 @@ static int queue_event(Master_info* mi,const char* buf, ulong event_len)
(If we queued such an event, and it was the first format_description
event after master restart, the slave SQL thread would think that
the partial event group before it in the relay log was from a
previous master crash and should be rolled back.
previous master crash and should be rolled back
)
.
*/
if
(
unlikely
(
mi
->
gtid_reconnect_event_skip_count
))
if
(
unlikely
(
mi
->
gtid_reconnect_event_skip_count
&&
!
mi
->
gtid_event_seen
))
gtid_skip_enqueue
=
true
;
/*
...
...
sql/sql_repl.h
View file @
64e53a0f
...
...
@@ -32,7 +32,7 @@ typedef struct st_slave_info
THD
*
thd
;
}
SLAVE_INFO
;
class
slave_connection_state
;
struct
slave_connection_state
;
extern
my_bool
opt_show_slave_auth_info
;
extern
char
*
master_host
,
*
master_info_file
;
...
...
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