Skip to content

Commit

Permalink
Merge pull request #8 from laurynas-biveinis/bug1420303
Browse files Browse the repository at this point in the history
Fix bug 1420303 (binlog cache I/O error might be reported twice).
(cherry picked from commit 083ddba)
  • Loading branch information
laurynas-biveinis committed Feb 24, 2015
1 parent ce100af commit 9b99e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/binlog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6082,9 +6082,9 @@ bool MYSQL_BIN_LOG::write_cache(THD *thd, binlog_cache_data *cache_data)

err:
if (!write_error)
write_error= 1;
{
char errbuf[MYSYS_STRERROR_SIZE];
write_error= 1;
sql_print_error(ER(ER_ERROR_ON_WRITE), name,
errno, my_strerror(errbuf, sizeof(errbuf), errno));
}
Expand Down

0 comments on commit 9b99e97

Please sign in to comment.