From c6ceb04bd82c5e9958d213b54843b8635741381a Mon Sep 17 00:00:00 2001 From: "sasha@mysql.sashanet.com" <> Date: Thu, 3 May 2001 16:01:13 -0600 Subject: [PATCH] Docs/manual.texi fixed bug sql/sql_repl.cc undid virtual master change --- Docs/manual.texi | 2 ++ sql/sql_repl.cc | 3 --- 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));