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
54c58cea
Commit
54c58cea
authored
Jan 31, 2011
by
Alfranio Correia
Browse files
Options
Browse Files
Download
Plain Diff
merge mysql-5.1 (local) --> mysql-5.1
parents
ee36bd7f
235e10d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
mysql-test/suite/rpl/t/disabled.def
mysql-test/suite/rpl/t/disabled.def
+0
-1
sql/sql_repl.cc
sql/sql_repl.cc
+8
-1
No files found.
mysql-test/suite/rpl/t/disabled.def
View file @
54c58cea
...
...
@@ -11,7 +11,6 @@
##############################################################################
rpl_row_create_table : Bug#51574 Feb 27 2010 andrei failed different way than earlier with bug#45576
rpl_log_pos : BUG#55675 Sep 10 2010 27 2010 alfranio rpl.rpl_log_pos fails sporadically with error binlog truncated in the middle
rpl_get_master_version_and_clock : Bug#59178 Jan 05 2011 joro Valgrind warnings rpl_get_master_version_and_clock
rpl_row_until : BUG#59543 Jan 26 2011 alfranio Replication test from eits suite rpl_row_until times out
rpl_stm_until : BUG#59543 Jan 26 2011 alfranio Replication test from eits suite rpl_row_until times out
sql/sql_repl.cc
View file @
54c58cea
...
...
@@ -545,8 +545,10 @@ impossible position";
while
(
!
net
->
error
&&
net
->
vio
!=
0
&&
!
thd
->
killed
)
{
my_off_t
prev_pos
=
pos
;
while
(
!
(
error
=
Log_event
::
read_log_event
(
&
log
,
packet
,
log_lock
)))
{
prev_pos
=
my_b_tell
(
&
log
);
#ifndef DBUG_OFF
if
(
max_binlog_dump_events
&&
!
left_events
--
)
{
...
...
@@ -613,8 +615,13 @@ impossible position";
here we were reading binlog that was not closed properly (as a result
of a crash ?). treat any corruption as EOF
*/
if
(
binlog_can_be_corrupted
&&
error
!=
LOG_READ_MEM
)
if
(
binlog_can_be_corrupted
&&
error
!=
LOG_READ_MEM
&&
error
!=
LOG_READ_EOF
)
{
my_b_seek
(
&
log
,
prev_pos
);
error
=
LOG_READ_EOF
;
}
/*
TODO: now that we are logging the offset, check to make sure
the recorded offset and the actual match.
...
...
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