mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Set server_id to 1 by default and disallow to set it to 0
This makes it easier to setup master as on only have to set --log-bin. Before this patch if one did set up the master with just --log-bin, slaves could not connect until server_id was set on the master, which could be both confusing and hard to do.
This commit is contained in:
@ -36,7 +36,6 @@ struct slave_connection_state;
|
||||
|
||||
extern my_bool opt_show_slave_auth_info;
|
||||
extern char *master_host, *master_info_file;
|
||||
extern bool server_id_supplied;
|
||||
|
||||
extern int max_binlog_dump_events;
|
||||
extern my_bool opt_sporadic_binlog_dump_fail;
|
||||
|
Reference in New Issue
Block a user