summaryrefslogtreecommitdiff
path: root/plugin/semisync/semisync_slave_plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/semisync/semisync_slave_plugin.cc')
-rw-r--r--plugin/semisync/semisync_slave_plugin.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/semisync/semisync_slave_plugin.cc b/plugin/semisync/semisync_slave_plugin.cc
index 66073f8a5e6..5aa32cdfd5f 100644
--- a/plugin/semisync/semisync_slave_plugin.cc
+++ b/plugin/semisync/semisync_slave_plugin.cc
@@ -29,6 +29,8 @@ ReplSemiSyncSlave repl_semisync;
*/
bool semi_sync_need_reply= false;
+C_MODE_START
+
int repl_semi_reset_slave(Binlog_relay_IO_param *param)
{
// TODO: reset semi-sync slave status here
@@ -124,6 +126,7 @@ int repl_semi_slave_io_end(Binlog_relay_IO_param *param)
return repl_semisync.slaveStop(param);
}
+C_MODE_END
static void fix_rpl_semi_sync_slave_enabled(MYSQL_THD thd,
SYS_VAR *var,