Bug #886 Unexpected error message when STOP SLAVE
Submitted: 22 Jul 2003 7:04 Modified: 26 Aug 2003 7:48
Reporter: Guilhem Bichot Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Replication Severity:S2 (Serious)
Version:4.1 OS:Any (all)
Assigned to: Alexey Botchkov CPU Architecture:Any

[22 Jul 2003 7:04] Guilhem Bichot
Description:
Doing STOP SLAVE:
030722 13:20:35  Error reading packet from server: Lost connection to MySQL server during query (server_errno=
2013)
030722 13:20:35  Slave I/O thread killed while reading event
030722 13:20:35  Slave I/O thread exiting, read up to log 'master-bin.000001', position 79

The first line was not present in 4.0, and is annoying.

How to repeat:
Do START SLAVE and STOP SLAVE.

Suggested fix:
Sent an email to Holyfoot about this, as it seems that code works differently in mini_client.cc and client.c (mini_client.cc tests socket_errno).
[28 Jul 2003 9:15] Alexey Botchkov
changeset 1.1582
[26 Aug 2003 7:48] Michael Widenius
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html