Commit 319159ae authored by unknown's avatar unknown

no need to zero-initialize mysql->master->{rpl_pivot, options.rpl_parse,

options.rpl_probe} as they are zero-initialized in spawn_init()
parent 02d659a9
......@@ -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;
}
......
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