+7
−0
Loading
The relay log may not be open for some reason (e.g. disk error) after rotation,
and using it causes the slave crash.
Fix: check we have it open before access, return error otherwise.
sql/slave.cc:
Fix for bug #10798: If relay log fails to rotate, slave will crash after
- check if the relay log is open before any access.