mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Docs/manual.texi
fixed bug sql/sql_repl.cc undid virtual master change
This commit is contained in:
@ -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)
|
|||||||
|
|
||||||
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));
|
||||||
|
Reference in New Issue
Block a user