• Monty's avatar
    Set server_id to 1 by default and disallow to set it to 0 · 1c915692
    Monty authored
    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.
    1c915692
sql_repl.cc 139 KB