1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Docs/manual.texi

fixed bug
sql/sql_repl.cc
    undid virtual master change
This commit is contained in:
sasha@mysql.sashanet.com
2001-05-03 16:01:13 -06:00
parent 2bd1476a32
commit c6ceb04bd8
2 changed files with 2 additions and 3 deletions

View File

@ -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.

View File

@ -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));