mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user