diff options
author | unknown <Li-Bing.Song@sun.com> | 2009-09-18 16:20:29 +0800 |
---|---|---|
committer | unknown <Li-Bing.Song@sun.com> | 2009-09-18 16:20:29 +0800 |
commit | 64badb5f269850d0111aec29788aff7e181c195d (patch) | |
tree | 38e904f3685afb689ad2fa4184fb21881a295168 /mysql-test/r/bug46760.result | |
parent | ce55f84dcc0e984d8b535e32c9bc1ceaaf049791 (diff) | |
download | mariadb-git-64badb5f269850d0111aec29788aff7e181c195d.tar.gz |
Bug #42914 Log event that larger than max_allowed_packet results in stop of slave I/O thread,
But there is no Last_IO_Error reported.
On the master, if a binary log event is larger than max_allowed_packet,
ER_MASTER_FATAL_ERROR_READING_BINLOG and the specific reason of this error is
sent to a slave when it requests a dump from the master, thus leading
the I/O thread to stop.
On a slave, the I/O thread stops when receiving a packet larger than max_allowed_packet.
In both cases, however, there was no Last_IO_Error reported.
This patch adds code to report the Last_IO_Error and exact reason before stopping the
I/O thread and also reports the case the out memory pops up while
handling packets from the master.
sql/sql_repl.cc:
The master send the Specific reasons instead of "error reading log entry" to the slave which is requesting a dump.
if an fatal error is returned by read_log_event function.
Diffstat (limited to 'mysql-test/r/bug46760.result')
0 files changed, 0 insertions, 0 deletions