diff --git a/server/modules/routing/avrorouter/sql.cc b/server/modules/routing/avrorouter/sql.cc index 53d8808b4..9c6ad1d43 100644 --- a/server/modules/routing/avrorouter/sql.cc +++ b/server/modules/routing/avrorouter/sql.cc @@ -99,7 +99,7 @@ bool SQL::replicate(int server_id) return false; } - mariadb_rpl_optionsv(m_rpl, MARIADB_RPL_SERVER_ID, &server_id); + mariadb_rpl_optionsv(m_rpl, MARIADB_RPL_SERVER_ID, server_id); if (mariadb_rpl_open(m_rpl)) {