Docs/manual.texi

    fixed bug
sql/sql_repl.cc
    undid virtual master change
parent 2bd1476a
...@@ -34306,6 +34306,8 @@ can be fixed by a simple repair. In this case you have to do: ...@@ -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; ALTER TABLE table MAX_ROWS=xxx AVG_ROW_LENGTH=yyy;
@end example @end example
@end itemize
In the other cases, you must repair your tables. @code{myisamchk} In the other cases, you must repair your tables. @code{myisamchk}
can usually detect and fix most things that go wrong. can usually detect and fix most things that go wrong.
...@@ -695,10 +695,7 @@ int change_master(THD* thd) ...@@ -695,10 +695,7 @@ int change_master(THD* thd)
if(lex_mi->host) 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)); 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) if(lex_mi->user)
strmake(glob_mi.user, lex_mi->user, sizeof(glob_mi.user)); strmake(glob_mi.user, lex_mi->user, sizeof(glob_mi.user));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment