summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorunknown <rafal@quant.(none)>2007-05-28 21:14:57 +0200
committerunknown <rafal@quant.(none)>2007-05-28 21:14:57 +0200
commit61c0e4c01c06ef8917f09d6fee20026b6e62e5f7 (patch)
tree8abc21e2ce42cc875726576f0571f6d3d4002071 /sql/slave.cc
parentaae1ff670bd847feb0ecf2352dc8c9a156318c72 (diff)
downloadmariadb-git-61c0e4c01c06ef8917f09d6fee20026b6e62e5f7.tar.gz
BUG#21132 (Slave fails to reconnect on update_slave_list)
This is a one liner which will fix semantics if SHOW SLAVE HOSTS to display the list of slaves currently registered on the host on which it was issued. sql/slave.cc: Remove call to update_slave_list() which was executing "SHOW SLAVE HOSTS" on master and populating slave_list based on the output.
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index f89a56e2087..05d5499ecb8 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -2020,7 +2020,7 @@ connected:
on with life.
*/
thd->proc_info = "Registering slave on master";
- if (register_slave_on_master(mysql) || update_slave_list(mysql, mi))
+ if (register_slave_on_master(mysql))
goto err;
}