1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03: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:
unknown
2003-11-28 01:57:05 +03:00
parent b5907ec192
commit 047f646770

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