summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Docs/manual.texi2
-rw-r--r--sql/sql_repl.cc3
2 files changed, 2 insertions, 3 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi
index 3b76a6aeeba..7305567097a 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -34306,6 +34306,8 @@ can be fixed by a simple repair. In this case you have to do:
ALTER TABLE table MAX_ROWS=xxx AVG_ROW_LENGTH=yyy;
@end example
+@end itemize
+
In the other cases, you must repair your tables. @code{myisamchk}
can usually detect and fix most things that go wrong.
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index ed41bf53692..e5039d118be 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -695,10 +695,7 @@ int change_master(THD* thd)
if(lex_mi->host)
{
- if(glob_mi.virtual_master)
- glob_mi.close_virtual_master();
strmake(glob_mi.host, lex_mi->host, sizeof(glob_mi.host));
- glob_mi.virtual_master = (glob_mi.host[0] == FN_LIBCHAR);
}
if(lex_mi->user)
strmake(glob_mi.user, lex_mi->user, sizeof(glob_mi.user));