diff options
author | unknown <rafal@quant.(none)> | 2007-05-28 21:14:57 +0200 |
---|---|---|
committer | unknown <rafal@quant.(none)> | 2007-05-28 21:14:57 +0200 |
commit | 61c0e4c01c06ef8917f09d6fee20026b6e62e5f7 (patch) | |
tree | 8abc21e2ce42cc875726576f0571f6d3d4002071 /sql/slave.cc | |
parent | aae1ff670bd847feb0ecf2352dc8c9a156318c72 (diff) | |
download | mariadb-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.cc | 2 |
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; } |