Commit 48b32bdd authored by unknown's avatar unknown

BUG#21123 (Slave fails to reconnect on update_slave_list):

 Fixing comments and adding error message if slave fails to register
 on master.


sql/slave.cc:
  Failing to register on master is a fatal error.
parent 61c0e4c0
......@@ -2016,12 +2016,13 @@ connected:
{
/*
Register ourselves with the master.
If fails, this is not fatal - we just print the error message and go
on with life.
*/
thd->proc_info = "Registering slave on master";
if (register_slave_on_master(mysql))
{
sql_print_error("Slave I/O thread couldn't register on master");
goto err;
}
}
DBUG_PRINT("info",("Starting reading binary log from master"));
......
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