mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
cleanup:
no need to set rpl_parse, rpl_probe and rpl_pivot to zero as whole mysql structure is bzeroed in mysql_init(0) few lines before
This commit is contained in:
@ -2276,8 +2276,6 @@ static MYSQL* spawn_init(MYSQL* parent, const char* host,
|
|||||||
else if (parent->options.db)
|
else if (parent->options.db)
|
||||||
child->options.db = my_strdup(parent->options.db, MYF(0));
|
child->options.db = my_strdup(parent->options.db, MYF(0));
|
||||||
|
|
||||||
child->options.rpl_parse = child->options.rpl_probe = child->rpl_pivot = 0;
|
|
||||||
|
|
||||||
return child;
|
return child;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user