#At file:///home/acorreia/workspace.sun/repository.mysql/bzrwork/wl-4858/mysql-6.0-bugteam-push/ based on revid:alfranio.correia@stripped
3410 Alfranio Correia 2009-06-29
BUG#45820 Failures while syncing the relay-log.info are omitted
The call to my_sync in Relay_log_info_file::do_flush_info() was
not reporting any failure.
modified:
sql/rpl_rli_file.cc
=== modified file 'sql/rpl_rli_file.cc'
--- a/sql/rpl_rli_file.cc 2009-06-29 10:44:27 +0000
+++ b/sql/rpl_rli_file.cc 2009-06-29 11:07:33 +0000
@@ -264,7 +264,7 @@ int Relay_log_info_file::do_flush_info()
++(sync_counter) >= sync_relayloginfo_period)
{
if (my_sync(info_fd, MYF(MY_WME)))
- error=0;
+ error= 1;
sync_counter= 0;
}
/* Flushing the relay log is done by the slave I/O thread */
Attachment: [text/bzr-bundle]
| Thread |
|---|
| • bzr commit into mysql-pe branch (alfranio.correia:3410) Bug#45820 | Alfranio Correia | 29 Jun |