mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
no need to zero-initialize mysql->master->{rpl_pivot, options.rpl_parse,
options.rpl_probe} as they are zero-initialized in spawn_init()
This commit is contained in:
parent
48ef39ee65
commit
3b9eb09276
1 changed files with 0 additions and 3 deletions
|
@ -2289,9 +2289,6 @@ STDCALL mysql_set_master(MYSQL* mysql, const char* host,
|
|||
mysql_close(mysql->master);
|
||||
if (!(mysql->master = spawn_init(mysql, host, port, user, passwd)))
|
||||
return 1;
|
||||
mysql->master->rpl_pivot = 0;
|
||||
mysql->master->options.rpl_parse = 0;
|
||||
mysql->master->options.rpl_probe = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue