Skip to content

Commit

Permalink
Bug#17276183:5.6 SLAVE FAILS TO CORRECTLY READ BINLOG V3
Browse files Browse the repository at this point in the history
EVENTS

Merge from mysql-5.6 to mysql-trunk.
  • Loading branch information
Sujatha Sivakumar committed Oct 6, 2014
2 parents 23c6b66 + 66f9e96 commit d350e38
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sql/rpl_slave.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2143,6 +2143,15 @@ static int get_master_version_and_clock(MYSQL* mysql, Master_info* mi)
goto err;
}

if (mi->get_mi_description_event()->binlog_version < 4 &&
opt_slave_sql_verify_checksum)
{
sql_print_warning("Found a master with MySQL server version older than "
"5.0. With checksums enabled on the slave, replication "
"might not work correctly. To ensure correct "
"replication, restart the slave server with "
"--slave_sql_verify_checksum=0.");
}
/*
FD_q's (A) is set initially from RL's (A): FD_q.(A) := RL.(A).
It's necessary to adjust FD_q.(A) at this point because in the following
Expand Down

0 comments on commit d350e38

Please sign in to comment.