config root man

Current Path : /usr/opt/mysql57/mysql-test/suite/group_replication/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/opt/mysql57/mysql-test/suite/group_replication/t/gr_uninstall_while_disabled.test

################################################################################
# Validate that when Group Replication is disabled command INSTALL and UNINSTALL
# plugin do behave properly.
#
# Test:
# 0. The test requires one server.
# 1. Uninstall plugin while it is disabled.
# 2. Try install plugin while it is disabled.
#    Then uninstall it again twice.
################################################################################
--source include/force_restart.inc
--source ../inc/have_group_replication_plugin_base.inc


--echo
--echo ############################################################
--echo # 1. Uninstall plugin while it is disabled.
--echo #    See group_replication_uninstall_while_disabled-master.opt
--echo #    file.
UNINSTALL PLUGIN group_replication;


--echo
--echo ############################################################
--echo # 2. Try install plugin while it is disabled.
--echo #    Then uninstall it again twice.
--replace_result $GROUP_REPLICATION GROUP_REPLICATION
--eval INSTALL PLUGIN group_replication SONAME '$GROUP_REPLICATION'
UNINSTALL PLUGIN group_replication;

--error ER_SP_DOES_NOT_EXIST
UNINSTALL PLUGIN group_replication;

Man Man