Commit cbace0b7 authored by unknown's avatar unknown

Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint

into  mysql.com:/usr/home/ram/work/bug10798/my50-bug10798


sql/slave.cc:
  Auto merged
parents a4f74b86 f27ea1b1
...@@ -4836,7 +4836,13 @@ Log_event* next_event(RELAY_LOG_INFO* rli) ...@@ -4836,7 +4836,13 @@ Log_event* next_event(RELAY_LOG_INFO* rli)
hot_log=0; // Using old binary log hot_log=0; // Using old binary log
} }
} }
/*
As there is no guarantee that the relay is open (for example, an I/O
error during a write by the slave I/O thread may have closed it), we
have to test it.
*/
if (!my_b_inited(cur_log))
goto err;
#ifndef DBUG_OFF #ifndef DBUG_OFF
{ {
/* This is an assertion which sometimes fails, let's try to track it */ /* This is an assertion which sometimes fails, let's try to track it */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment