diff --git a/server/modules/routing/binlog/blr_slave.c b/server/modules/routing/binlog/blr_slave.c index b3fce8ec2..b958f5cd3 100644 --- a/server/modules/routing/binlog/blr_slave.c +++ b/server/modules/routing/binlog/blr_slave.c @@ -260,7 +260,7 @@ blr_slave_request(ROUTER_INSTANCE *router, ROUTER_SLAVE *slave, GWBUF *queue) case COM_QUIT: MXS_DEBUG("COM_QUIT received from slave with server_id %d", slave->serverid); - break; + return 1; default: blr_send_custom_error(slave->dcb, 1, 0, "You have an error in your SQL syntax; Check the "