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:
konstantin@mysql.com 2003-11-28 01:57:05 +03:00
parent 48ef39ee65
commit 3b9eb09276

View file

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