2 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
4 --let $include_filename= install_semisync.inc
5 --source include/begin_include_file.inc
7 --source include/not_embedded.inc
8 --source include/not_gtid_enabled.inc
9 --source include/have_semisync_plugin.inc
14 --let $value = query_get_value(show variables like
'rpl_semi_sync_master_enabled', Value, 1)
15 if ($value == No such row)
18 eval INSTALL PLUGIN rpl_semi_sync_master SONAME
'$SEMISYNC_MASTER_PLUGIN';
19 SET GLOBAL rpl_semi_sync_master_enabled = 1;
25 --source include/stop_slave_io.inc
28 --let $value= query_get_value(show variables like
'rpl_semi_sync_slave_enabled', Value, 1)
29 if ($value == No such row)
32 eval INSTALL PLUGIN rpl_semi_sync_slave SONAME
'$SEMISYNC_SLAVE_PLUGIN';
33 SET GLOBAL rpl_semi_sync_slave_enabled = 1;
36 --source include/start_slave_io.inc
39 --source include/end_include_file.inc