summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-05-03 16:01:13 -0600
committerunknown <sasha@mysql.sashanet.com>2001-05-03 16:01:13 -0600
commit9167c803120d616191aee7aa5d9d620683b2a857 (patch)
treec5a0086666a37740663e93f206b7c0e9143b2fd5
parenta605a9f0b61c4fc11c92b511676fdcbb31e4f978 (diff)
downloadmariadb-git-9167c803120d616191aee7aa5d9d620683b2a857.tar.gz
Docs/manual.texi
fixed bug sql/sql_repl.cc undid virtual master change Docs/manual.texi: fixed bug sql/sql_repl.cc: undid virtual master change
-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));