summaryrefslogtreecommitdiff
path: root/sql/sql_repl.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-08-29 20:28:06 +0300
committerMonty <monty@mariadb.org>2016-08-29 20:28:06 +0300
commit1c91569274219ac612fcfdea4764311e2377977c (patch)
tree3d00dcc739c364f5da4c202e4f631791d7b62496 /sql/sql_repl.h
parente139d971ecbffe00d9a5626fdcd69aa1b9ba0f2c (diff)
downloadmariadb-git-1c91569274219ac612fcfdea4764311e2377977c.tar.gz
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.
Diffstat (limited to 'sql/sql_repl.h')
-rw-r--r--sql/sql_repl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_repl.h b/sql/sql_repl.h
index e2000bbca73..4105bdddf4e 100644
--- a/sql/sql_repl.h
+++ b/sql/sql_repl.h
@@ -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;