summaryrefslogtreecommitdiff
path: root/mysql-test/include/uninstall_semisync.inc
blob: 11668d1db97abc3a389065634ebd9a666108a509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
#
--let $include_filename= uninstall_semisync.inc
--source include/begin_include_file.inc

--disable_query_log
--connection slave
--source include/stop_slave_io.inc

# Uninstall rpl_semi_sync_slave first
--disable_warnings
UNINSTALL PLUGIN rpl_semi_sync_slave;

--connection master
UNINSTALL PLUGIN rpl_semi_sync_master;
--enable_warnings

--connection slave
START SLAVE IO_THREAD;
--source include/wait_for_slave_io_to_start.inc
--enable_query_log

--source include/end_include_file.inc